vnf-list: printing vim account id 30/6230/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 29 May 2018 07:16:10 +0000 (09:16 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 1 Jun 2018 05:36:50 +0000 (07:36 +0200)
Change-Id: I8e2260f8baaf8fe44f27cde36e969d8334c293f8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/scripts/osm.py

index 78dd232..9e2304b 100755 (executable)
@@ -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(