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

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

        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​(ByteBuffer data,
                        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,
                        ByteBuffer data,
                        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