3 Simple CLI client to interact with a running emulator.
5 The CLI offers different tools, e.g., compute, network, ...
6 Each of these tools is implemented as an independent Python
9 cli compute start dc1 my_name flavor_a
10 cli network create dc1 11.0.0.0/24
20 print "Usage: son-emu-cli <toolname> <arguments>"
22 if sys.argv[1] == "compute":
23 compute.main(sys.argv[2:])
24 elif sys.argv[1] == "network":
25 network.main(sys.argv[2:])
27 if __name__ == '__main__':