Package org.onosproject.net.behaviour
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BngProgrammable.Attachment.AttachmentType
Types of attachment.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationId
appId()
Returns the application that is responsible for managing the attachment.VlanId
cTag()
Returns the VLAN C-tag of the attachment.IpAddress
ipAddress()
Returns the IP address of the attachment.boolean
lineActive()
Defines if the line related to the attachment is active.MacAddress
macAddress()
Returns the MAC address of the attachment.short
pppoeSessionId()
Returns the PPPoE session ID of the attachment.VlanId
sTag()
Returns the VLAN S-tag of the attachment.BngProgrammable.Attachment.AttachmentType
type()
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.
-
-