original_docstring: Spot an uplink interface tag.
  
      Return (net_type, seg_id) or None if not an uplink tag
      
docstring: Spot an uplink interface tag.
  Return (net_type, seg_id) or None if not an uplink tag
docstring_tokens: Spot an uplink interface tag . Return ( net_type seg_id ) or None if not an uplink tag
code: def decode_uplink_tag(tag):
      """Spot an uplink interface tag.
  
      Return (net_type, seg_id) or None if not an uplink tag
      """
      if tag is None:
          return None  # not tagged
      m = re.match('^' + TAG_UPLINK_PREFIX + r'([^.]+)\.([^.]+)\.([^.]+)$', tag)
      return None if m is None else (m.group(1), m.group(2), m.group(3))
code_tokens: def decode_uplink_tag ( tag ) : if tag is None : return None m = re . match ( '^' + TAG_UPLINK_PREFIX + r'([^.]+)\.([^.]+)\.([^.]+)$' , tag ) return None if m is None else ( m . group ( 1 ) , m . group ( 2 ) , m . group ( 3 ) )
short_docstring: Spot an uplink interface tag.
short_docstring_tokens: Spot an uplink interface tag .
comment: """Spot an uplink interface tag.
  
      Return (net_type, seg_id) or None if not an uplink tag
      """$SEP$# not tagged