From: hadik3r Date: Mon, 27 Jun 2016 16:55:53 +0000 (+0200) Subject: add rest api X-Git-Tag: v3.1~111^2~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=525c1642f89d19fd9448c4e0069a1e3f58afd43c;p=osm%2Fvim-emu.git add rest api --- 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:])