add rest api
authorhadik3r <hadi.razzaghi@uni-paderborn.de>
Mon, 27 Jun 2016 16:55:53 +0000 (18:55 +0200)
committerhadik3r <hadi.razzaghi@uni-paderborn.de>
Mon, 27 Jun 2016 16:55:53 +0000 (18:55 +0200)
src/emuvim/cli/son_emu_cli.py

index 24cf5da..dc3e73a 100755 (executable)
@@ -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:])