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.AttachmentTypeTypes of attachment.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationIdappId()Returns the application that is responsible for managing the attachment.VlanIdcTag()Returns the VLAN C-tag of the attachment.IpAddressipAddress()Returns the IP address of the attachment.booleanlineActive()Defines if the line related to the attachment is active.MacAddressmacAddress()Returns the MAC address of the attachment.shortpppoeSessionId()Returns the PPPoE session ID of the attachment.VlanIdsTag()Returns the VLAN S-tag of the attachment.BngProgrammable.Attachment.AttachmentTypetype()Returns the type of attachment.
-
-
-
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.
-
type
BngProgrammable.Attachment.AttachmentType type()
Returns the type of attachment.- Returns:
- type of attachment
-
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.
-
-