original_docstring: Assuming no local data, find bound ports in VPP
  
          This analyses the tags to identify ports in VPP that
          have been bound by this process before it restarted.
          
docstring: Assuming no local data, find bound ports in VPP
  This analyses the tags to identify ports in VPP that
  have been bound by this process before it restarted.
docstring_tokens: Assuming no local data find bound ports in VPP This analyses the tags to identify ports in VPP that have been bound by this process before it restarted .
code: def find_bound_ports(self):
          """Assuming no local data, find bound ports in VPP
  
          This analyses the tags to identify ports in VPP that
          have been bound by this process before it restarted.
          """
  
          bound_ports = set()
  
          for f in self.vpp.get_interfaces():
              # Find downlink ports
              port_id = decode_port_tag(f['tag'])
              if port_id is not None:
                  bound_ports.add(port_id)
  
          return bound_ports
code_tokens: def find_bound_ports ( self ) : bound_ports = set ( ) for f in self . vpp . get_interfaces ( ) : port_id = decode_port_tag ( f [ 'tag' ] ) if port_id is not None : bound_ports . add ( port_id ) return bound_ports
short_docstring: Assuming no local data, find bound ports in VPP
  This analyses the tags to identify ports in VPP that
  have been bound by this process before it restarted.
short_docstring_tokens: Assuming no local data find bound ports in VPP This analyses the tags to identify ports in VPP that have been bound by this process before it restarted .
comment: """Assuming no local data, find bound ports in VPP
  
          This analyses the tags to identify ports in VPP that
          have been bound by this process before it restarted.
          """$SEP$# Find downlink ports