public interface Path extends org.opendaylight.yangtools.yang.binding.ChildOf<Updates>, org.opendaylight.yangtools.yang.binding.Augmentable<Path>, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.PathDefinition
This class represents the following YANG schema fragment defined in module odl-pcep-ietf-stateful02
(Source path: META-INF/yang/odl-pcep-ietf-stateful02.yang):
container path {
container lspa {
leaf processing-rule {
type boolean;
}
leaf ignore {
type boolean;
}
leaf hold-priority {
type uint8;
}
leaf setup-priority {
type uint8;
}
leaf local-protection-desired {
type boolean;
}
leaf include-any {
type attribute-filter;
}
leaf exclude-any {
type attribute-filter;
}
leaf include-all {
type attribute-filter;
}
container tlvs {
list vendor-information-tlv {
key leaf enterprise-number {
type enterprise-number;
}
choice enterprise-specific-information {
}
uses vendor-information;
uses tlv;
}
uses vendor-information-tlvs;
}
uses tunnel-attributes;
uses object;
}
container bandwidth {
leaf processing-rule {
type boolean;
}
leaf ignore {
type boolean;
}
leaf bandwidth {
type bandwidth;
}
uses object;
}
list metrics {
key container metric {
leaf processing-rule {
type boolean;
}
leaf ignore {
type boolean;
}
leaf metric-type {
type uint8;
}
leaf bound {
type boolean;
}
leaf computed {
type boolean;
}
leaf value {
type float32;
}
uses object;
}
uses metric-object;
}
container of {
leaf processing-rule {
type boolean;
}
leaf ignore {
type boolean;
}
leaf code {
type of-id;
}
container tlvs {
list vendor-information-tlv {
key leaf enterprise-number {
type enterprise-number;
}
choice enterprise-specific-information {
}
uses vendor-information;
uses tlv;
}
uses vendor-information-tlvs;
}
uses object;
}
container xro {
leaf processing-rule {
type boolean;
}
leaf ignore {
type boolean;
}
leaf flags {
type bits;
}
list subobject {
key leaf mandatory {
type boolean;
}
leaf attribute {
type enumeration;
}
choice subobject-type {
case as-number-case {
container as-number {
leaf as-number {
type as-number;
}
uses as-number-subobject;
}
}
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;
}
}
}
uses label-subobject;
}
}
case srlg-case {
container srlg {
leaf srlg-id {
type srlg-id;
}
uses srlg-subobject;
}
}
case unnumbered-case {
container unnumbered {
leaf router-id {
type uint32;
}
leaf interface-id {
type uint32;
}
uses unnumbered-subobject;
}
}
}
uses exclude-route-subobjects;
}
uses object;
}
container class-type {
leaf processing-rule {
type boolean;
}
leaf ignore {
type boolean;
}
leaf class-type {
type class-type;
}
uses object;
}
container iro {
leaf processing-rule {
type boolean;
}
leaf ignore {
type boolean;
}
list subobject {
key choice subobject-type {
case as-number-case {
container as-number {
leaf as-number {
type as-number;
}
uses as-number-subobject;
}
}
case exrs-case {
container exrs {
list exrs {
key leaf mandatory {
type boolean;
}
leaf attribute {
type enumeration;
}
choice subobject-type {
case as-number-case {
container as-number {
leaf as-number {
type as-number;
}
uses as-number-subobject;
}
}
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;
}
}
}
uses label-subobject;
}
}
case srlg-case {
container srlg {
leaf srlg-id {
type srlg-id;
}
uses srlg-subobject;
}
}
case unnumbered-case {
container unnumbered {
leaf router-id {
type uint32;
}
leaf interface-id {
type uint32;
}
uses unnumbered-subobject;
}
}
}
uses exclude-route-subobjects;
}
}
}
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;
}
}
}
uses label-subobject;
}
}
case srlg-case {
container srlg {
leaf srlg-id {
type srlg-id;
}
uses srlg-subobject;
}
}
case unnumbered-case {
container unnumbered {
leaf router-id {
type uint32;
}
leaf interface-id {
type uint32;
}
uses unnumbered-subobject;
}
}
}
uses explicit-route-subobjects;
}
uses object;
}
container rro {
leaf processing-rule {
type boolean;
}
leaf ignore {
type boolean;
}
list subobject {
key 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 path-key-case {
container path-key {
leaf pce-id {
type pce-id;
}
leaf path-key {
type path-key;
}
uses path-key-subobject;
}
}
case unnumbered-case {
container unnumbered {
leaf router-id {
type uint32;
}
leaf interface-id {
type uint32;
}
uses unnumbered-subobject;
}
}
}
uses record-route-subobjects;
}
uses object;
}
container ero {
leaf processing-rule {
type boolean;
}
leaf ignore {
type boolean;
}
list subobject {
key leaf loose {
type boolean;
}
choice subobject-type {
case as-number-case {
container as-number {
leaf as-number {
type as-number;
}
uses as-number-subobject;
}
}
case exrs-case {
container exrs {
list exrs {
key leaf mandatory {
type boolean;
}
leaf attribute {
type enumeration;
}
choice subobject-type {
case as-number-case {
container as-number {
leaf as-number {
type as-number;
}
uses as-number-subobject;
}
}
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;
}
}
}
uses label-subobject;
}
}
case srlg-case {
container srlg {
leaf srlg-id {
type srlg-id;
}
uses srlg-subobject;
}
}
case unnumbered-case {
container unnumbered {
leaf router-id {
type uint32;
}
leaf interface-id {
type uint32;
}
uses unnumbered-subobject;
}
}
}
uses exclude-route-subobjects;
}
}
}
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;
}
}
}
uses label-subobject;
}
}
case path-key-case {
container path-key {
leaf pce-id {
type pce-id;
}
leaf path-key {
type path-key;
}
uses path-key-subobject;
}
}
case srlg-case {
container srlg {
leaf srlg-id {
type srlg-id;
}
uses srlg-subobject;
}
}
case unnumbered-case {
container unnumbered {
leaf router-id {
type uint32;
}
leaf interface-id {
type uint32;
}
uses unnumbered-subobject;
}
}
}
uses explicit-route-subobjects;
}
uses object;
}
uses path-definition;
}
The schema path to identify an instance is
odl-pcep-ietf-stateful02/pcupd-message/pcupd-message/updates/path
To create instances of this class use PathBuilder.
PathBuilder| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
getAugmentationgetErogetMetricsgetXrogetRrogetBandwidthgetOfgetIrogetClassTypeCopyright © 2014. All rights reserved.