public interface SrSubobject
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module odl-pcep-segment-routing
grouping sr-subobject {
leaf c-flag {
type c-flag;
}
leaf m-flag {
type m-flag;
}
leaf sid-type {
type sid-type;
}
leaf sid {
type uint32;
}
choice nai {
case ip-adjacency {
leaf local-ip-address {
type ip-address;
}
leaf remote-ip-address {
type ip-address;
}
}
case ip-node-id {
leaf ip-address {
type ip-address;
}
}
case unnumbered-adjacency {
leaf local-node-id {
type uint32;
}
leaf local-interface-id {
type uint32;
}
leaf remote-node-id {
type uint32;
}
leaf remote-interface-id {
type uint32;
}
}
}
}
The schema path to identify an instance is
odl-pcep-segment-routing/sr-subobject| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
Nai |
getNai()
Node or Adjacency Identifier
|
Long |
getSid()
Segment Identifier
|
SidType |
getSidType() |
Boolean |
isCFlag() |
Boolean |
isMFlag() |
Boolean isCFlag()
java.lang.Boolean cFlag, or null if not presentBoolean isMFlag()
java.lang.Boolean mFlag, or null if not presentSidType getSidType()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.segment.routing.rev171025.SidType sidType, or null if not presentLong getSid()
java.lang.Long sid, or null if not presentNai getNai()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.segment.routing.rev171025.sr.subobject.Nai nai, or null if not presentCopyright © 2018 OpenDaylight. All rights reserved.