tweaks for removal of slice manager
[tests.git] / system / Substrate.py
index 3eb57f8..f31bea6 100644 (file)
@@ -272,6 +272,13 @@ class Pool:
 
         command = "ping -c 1 {} 1 {}".format(Pool.ping_timeout_option, hostname)
         (status, output) = subprocess.getstatusoutput(command)
+#        print ("""
+#----------        
+#Ping command <{command}> has returned {status}
+#--
+#{output}
+#----------
+#        """.format(**locals()))
         return status == 0
 
 ####################
@@ -1293,7 +1300,6 @@ class Substrate:
        
         plc['sfa']['settings']['SFA_REGISTRY_HOST'] = plc['settings']['PLC_DB_HOST']
         plc['sfa']['settings']['SFA_AGGREGATE_HOST'] = plc['settings']['PLC_DB_HOST']
-        plc['sfa']['settings']['SFA_SM_HOST'] = plc['settings']['PLC_DB_HOST']
         plc['sfa']['settings']['SFA_DB_HOST'] = plc['settings']['PLC_DB_HOST']
         plc['sfa']['settings']['SFA_PLC_URL'] = 'https://{}:443/PLCAPI/'.format(plc['settings']['PLC_API_HOST'])
         return plc