openmano client v0.4.6 adapted to the change in instance-scenario-list descriptor
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/openmano b/openmano
index 9697bbc..818e717 100755
--- a/openmano
+++ b/openmano
@@ -28,8 +28,8 @@
'''
__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 @@
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:"