Skip to content

Commit

Permalink
create vxlan encap container and move vni-label and tunnel-src-ip-add…
Browse files Browse the repository at this point in the history
…ress
  • Loading branch information
dplore committed Sep 11, 2024
1 parent a07d2d7 commit 0419274
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions release/models/aft/openconfig-aft-common.yang
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,17 @@ submodule openconfig-aft-common {
}
}

container vxlan {
when "../state/type = 'oc-aftt:VXLAN'";
description
"Container of nodes for VXLAN encapsulation.";
container state {
description
"State parameters relating to VXLAN encapsulation headers.";
uses aft-common-entry-nexthop-vxlan-state;
}
}

}
}

Expand Down Expand Up @@ -415,18 +426,26 @@ submodule openconfig-aft-common {

leaf vni-label {
type oc-evpn-types:evi-id;
status deprecated;
description
"Where applicable, the next hop label representing the virtual
network identifier (VNI) for the forwarding entry. This leaf is
applicable only to next-hops which include VXLAN encapsulation
header information";
header information.
This leaf is deprecated. The encap-headers/encap-header/xvlan tree
should be used instead.";
}

leaf tunnel-src-ip-address {
type oc-inet:ip-address;
status deprecated;
description
"Where applicable this represents the vxlan tunnel source ip address.
For VXLAN this represents the source VTEP ip address";
For VXLAN this represents the source VTEP ip address.
This leaf is deprecated. The encap-headers/encap-header/xvlan tree
should be used instead.";
}
}

Expand Down Expand Up @@ -664,6 +683,27 @@ submodule openconfig-aft-common {
}
}

grouping aft-common-entry-nexthop-vxlan-state {
description
"VXLAN encapsulation applied on top of a packet.";

leaf vni-label {
type oc-evpn-types:evi-id;
description
"Where applicable, the next hop label representing the virtual
network identifier (VNI) for the forwarding entry. This leaf is
applicable only to next-hops which include VXLAN encapsulation
header information";
}

leaf tunnel-src-ip-address {
type oc-inet:ip-address;
description
"Where applicable this represents the vxlan tunnel source ip address.
For VXLAN this represents the source VTEP ip address";
}
}

grouping aft-common-install-protocol {
description
"Grouping for a common reference to the protocol which
Expand Down

0 comments on commit 0419274

Please sign in to comment.