public interface ForwardingAdjAnnounceInput extends NetworkTopologyReference, ForwardingAdjacencyAttributes, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<ForwardingAdjAnnounceInput>
This class represents the following YANG schema fragment defined in module multilayer-topology
container input {
leaf network-topology-ref {
type network-topology-ref;
}
container head-end {
leaf node {
type node-ref;
}
leaf-list supporting-tp {
type tp-ref;
}
leaf tp-id {
type tp-id;
}
container stitching-point {
leaf-list supporting-tp {
type tp-ref;
}
leaf tp-id {
type tp-id;
}
}
list attribute {
key "id";
leaf attribute-type {
type identityref;
}
leaf id {
type uri;
}
container value {
choice basic-attribute-types {
case boolean-value {
leaf boolean-value {
type boolean;
}
}
case empty-value {
leaf empty-value {
type empty;
}
}
case int32-value {
leaf int64-value {
type int32;
}
}
case string-list {
leaf-list string-list {
type string;
}
}
case string-value {
leaf string-value {
type string;
}
}
case uint32-value {
leaf uint32-value {
type uint32;
}
}
}
augment \(urn:opendaylight:topology:multilayer)forwarding-adj-announce\(urn:opendaylight:topology:multilayer)input\(urn:opendaylight:topology:multilayer)head-end\(urn:opendaylight:topology:multilayer)attribute\(urn:opendaylight:topology:multilayer)value {
when "./ml:attribute-type = 'mtoa:native' or ./ml:attribute-type = 'mtoa:controller' or ./ml:attribute-type = 'mtoa:application'";
status CURRENT;
choice basic-attribute-types {
case boolean-value {
leaf boolean-value {
type boolean;
}
}
case empty-value {
leaf empty-value {
type empty;
}
}
case int32-value {
leaf int64-value {
type int32;
}
}
case string-list {
leaf-list string-list {
type string;
}
}
case string-value {
leaf string-value {
type string;
}
}
case uint32-value {
leaf uint32-value {
type uint32;
}
}
}
uses opaque-attribute-value;
}
}
}
uses fa-end-point;
}
container tail-end {
leaf node {
type node-ref;
}
leaf-list supporting-tp {
type tp-ref;
}
leaf tp-id {
type tp-id;
}
container stitching-point {
leaf-list supporting-tp {
type tp-ref;
}
leaf tp-id {
type tp-id;
}
}
list attribute {
key "id";
leaf attribute-type {
type identityref;
}
leaf id {
type uri;
}
container value {
choice basic-attribute-types {
case boolean-value {
leaf boolean-value {
type boolean;
}
}
case empty-value {
leaf empty-value {
type empty;
}
}
case int32-value {
leaf int64-value {
type int32;
}
}
case string-list {
leaf-list string-list {
type string;
}
}
case string-value {
leaf string-value {
type string;
}
}
case uint32-value {
leaf uint32-value {
type uint32;
}
}
}
augment \(urn:opendaylight:topology:multilayer)forwarding-adj-announce\(urn:opendaylight:topology:multilayer)input\(urn:opendaylight:topology:multilayer)tail-end\(urn:opendaylight:topology:multilayer)attribute\(urn:opendaylight:topology:multilayer)value {
when "./ml:attribute-type = 'mtoa:native' or ./ml:attribute-type = 'mtoa:controller' or ./ml:attribute-type = 'mtoa:application'";
status CURRENT;
choice basic-attribute-types {
case boolean-value {
leaf boolean-value {
type boolean;
}
}
case empty-value {
leaf empty-value {
type empty;
}
}
case int32-value {
leaf int64-value {
type int32;
}
}
case string-list {
leaf-list string-list {
type string;
}
}
case string-value {
leaf string-value {
type string;
}
}
case uint32-value {
leaf uint32-value {
type uint32;
}
}
}
uses opaque-attribute-value;
}
}
}
uses fa-end-point;
}
container announcement-context {
leaf id {
type uri;
}
list supporting-resource {
key "resource";
leaf resource {
type instance-identifier;
}
}
}
choice directionality-info {
case bidirectional {
container bidirectional {
}
}
case reverse-co-routed-fa {
container reverse-co-routed-fa {
}
}
case reverse-fa {
container reverse-fa {
}
}
case unidirectional {
container unidirectional {
}
}
}
list attribute {
key "id";
leaf attribute-type {
type identityref;
}
leaf id {
type uri;
}
container value {
leaf metric {
type uint32;
}
leaf color {
type uint32;
}
leaf max-link-bandwidth {
type decimal64;
}
leaf max-resv-link-bandwidth {
type decimal64;
}
list unreserved-bandwidth {
key "priority";
leaf priority {
type uint8;
}
leaf bandwidth {
type decimal64;
}
}
leaf te-default-metric {
type uint32;
}
container srlg {
list interface-switching-capabilities {
key "switching-capability";
leaf switching-capability {
type switching-capabilities;
}
leaf encoding {
type uint8;
}
list max-lsp-bandwidth {
key "priority";
leaf priority {
type uint8;
}
leaf bandwidth {
type decimal64;
}
}
container packet-switch-capable {
leaf minimum-lsp-bandwidth {
type decimal64;
}
leaf interface-mtu {
type uint16;
}
}
container time-division-multiplex-capable {
leaf minimum-lsp-bandwidth {
type decimal64;
}
leaf indication {
type uint16;
}
}
}
list srlg-values {
key "srlg-value";
leaf srlg-value {
type uint32;
}
}
leaf link-protection-type {
type uint16;
}
uses srlg-attributes;
}
choice basic-attribute-types {
case boolean-value {
leaf boolean-value {
type boolean;
}
}
case empty-value {
leaf empty-value {
type empty;
}
}
case int32-value {
leaf int64-value {
type int32;
}
}
case string-list {
leaf-list string-list {
type string;
}
}
case string-value {
leaf string-value {
type string;
}
}
case uint32-value {
leaf uint32-value {
type uint32;
}
}
}
augment \(urn:opendaylight:topology:multilayer)forwarding-adj-announce\(urn:opendaylight:topology:multilayer)input\(urn:opendaylight:topology:multilayer)attribute\(urn:opendaylight:topology:multilayer)value {
when "./ml:attribute-type = 'mted:native-l3-igp-metric' or ./ml:attribute-type = 'mted:controller-metric' or ./ml:attribute-type = 'mted:application-metric'";
status CURRENT;
leaf metric {
type uint32;
}
}
augment \(urn:opendaylight:topology:multilayer)forwarding-adj-announce\(urn:opendaylight:topology:multilayer)input\(urn:opendaylight:topology:multilayer)attribute\(urn:opendaylight:topology:multilayer)value {
when "./ml:attribute-type = 'mted:native-ted' or ./ml:attribute-type = 'mted:controller-ted' or ./ml:attribute-type = 'mted:application-ted'";
status CURRENT;
leaf color {
type uint32;
}
leaf max-link-bandwidth {
type decimal64;
}
leaf max-resv-link-bandwidth {
type decimal64;
}
list unreserved-bandwidth {
key "priority";
leaf priority {
type uint8;
}
leaf bandwidth {
type decimal64;
}
}
leaf te-default-metric {
type uint32;
}
container srlg {
list interface-switching-capabilities {
key "switching-capability";
leaf switching-capability {
type switching-capabilities;
}
leaf encoding {
type uint8;
}
list max-lsp-bandwidth {
key "priority";
leaf priority {
type uint8;
}
leaf bandwidth {
type decimal64;
}
}
container packet-switch-capable {
leaf minimum-lsp-bandwidth {
type decimal64;
}
leaf interface-mtu {
type uint16;
}
}
container time-division-multiplex-capable {
leaf minimum-lsp-bandwidth {
type decimal64;
}
leaf indication {
type uint16;
}
}
}
list srlg-values {
key "srlg-value";
leaf srlg-value {
type uint32;
}
}
leaf link-protection-type {
type uint16;
}
uses srlg-attributes;
}
uses ted-link-attributes;
}
augment \(urn:opendaylight:topology:multilayer)forwarding-adj-announce\(urn:opendaylight:topology:multilayer)input\(urn:opendaylight:topology:multilayer)attribute\(urn:opendaylight:topology:multilayer)value {
when "./ml:attribute-type = 'mtoa:native' or ./ml:attribute-type = 'mtoa:controller' or ./ml:attribute-type = 'mtoa:application'";
status CURRENT;
choice basic-attribute-types {
case boolean-value {
leaf boolean-value {
type boolean;
}
}
case empty-value {
leaf empty-value {
type empty;
}
}
case int32-value {
leaf int64-value {
type int32;
}
}
case string-list {
leaf-list string-list {
type string;
}
}
case string-value {
leaf string-value {
type string;
}
}
case uint32-value {
leaf uint32-value {
type uint32;
}
}
}
uses opaque-attribute-value;
}
}
}
leaf oper-status {
type fa-oper-status;
}
uses network-topology-reference;
uses forwarding-adjacency-attributes;
}
The schema path to identify an instance is
multilayer-topology/forwarding-adj-announce/input
To create instances of this class use ForwardingAdjAnnounceInputBuilder.
ForwardingAdjAnnounceInputBuilder| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
getNetworkTopologyRefgetAnnouncementContext, getHeadEnd, getTailEndgetOperStatusgetDirectionalityInfogetAttributeCopyright © 2018 OpenDaylight. All rights reserved.