122 lines
2.9 KiB
YANG
122 lines
2.9 KiB
YANG
submodule openconfig-aft-ethernet {
|
|
belongs-to "openconfig-aft" {
|
|
prefix "oc-aft";
|
|
}
|
|
|
|
import openconfig-extensions { prefix "oc-ext"; }
|
|
import openconfig-yang-types { prefix "oc-yang"; }
|
|
|
|
// Include common cross-AFT groupings from the common submodule.
|
|
include openconfig-aft-common;
|
|
|
|
organization
|
|
"OpenConfig working group";
|
|
|
|
contact
|
|
"OpenConfig working group
|
|
www.openconfig.net";
|
|
|
|
description
|
|
"Submodule containing definitions of groupings for the abstract
|
|
forwarding tables for Ethernet.";
|
|
|
|
oc-ext:openconfig-version "0.4.1";
|
|
|
|
revision "2019-11-07" {
|
|
description
|
|
"Move lsp-name leaf out of aft-common-entry-nexthop-state group.";
|
|
reference "0.4.1";
|
|
}
|
|
|
|
revision "2019-08-02" {
|
|
description
|
|
"Add installing protocol for IPv[46] unicast entries.
|
|
Add the ability to describe conditional next-hop groups
|
|
outside of the policy forwarding module to allow for efficient
|
|
handling of CBTS, where many prefixes may share the same next-hop
|
|
criteria.";
|
|
reference "0.4.0";
|
|
}
|
|
|
|
revision "2019-08-01" {
|
|
description
|
|
"Add lsp-name leaf to AFT next-hop.";
|
|
reference "0.3.3";
|
|
}
|
|
|
|
revision "2018-11-21" {
|
|
description
|
|
"Add OpenConfig module metadata extensions.";
|
|
reference "0.3.2";
|
|
}
|
|
|
|
revision 2017-08-24 {
|
|
description
|
|
"Formatting fixes";
|
|
reference "0.3.1";
|
|
}
|
|
|
|
revision 2017-05-10 {
|
|
description
|
|
"Refactor to provide concretised per-AF schemas per AFT.";
|
|
reference "0.3.0";
|
|
}
|
|
|
|
grouping aft-ethernet-structural {
|
|
description
|
|
"Structural grouping defining the schema for the Ethernet
|
|
abstract forwarding table.";
|
|
|
|
list mac-entry {
|
|
key "mac-address";
|
|
|
|
description
|
|
"List of the Ethernet entries within the abstract
|
|
forwarding table. This list is keyed by the outer MAC address
|
|
of the Ethernet frame.";
|
|
|
|
leaf mac-address {
|
|
type leafref {
|
|
path "../config/mac-address";
|
|
}
|
|
description
|
|
"Reference to the outer MAC address matched by the
|
|
entry.";
|
|
}
|
|
|
|
container config {
|
|
description
|
|
"Configuration parameters for the Ethernet AFT entry.";
|
|
uses aft-ethernet-entry-config;
|
|
}
|
|
|
|
container state {
|
|
config false;
|
|
description
|
|
"Operational state parameters for the Ethernet AFT
|
|
entry.";
|
|
uses aft-ethernet-entry-config;
|
|
uses aft-ethernet-entry-state;
|
|
}
|
|
}
|
|
}
|
|
|
|
grouping aft-ethernet-entry-config {
|
|
description
|
|
"Configuration parameters for the Ethernet AFT entry.";
|
|
|
|
leaf mac-address {
|
|
type oc-yang:mac-address;
|
|
description
|
|
"The outer MAC address of the Ethernet frame that must
|
|
be matched for the AFT entry to be utilised.";
|
|
}
|
|
}
|
|
|
|
grouping aft-ethernet-entry-state {
|
|
description
|
|
"Operational state parameters for the Ethernet AFT entry.";
|
|
uses aft-common-entry-state;
|
|
}
|
|
}
|