From: tierno Date: Mon, 23 Jan 2017 12:07:09 +0000 (+0100) Subject: fixes 164 openmano client fails without vpci at VNFD X-Git-Tag: v1.1.0~17 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=933fea55aa3f81496a26fb721d0fcc28b424140a;p=osm%2FRO.git fixes 164 openmano client fails without vpci at VNFD Change-Id: I6fb3fd126aed0d9a2a6fd890beb25120d8f18f91 Signed-off-by: tierno --- diff --git a/openmano b/openmano index 66c12610..fc60035b 100755 --- a/openmano +++ b/openmano @@ -28,7 +28,7 @@ openmano client used to interact with openmano-server (openmanod) ''' __author__="Alfonso Tierno, Gerardo Garcia" __date__ ="$09-oct-2014 09:09:48$" -__version__="0.4.10-r516" +__version__="0.4.11-r517" version_date="Jan 2017" from argcomplete.completers import FilesCompleter @@ -357,7 +357,7 @@ def vnf_list(args): print " External interfaces:" for interface in vnf['external-connections']: print " %s %s %s %s" %(interface['external_name'].ljust(20), interface['vm_name'].ljust(20), interface['internal_name'].ljust(20), \ - interface['vpci'].ljust(14)) + interface.get('vpci',"").ljust(14)) else: print content['error']['description'] if args.verbose: