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)
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)