From: tierno Date: Mon, 26 Sep 2016 13:38:55 +0000 (+0000) Subject: openmano client v0.4.6 adapted to the change in instance-scenario-list descriptor X-Git-Tag: v1.0.0~28 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=commitdiff_plain;h=5c7c4736c4abd81a1a43abada5c36b5fb79ced2a openmano client v0.4.6 adapted to the change in instance-scenario-list descriptor Signed-off-by: tierno --- diff --git a/openmano b/openmano index 9697bbce..818e7173 100755 --- a/openmano +++ b/openmano @@ -28,8 +28,8 @@ openmano client used to interact with openmano-server (openmanod) ''' __author__="Alfonso Tierno, Gerardo Garcia" __date__ ="$09-oct-2014 09:09:48$" -__version__="0.4.5-r489" -version_date="Aug 2016" +__version__="0.4.6-r500" +version_date="Sep 2016" from argcomplete.completers import FilesCompleter import os @@ -742,12 +742,12 @@ def instance_scenario_list(args): print "---------------------------------------" print "Internal nets:" for net in instance['nets']: - if not net['external']: + if net['created']: print " %s %s VIM ID: %s" %(net['uuid'].ljust(38), net['status'].ljust(12), net['vim_net_id']) print "---------------------------------------" print "External nets:" for net in instance['nets']: - if net['external']: + if not net['created']: print " %s %s VIM ID: %s" %(net['uuid'].ljust(38), net['status'].ljust(12), net['vim_net_id']) print "---------------------------------------" print "VM instances:"