Interface BridgeConfig

    • Method Detail

      • addBridge

        boolean addBridge​(BridgeDescription bridgeDescription)
        Adds a bridge with a given description.
        Parameters:
        bridgeDescription - bridge description
        Returns:
        true if succeeds, or false
      • deleteBridge

        void deleteBridge​(BridgeName bridgeName)
        Remove a bridge.
        Parameters:
        bridgeName - bridge name
      • getBridges

        java.util.Collection<BridgeDescription> getBridges()
        Remove a bridge.
        Returns:
        bridge collection
      • addPort

        void addPort​(BridgeName bridgeName,
                     java.lang.String portName)
        Adds a port to a given bridge.
        Parameters:
        bridgeName - bridge name
        portName - port name
      • deletePort

        void deletePort​(BridgeName bridgeName,
                        java.lang.String portName)
        Removes a port from a given bridge.
        Parameters:
        bridgeName - bridge name
        portName - port name
      • deletePorts

        default void deletePorts​(BridgeName bridgeName,
                                 java.util.List<java.lang.String> portNames)
        Deletes ports to a given bridge.
        Parameters:
        bridgeName - bridge name
        portNames - list port names
      • getPorts

        java.util.Collection<PortDescription> getPorts()
        Delete a logical/virtual port.
        Returns:
        collection of port
      • getPortNumbers

        java.util.Set<PortNumber> getPortNumbers()
        Get a collection of port.
        Returns:
        portNumbers set of PortNumber
      • getLocalPorts

        java.util.List<PortNumber> getLocalPorts​(java.lang.Iterable<java.lang.String> ifaceIds)
        Get logical/virtual ports by ifaceIds.
        Parameters:
        ifaceIds - the ifaceid that needed
        Returns:
        list of PortNumber