NETWORK_SETTINGS A dictionary of the values of the network settings
SKIP_HARDWARE_REQUIREMENT_CHECK Whether or not we should skip hardware
requirement checks
-
+ NODE_SESSION The session value returned from BootGetNodeDetails
+
Return 1 if able to contact PLC and get node info.
Raise a BootManagerException if anything fails.
"""
vars['BOOT_STATE']= details['boot_state']
vars['NODE_MODEL']= string.strip(details['model'])
-
+ vars['NODE_SESSION']= details['session']
+
log.write( "Successfully retrieved node record.\n" )
log.write( "Current boot state: %s\n" % vars['BOOT_STATE'] )
log.write( "Node make/model: %s\n" % vars['NODE_MODEL'] )
# only nodes that have the node_id specified directly in the configuration
# file can change their mac address
- if BOOT_CD_VERSION[0] == 3 and WAS_NODE_ID_IN_CONF == 1:
+ if WAS_NODE_ID_IN_CONF == 1:
network['mac']= NETWORK_SETTINGS['mac']
network['gateway']= NETWORK_SETTINGS['gateway']