Interface TedData
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.DataRoot
@Generated("mdsal-binding-generator")
public interface TedData
extends org.opendaylight.yangtools.yang.binding.DataRoot
Helper module to hold TED attributes for OSPF/ISIS
This class represents the following YANG schema fragment defined in module ted
module ted {
yang-version 1;
namespace urn:TBD:params:xml:ns:yang:network:ted;
prefix ted;
import ietf-inet-types {
prefix inet;
revision-date 2013-07-15;
}
revision 2013-10-21 {
}
typedef switching-capabilities {
type enumeration {
enum PSC-1 {
value 1;
}
enum PSC-2 {
value 2;
}
enum PSC-3 {
value 3;
}
enum PSC-4 {
value 4;
}
enum L2SC {
value 51;
}
enum TDM {
value 100;
}
enum LSC {
value 150;
}
enum FSC {
value 200;
}
}
}
typedef pcc-capabilities {
type bits {
bit path-computation-with-gmpls-link-constraints {
position 0;
}
bit bidirectional-path-computation {
position 1;
}
bit diverse-path-computation {
position 2;
}
bit load-balanced-path-computation {
position 3;
}
bit synchronized-path-computation {
position 4;
}
bit support-for-multiple-objective-functions {
position 5;
}
bit support-for-additive-path-constraints {
position 6;
}
bit support-for-request-prioritization {
position 7;
}
bit support-for-multiple-requests-per-message {
position 8;
}
}
}
grouping ted-node-attributes {
leaf te-router-id-ipv4 {
type inet:ipv4-address;
}
leaf te-router-id-ipv6 {
type inet:ipv6-address;
}
list ipv4-local-address {
key ipv4-prefix;
leaf ipv4-prefix {
type inet:ipv4-prefix;
}
}
list ipv6-local-address {
key ipv6-prefix;
leaf ipv6-prefix {
type inet:ipv6-prefix;
}
leaf prefix-option {
type uint8;
}
}
leaf pcc-capabilities {
type pcc-capabilities;
}
}
grouping ted-link-attributes {
leaf color {
type uint32;
}
leaf max-link-bandwidth {
type decimal64 {
fraction-digits 2;
}
}
leaf max-resv-link-bandwidth {
type decimal64 {
fraction-digits 2;
}
}
list unreserved-bandwidth {
max-elements 8;
key priority;
leaf priority {
type uint8 {
range 0..7;
}
}
leaf bandwidth {
type decimal64 {
fraction-digits 2;
}
}
}
leaf te-default-metric {
type uint32;
}
container srlg {
uses srlg-attributes;
}
}
grouping srlg-attributes {
list interface-switching-capabilities {
key switching-capability;
leaf switching-capability {
type ted:switching-capabilities;
}
leaf encoding {
type uint8;
}
list max-lsp-bandwidth {
max-elements 8;
key priority;
leaf priority {
type uint8 {
range 0..7;
}
}
leaf bandwidth {
type decimal64 {
fraction-digits 2;
}
}
}
container packet-switch-capable {
when "../switching-capability = PSC-1 or ../switching-capability = PSC-2 or ../switching-capability = PSC-3 or ../switching-capability = PSC-4";
leaf minimum-lsp-bandwidth {
type decimal64 {
fraction-digits 2;
}
}
leaf interface-mtu {
type uint16;
}
}
container time-division-multiplex-capable {
when "../switching-capability = TDM";
leaf minimum-lsp-bandwidth {
type decimal64 {
fraction-digits 2;
}
}
leaf indication {
type uint16;
}
}
}
list srlg-values {
key srlg-value;
leaf srlg-value {
type uint32;
}
}
leaf link-protection-type {
type uint16;
}
}
}