public final class DefaultLspLocalLabelInfo extends Object implements LspLocalLabelInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultLspLocalLabelInfo.Builder
Builder.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultLspLocalLabelInfo.Builder |
builder()
Creates and returns a new builder instance.
|
static DefaultLspLocalLabelInfo.Builder |
builder(LspLocalLabelInfo deviceLabelInfo)
Creates and returns a new builder instance that clones an existing object.
|
org.onosproject.net.DeviceId |
deviceId()
Returns device id.
|
boolean |
equals(Object obj) |
int |
hashCode() |
LabelResourceId |
inLabelId()
Returns in label id of a device.
|
org.onosproject.net.PortNumber |
inPort()
Returns in port of an incoming label.
|
LabelResourceId |
outLabelId()
Returns out label id of a device.
|
org.onosproject.net.PortNumber |
outPort()
Returns next hop of an outgoing label.
|
String |
toString() |
public org.onosproject.net.DeviceId deviceId()
LspLocalLabelInfodeviceId in interface LspLocalLabelInfopublic LabelResourceId inLabelId()
LspLocalLabelInfoinLabelId in interface LspLocalLabelInfopublic LabelResourceId outLabelId()
LspLocalLabelInfooutLabelId in interface LspLocalLabelInfopublic org.onosproject.net.PortNumber inPort()
LspLocalLabelInfoinPort in interface LspLocalLabelInfopublic org.onosproject.net.PortNumber outPort()
LspLocalLabelInfooutPort in interface LspLocalLabelInfopublic static DefaultLspLocalLabelInfo.Builder builder(LspLocalLabelInfo deviceLabelInfo)
deviceLabelInfo - device label informationpublic static DefaultLspLocalLabelInfo.Builder builder()