Interface EdgePortService

    • Method Detail

      • isEdgePoint

        boolean isEdgePoint​(ConnectPoint point)
        Indicates whether or not the specified connection point is an edge point.
        Parameters:
        point - connection point
        Returns:
        true if edge point
      • getEdgePoints

        java.lang.Iterable<ConnectPoint> getEdgePoints()
        Returns a collection of all edge point within the current topology.
        Returns:
        iterable collection of all edge points
      • getEdgePoints

        java.lang.Iterable<ConnectPoint> getEdgePoints​(DeviceId deviceId)
        Returns a collection of all edge point for the specified device.
        Parameters:
        deviceId - device identifier
        Returns:
        iterable collection of all edge points for the device
      • emitPacket

        void emitPacket​(java.nio.ByteBuffer data,
                        java.util.Optional<TrafficTreatment> treatment)
        Emits the specified packet, with optional treatment to all edge ports.
        Parameters:
        data - packet data
        treatment - optional traffic treatment to apply to the packet
      • emitPacket

        void emitPacket​(DeviceId deviceId,
                        java.nio.ByteBuffer data,
                        java.util.Optional<TrafficTreatment> treatment)
        Emits the specified packet, with optional treatment to all edge ports.
        Parameters:
        deviceId - device where to send the packet out
        data - packet data
        treatment - optional traffic treatment to apply to the packet