X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fscripts%2Fosm.py;h=9e2304bd85b89be1a4d3f4e91254636986c3f548;hb=bcb9d10de5f197bb9bbfc5d00010890de76f3cf9;hp=66d1f32e858a583a70ccbf90d4eb966a2ff75733;hpb=5b147d41b3cd9b4b10f3840853da69c7589354a5;p=osm%2Fosmclient.git diff --git a/osmclient/scripts/osm.py b/osmclient/scripts/osm.py index 66d1f32..9e2304b 100755 --- a/osmclient/scripts/osm.py +++ b/osmclient/scripts/osm.py @@ -238,6 +238,7 @@ def vnf_list(ctx, ns): 'ns id', 'vnf member index', 'vnfd name', + 'vim account id', 'ip address']) for vnfr in resp: name = vnfr['name'] if 'name' in vnfr else '-' @@ -247,6 +248,7 @@ def vnf_list(ctx, ns): vnfr['nsr-id-ref'], vnfr['member-vnf-index-ref'], vnfr['vnfd-ref'], + vnfr['vim-account-id'], vnfr['ip-address']]) else: table = PrettyTable( @@ -861,7 +863,7 @@ def vim_create(ctx, vim['vim-tenant-name'] = tenant vim['vim-type'] = account_type vim['description'] = description - vim ['config'] = config + vim['config'] = config if sdn_controller or sdn_port_mapping: ctx.obj.vim.create(name, vim, sdn_controller, sdn_port_mapping) else: