code: def static_uplink_detect(self, veth):
          
          LOG.info("In static_uplink_detect %(veth)s", {'veth': veth})
          if self.static_uplink_first:
              self.static_uplink_first = False
              if self.phy_uplink is not None and (
                 self.phy_uplink != self.static_uplink_port):
                  return 'down'
          if veth is None:
              return self.static_uplink_port
          else:
              return 'normal'
docs: 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.