Package org.onosproject.net.behaviour
Interface BngProgrammable.Attachment
-
- Enclosing interface:
- BngProgrammable
public static interface BngProgrammable.AttachmentImmutable representation of an attachment in the BNG context. It identifies a L2/L2.5 tunnel line between the RG and the BNG.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBngProgrammable.Attachment.AttachmentType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationIdappId()Get the application ID that generated the attachment.BngProgrammable.AttachmentIdattachmentId()Get the identifier of the attachment.org.onlab.packet.VlanIdcTag()Get the VLAN C-tag of the attachment.org.onlab.packet.IpAddressipAddress()Get the IP address of the attachment.booleanlineActive()Defines if the line related to the attachment is active.org.onlab.packet.MacAddressmacAddress()Get the MAC address of the attachment.shortpppoeSessionId()Get the PPPoE session ID of the attachment.org.onlab.packet.VlanIdsTag()Get the VLAN S-tag of the attachment.BngProgrammable.Attachment.AttachmentTypetype()Get the type of attachment.
-
-
-
Method Detail
-
attachmentId
BngProgrammable.AttachmentId attachmentId()
Get the identifier of the attachment.- Returns:
- The identifier of the attachment.
-
appId
ApplicationId appId()
Get the application ID that generated the attachment.- Returns:
- The application ID.
-
sTag
org.onlab.packet.VlanId sTag()
Get the VLAN S-tag of the attachment.- Returns:
- The VLAN S-tag of the attachment.
-
cTag
org.onlab.packet.VlanId cTag()
Get the VLAN C-tag of the attachment.- Returns:
- The VLAN C-tag of the attachment.
-
macAddress
org.onlab.packet.MacAddress macAddress()
Get the MAC address of the attachment.- Returns:
- The MAC address of the attachment.
-
ipAddress
org.onlab.packet.IpAddress ipAddress()
Get 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.
-
type
BngProgrammable.Attachment.AttachmentType type()
Get the type of attachment.- Returns:
- type of attachment
-
pppoeSessionId
short pppoeSessionId()
Get the PPPoE session ID of the attachment. This method is meaningful only if the attachment type is PPPoE.- Returns:
- The PPPoE session ID.
-
-