change scenario examples to schema version 2
[osm/RO.git] / openmano
index 938d13d..93c5d6b 100755 (executable)
--- a/openmano
+++ b/openmano
@@ -766,7 +766,7 @@ def tenant_create(args):
 def tenant_list(args):
     #print "tenant-list",args
     if args.name:
-        toshow = _get_item_uuid("vnfs", args.name)
+        toshow = _get_item_uuid("tenants", args.name)
         URLrequest = "http://%s:%s/openmano/tenants/%s" %(mano_host, mano_port, toshow)
     else:
         URLrequest = "http://%s:%s/openmano/tenants" %(mano_host, mano_port)
@@ -1018,7 +1018,7 @@ def datacenter_netmap_action(args):
         elif args.all: 
             force_text="Delete all default netmaps from datacenter '%s' (y/N)? " % (datacenter)
         else:
-            print "you must a netmap name or the option --all"
+            print "you must specify a netmap name or the option --all"
             return 1
         if not args.force:
             r = raw_input(force_text)