def static_uplink_detect(self, veth):
LOG.info("<STR_LIT>", {'<STR_LIT>': veth})<EOL>if self.static_uplink_first:<EOL><INDENT>self.static_uplink_first = False<EOL>if self.phy_uplink is not None and (<EOL>self.phy_uplink != self.static_uplink_port):<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT><DEDENT>if veth is None:<EOL><INDENT>return self.static_uplink_port<EOL><DEDENT>else:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>
Return the static uplink based on argument passed.

        The very first time, this function is called, it returns the uplink
        port read from a file.
        After restart, when this function is called the first time, it
        returns 'normal' assuming a veth is passed to this function which will
        be the case if uplink processing is successfully done.
        If user modified the uplink configuration and restarted, a 'down'
        will be returned to clear the old uplink.