provide more info at ns show

Change-Id: I2d9962a3ec43db9d9780c459fe0da26af9d5cbd2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/openmanod b/openmanod
index a078e9f..22bcacc 100755
--- a/openmanod
+++ b/openmanod
@@ -48,7 +48,7 @@
 
 __author__ = "Alfonso Tierno, Gerardo Garcia, Pablo Montes"
 __date__ = "$26-aug-2014 11:09:29$"
-__version__ = "0.5.49-r559"
+__version__ = "0.5.50-r560"
 version_date = "Jan 2018"
 database_version = 27      # expected database schema version
 
diff --git a/osm_ro/nfvo.py b/osm_ro/nfvo.py
index ccec6ce..5c0fefe 100644
--- a/osm_ro/nfvo.py
+++ b/osm_ro/nfvo.py
@@ -3019,8 +3019,7 @@
         for sce_vnf in sce_vnf_list:
             ssh_access = None
             if sce_vnf.get('mgmt_access'):
-                mgmt_access = yaml.load(sce_vnf['mgmt_access'])
-                ssh_access = mgmt_access['config-access']['ssh-access']
+                ssh_access = sce_vnf['mgmt_access'].get('config-access', {}).get('ssh-access')
             vnf_availability_zones = []
             for vm in sce_vnf['vms']:
                 vm_av = vm.get('availability_zone')
diff --git a/osm_ro/nfvo_db.py b/osm_ro/nfvo_db.py
index f47ad16..8b72e14 100644
--- a/osm_ro/nfvo_db.py
+++ b/osm_ro/nfvo_db.py
@@ -936,7 +936,7 @@
                     
                     # instance_vnfs
                     cmd = "SELECT iv.uuid as uuid, iv.vnf_id as vnf_id, sv.name as vnf_name, sce_vnf_id, datacenter_id"\
-                                " ,datacenter_tenant_id, v.mgmt_access "\
+                                " ,datacenter_tenant_id, v.mgmt_access, sv.member_vnf_index "\
                             " FROM instance_vnfs as iv left join sce_vnfs as sv "\
                                 "on iv.sce_vnf_id=sv.uuid join vnfs as v on iv.vnf_id=v.uuid" \
                             " WHERE iv.instance_scenario_id='{}'" \