projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vnf-list: printing vim account id
[osm/osmclient.git]
/
osmclient
/
scripts
/
osm.py
diff --git
a/osmclient/scripts/osm.py
b/osmclient/scripts/osm.py
index
78dd232
..
9e2304b
100755
(executable)
--- 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',
'ns id',
'vnf member index',
'vnfd name',
+ 'vim account id',
'ip address'])
for vnfr in resp:
name = vnfr['name'] if 'name' in vnfr else '-'
'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['nsr-id-ref'],
vnfr['member-vnf-index-ref'],
vnfr['vnfd-ref'],
+ vnfr['vim-account-id'],
vnfr['ip-address']])
else:
table = PrettyTable(
vnfr['ip-address']])
else:
table = PrettyTable(