Interface BngProgrammable.Attachment

  • Enclosing interface:
    BngProgrammable

    public static interface BngProgrammable.Attachment
    Immutable representation of an attachment in the BNG context. It identifies a L2/L2.5 tunnel line between the RG and the BNG.
    • Method Detail

      • appId

        ApplicationId appId()
        Returns the application that is responsible for managing the attachment.
        Returns:
        The application ID.
      • sTag

        VlanId sTag()
        Returns the VLAN S-tag of the attachment.
        Returns:
        The VLAN S-tag of the attachment.
      • cTag

        VlanId cTag()
        Returns the VLAN C-tag of the attachment.
        Returns:
        The VLAN C-tag of the attachment.
      • macAddress

        MacAddress macAddress()
        Returns the MAC address of the attachment.
        Returns:
        The MAC address of the attachment.
      • ipAddress

        IpAddress ipAddress()
        Returns the IP address of the attachment.
        Returns:
        The IP address of the attachment.
      • lineActive

        boolean lineActive()
        Defines if the line related to the attachment is active.
        Returns:
        True if the line is active, False otherwise.
      • pppoeSessionId

        short pppoeSessionId()
        Returns the PPPoE session ID of the attachment. This method is meaningful only if the attachment type is PPPoE.
        Returns:
        The PPPoE session ID.