From 525c1642f89d19fd9448c4e0069a1e3f58afd43c Mon Sep 17 00:00:00 2001 From: hadik3r Date: Mon, 27 Jun 2016 18:55:53 +0200 Subject: [PATCH] add rest api --- src/emuvim/cli/son_emu_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emuvim/cli/son_emu_cli.py b/src/emuvim/cli/son_emu_cli.py index 24cf5da..dc3e73a 100755 --- a/src/emuvim/cli/son_emu_cli.py +++ b/src/emuvim/cli/son_emu_cli.py @@ -29,11 +29,11 @@ def main(): exit(0) if sys.argv[1] == "compute-zapi": compute.main(sys.argv[2:]) - elif sys.argv[1] == "network-zapi": + elif sys.argv[1] == "network": network.main(sys.argv[2:]) elif sys.argv[1] == "datacenter-zapi": datacenter.main(sys.argv[2:]) - elif sys.argv[1] == "monitor-zapi": + elif sys.argv[1] == "monitor": monitor.main(sys.argv[2:]) elif sys.argv[1] == "compute": restcom.main(sys.argv[2:]) -- 2.25.1