Skip to content

Commit

Permalink
Add support for vni-peer-group container (#1015)
Browse files Browse the repository at this point in the history
* Add support for /network-instances/network-instance/connection-points/connection-point/endpoints/endpoint/vxlan/endpoint-peers/vni-peer-groups container
* deprecate control-plane-vnis, router-mac
  • Loading branch information
mikewiebe authored Apr 11, 2024
1 parent 4f40878 commit 4177f94
Showing 1 changed file with 53 additions and 2 deletions.
55 changes: 53 additions & 2 deletions release/models/network-instance/openconfig-evpn.yang
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ module openconfig-evpn {
domains, this is not currently supported and requires an extension
of the model.";

oc-ext:openconfig-version "0.7.0";
oc-ext:openconfig-version "0.8.0";

revision "2024-04-03" {
description
"Add vni-peer-groups container";
reference "0.8.0";
}

revision "2024-02-01" {
description
Expand Down Expand Up @@ -917,7 +923,50 @@ module openconfig-evpn {
"Container for state parameters related to this VTEP peer";
uses evpn-endpoint-peer-state;
uses evpn-endpoint-counters;
}
}
container vni-peer-groups {
config false;
description
"Container for associating ingress and egress VNIs to router MACs";
list vni-peer-group {
key "cp-vni egress-vni";
description
"List of VNI peer groups";
leaf cp-vni {
type leafref {
path "../state/cp-vni";
}
description
"A reference to the control-plane VNI for the VNI peer group";
}
leaf egress-vni {
type leafref {
path "../state/egress-vni";
}
description
"A reference to the egress VNI for the VNI peer group";
}

container state {
description "State container for the VNI peer group";
config false;

leaf cp-vni {
type oc-evpn-types:vni-id;
description
"The control-plane VNI discovered behind this peer VTEP";
}
leaf egress-vni {
type oc-evpn-types:vni-id;
description "Egress VNI associated with the remote VTEP";
}
leaf router-mac {
type oc-yang:mac-address;
description "MAC address of the remote VTEP";
}
}
}
}
}
}

Expand Down Expand Up @@ -988,13 +1037,15 @@ module openconfig-evpn {

leaf-list control-plane-vnis {
type oc-evpn-types:vni-id;
status deprecated;
description
"The control-plane VNIs are all of the VNIs that are discovered by the
control-plane behind this peer VTEP";
}

leaf router-mac {
type oc-yang:mac-address;
status deprecated;
description "MAC address of the remote VTEP";
}
}
Expand Down

0 comments on commit 4177f94

Please sign in to comment.