public interface RecordRouteSubobjects
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module rsvp
(Source path: META-INF/yang/rsvp.yang):
grouping record-route-subobjects {
leaf protection-available {
type boolean;
}
leaf protection-in-use {
type boolean;
}
choice subobject-type {
case ip-prefix-case {
container ip-prefix {
leaf ip-prefix {
type ip-prefix;
}
uses ip-prefix-subobject;
}
}
case label-case {
container label {
leaf uni-directional {
type boolean;
}
choice label-type {
case generalized-label-case {
container generalized-label {
leaf generalized-label {
type binary;
}
uses generalized-label;
}
}
case type1-label-case {
container type1-label {
leaf type1-label {
type uint32;
}
uses type1-label;
}
}
case waveband-switching-label-case {
container waveband-switching-label {
leaf end-label {
type uint32;
}
leaf start-label {
type uint32;
}
leaf waveband-id {
type uint32;
}
uses waveband-switching-label;
}
}
}
leaf global {
type boolean;
}
uses label-subobject;
}
}
case unnumbered-case {
container unnumbered {
leaf router-id {
type uint32;
}
leaf interface-id {
type uint32;
}
uses unnumbered-subobject;
}
}
}
}
The schema path to identify an instance is
rsvp/record-route-subobjects| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
SubobjectType |
getSubobjectType() |
Boolean |
isProtectionAvailable() |
Boolean |
isProtectionInUse() |
Boolean isProtectionAvailable()
Boolean isProtectionInUse()
SubobjectType getSubobjectType()
Copyright © 2014. All rights reserved.