def read_static_uplink(self):
if self.node_list is None or self.node_uplink_list is None:<EOL><INDENT>return<EOL><DEDENT>for node, port in zip(self.node_list.split('<STR_LIT:U+002C>'),<EOL>self.node_uplink_list.split('<STR_LIT:U+002C>')):<EOL><INDENT>if node.strip() == self.host_name:<EOL><INDENT>self.static_uplink = True<EOL>self.static_uplink_port = port.strip()<EOL>return<EOL><DEDENT><DEDENT>
Read the static uplink from file, if given.