original_docstring: Unbind the vhostuser subport in VPP.
docstring: Unbind the vhostuser subport in VPP.
docstring_tokens: Unbind the vhostuser subport in VPP .
code: def unbind_subport_on_host(self, subport):
          """Unbind the vhostuser subport in VPP."""
          if subport not in self.interfaces:
              LOG.debug('unknown subport %s unbinding request - ignored',
                        subport)
          else:
              LOG.debug("Unbinding subport %s on host", subport)
              parent_port = self.interfaces[subport]['parent_uuid']
              LOG.debug("Parent port id of subport %s is %s",
                        subport, parent_port)
              self.unbind_interface_on_host(subport)
              self.interfaces[parent_port]['trunk'].remove(subport)
code_tokens: def unbind_subport_on_host ( self , subport ) : if subport not in self . interfaces : LOG . debug ( 'unknown subport %s unbinding request - ignored' , subport ) else : LOG . debug ( "Unbinding subport %s on host" , subport ) parent_port = self . interfaces [ subport ] [ 'parent_uuid' ] LOG . debug ( "Parent port id of subport %s is %s" , subport , parent_port ) self . unbind_interface_on_host ( subport ) self . interfaces [ parent_port ] [ 'trunk' ] . remove ( subport )
short_docstring: Unbind the vhostuser subport in VPP.
short_docstring_tokens: Unbind the vhostuser subport in VPP .
comment: """Unbind the vhostuser subport in VPP."""