Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aft encapsulation-headers #1153

Merged
merged 48 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
31ea21a
Add aft encap mpls-in-udp paths
dplore Jul 18, 2024
5ace5ac
update aft-common version
dplore Jul 18, 2024
f0e4b02
version bump
dplore Jul 18, 2024
19f4a94
fix enum upper-case name
dplore Jul 18, 2024
83e5d36
fix enum upper-case name
dplore Jul 18, 2024
857ff77
change flow label type
dplore Jul 18, 2024
e5369e5
remove flow-label
dplore Jul 18, 2024
df2b4cd
fix whitespace
dplore Jul 18, 2024
deb53d7
address comments
dplore Jul 23, 2024
53cae0a
fix typedef pushed-mpls-label-stack
dplore Jul 23, 2024
1f18790
fix dscp type
dplore Jul 23, 2024
efec1db
fix typo on description
dplore Jul 23, 2024
092266f
add mpls exp/traffic class
dplore Jul 23, 2024
645c37b
fix dscp description
dplore Jul 23, 2024
f0d176a
improve description for mpls-in-udp container
dplore Jul 25, 2024
d10d7a1
fix whitespace
dplore Jul 25, 2024
78b02a5
update
dplore Jul 25, 2024
68f1ce9
Merge branch 'master' into dplore/pf-encap-mpls
dplore Aug 8, 2024
1657296
version fix
dplore Aug 8, 2024
0742fa2
version fix
dplore Aug 8, 2024
fe7bcd4
version fix
dplore Aug 8, 2024
0081dd2
update references to rfc 7510
dplore Aug 8, 2024
bf8e797
refine description of mplsinudp source port
dplore Aug 23, 2024
3b35db3
Merge branch 'master' into dplore/pf-encap-mpls
dplore Sep 6, 2024
d614b19
refactor pushed-mpls-label-stack type
dplore Sep 6, 2024
8e9c101
introduce encap-headers container
dplore Sep 6, 2024
a688fae
add state containers
dplore Sep 6, 2024
6b5fe6e
fix whitespace
dplore Sep 6, 2024
985c4f0
add when statements and more descriptions
dplore Sep 7, 2024
bb37bfc
trim ws
dplore Sep 7, 2024
cdeb6a9
move type to state container
dplore Sep 7, 2024
2597179
fix when statements
dplore Sep 7, 2024
4cb3bd9
move pop-top-label
dplore Sep 10, 2024
7b5218e
deprecate encapslate-header
dplore Sep 10, 2024
a07d2d7
trim ws
dplore Sep 10, 2024
0419274
create vxlan encap container and move vni-label and tunnel-src-ip-add…
dplore Sep 11, 2024
c328f95
Merge branch 'master' into dplore/pf-encap-mpls
dplore Sep 11, 2024
b406a74
trim ws
dplore Sep 12, 2024
f893431
Merge branch 'master' into dplore/pf-encap-mpls
dplore Sep 12, 2024
63ccb8e
Merge branch 'master' into dplore/pf-encap-mpls
dplore Sep 19, 2024
a85fa26
revise version description
dplore Sep 19, 2024
a092c7c
remove explicit deprecation and expand description
dplore Sep 25, 2024
dac3511
Merge branch 'master' into dplore/pf-encap-mpls
dplore Oct 2, 2024
7f9e4e8
use ipv4/v6 for udp encap and clarify descriptions
dplore Oct 2, 2024
377974a
fix mpls-label-stack indent
dplore Oct 2, 2024
533a276
do not add pop-top-label to mpls container, refactor mpls-label-stack…
dplore Oct 4, 2024
2090bd1
trim ws
dplore Oct 4, 2024
c47f0c8
don't use a grouping for mpls-label-stack since there is only 1 refer…
dplore Oct 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
310 changes: 285 additions & 25 deletions release/models/aft/openconfig-aft-common.yang

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-ethernet.yang
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ submodule openconfig-aft-ethernet {
"Submodule containing definitions of groupings for the abstract
forwarding tables for Ethernet.";

oc-ext:openconfig-version "2.6.0";
oc-ext:openconfig-version "2.7.0";

revision "2024-07-18" {
description
"Add container for mpls-in-udp under next-hops aft entry state.";
reference "2.7.0";
}

revision "2024-04-25" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-ipv4.yang
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ submodule openconfig-aft-ipv4 {
"Submodule containing definitions of groupings for the abstract
forwarding tables for IPv4.";

oc-ext:openconfig-version "2.6.0";
oc-ext:openconfig-version "2.7.0";

revision "2024-09-05" {
description
"Add encapsulate-stack under aft next-hops.";
reference "2.7.0";
}

revision "2024-04-25" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-ipv6.yang
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ submodule openconfig-aft-ipv6 {
"Submodule containing definitions of groupings for the abstract
forwarding tables for IPv6.";

oc-ext:openconfig-version "2.6.0";
oc-ext:openconfig-version "2.7.0";

revision "2024-07-18" {
description
"Add container for mpls-in-udp under next-hops aft entry state.";
reference "2.7.0";
}

revision "2024-04-25" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-mpls.yang
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ submodule openconfig-aft-mpls {
"Submodule containing definitions of groupings for the abstract
forwarding table for MPLS label forwarding.";

oc-ext:openconfig-version "2.6.0";
oc-ext:openconfig-version "2.7.0";

revision "2024-09-05" {
description
"Add encapsulate-stack under aft next-hops.";
reference "2.7.0";
}

revision "2024-04-25" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-pf.yang
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ submodule openconfig-aft-pf {
fields other than the destination address that is used in
other forwarding tables.";

oc-ext:openconfig-version "2.6.0";
oc-ext:openconfig-version "2.7.0";

revision "2024-07-18" {
description
"Add container for mpls-in-udp under next-hops aft entry state.";
reference "2.7.0";
}

revision "2024-04-25" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-state-synced.yang
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ submodule openconfig-aft-state-synced {
"Submodule containing definitions of groupings for the state
synced signals corresponding to various abstract forwarding tables.";

oc-ext:openconfig-version "2.6.0";
oc-ext:openconfig-version "2.7.0";

revision "2024-07-18" {
description
"Add container for mpls-in-udp under next-hops aft entry state.";
reference "2.7.0";
}

revision "2024-04-25" {
description
Expand Down
12 changes: 11 additions & 1 deletion release/models/aft/openconfig-aft-types.yang
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ module openconfig-aft-types {
"Types related to the OpenConfig Abstract Forwarding
Table (AFT) model";

oc-ext:openconfig-version "1.1.0";
oc-ext:openconfig-version "1.2.0";

revision "2024-07-18" {
description
"Add MPLS in UDP enums for encapsulate-header.";
reference "1.2.0";
}

revision "2022-05-05" {
description
Expand Down Expand Up @@ -89,6 +95,10 @@ module openconfig-aft-types {
description
"The encapsulation header is a VXLAN packet header";
}
enum UDP {
description
"The encapsulation header is UDP packet header.";
}
}
description
"Types of tunnel encapsulation that are supported by systems as either
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft.yang
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ module openconfig-aft {
is referred to as an Abstract Forwarding Table (AFT), rather than
the FIB.";

oc-ext:openconfig-version "2.6.0";
oc-ext:openconfig-version "2.7.0";

revision "2024-09-05" {
description
"Add encapsulate-stack under aft next-hops.";
reference "2.7.0";
}

revision "2024-04-25" {
description
Expand Down
21 changes: 20 additions & 1 deletion release/models/mpls/openconfig-mpls-types.yang
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ module openconfig-mpls-types {
description
"General types for MPLS / TE data model";

oc-ext:openconfig-version "3.5.0";
oc-ext:openconfig-version "3.6.0";

revision "2024-07-24" {
description
"Add mpls-label-stack typdef";
reference "3.6.0";
}

revision "2023-12-14" {
description
Expand Down Expand Up @@ -479,6 +485,19 @@ module openconfig-mpls-types {
reference "RFC 3032 - MPLS Label Stack Encoding";
}

typedef mpls-label-stack {
type mpls-label;
description
dplore marked this conversation as resolved.
Show resolved Hide resolved
"Type used to specify a stack of MPLS label values. This type must be
used in a leaf-list which is ordered by user. The the stack of labels
is encoded where the first entry in the list is the label at the bottom
of the stack.

For example, a packet with a label stack of two labels, the bottom
label being 42 and the top label being 8072 will be represented with
a leaf-list of [42, 8072].";
}

typedef tunnel-type {
type enumeration {
enum P2P {
Expand Down
Loading