Skip to content

Commit

Permalink
Augmented attributes interface-ref and metric fields to mpls-static l…
Browse files Browse the repository at this point in the history
…sp (openconfig#1021)

* Add interface-ref and metric fields to mpls-static lsp
  • Loading branch information
Shashank-arista authored Apr 17, 2024
1 parent b493367 commit 7e546de
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 5 deletions.
9 changes: 8 additions & 1 deletion release/models/mpls/openconfig-mpls-igp.yang
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ submodule openconfig-mpls-igp {
"Configuration generic configuration parameters for IGP-congruent
LSPs";

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

revision "2023-12-14" {
description
"Added additional attributes oc-if:interface-ref
and metric attributes to static lsp";
reference "3.5.0";
}

revision "2023-07-25" {
description
Expand Down
19 changes: 18 additions & 1 deletion release/models/mpls/openconfig-mpls-static.yang
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ submodule openconfig-mpls-static {
import openconfig-mpls-types {prefix oc-mplst; }
import openconfig-inet-types { prefix inet; }
import openconfig-extensions { prefix oc-ext; }
import openconfig-interfaces { prefix oc-if; }


// meta
Expand All @@ -23,7 +24,14 @@ submodule openconfig-mpls-static {
"Defines static LSP configuration";


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

revision "2023-12-14" {
description
"Added additional attributes oc-if:interface-ref
and metric attributes to static lsp";
reference "3.5.0";
}

revision "2023-07-25" {
description
Expand Down Expand Up @@ -170,6 +178,15 @@ submodule openconfig-mpls-static {
"label value to push at the current hop for the
LSP";
}

// interface-ref
uses oc-if:interface-ref-common;

leaf metric {
type uint8;
description
"Specifies metric value used for the MPLS route";
}
}

grouping static-lsp-ingress-config {
Expand Down
9 changes: 8 additions & 1 deletion release/models/mpls/openconfig-mpls-te.yang
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ submodule openconfig-mpls-te {
signaling protocol or mechanism (see related submodules for
signaling protocol-specific configuration).";

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

revision "2023-12-14" {
description
"Added additional attributes oc-if:interface-ref
and metric attributes to static lsp";
reference "3.5.0";
}

revision "2023-07-25" {
description
Expand Down
9 changes: 8 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,14 @@ module openconfig-mpls-types {
description
"General types for MPLS / TE data model";

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

revision "2023-12-14" {
description
"Added additional attributes oc-if:interface-ref
and metric attributes to static lsp";
reference "3.5.0";
}

revision "2021-12-01" {
description
Expand Down
9 changes: 8 additions & 1 deletion release/models/mpls/openconfig-mpls.yang
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,14 @@ module openconfig-mpls {
+------+ |ROUTING| +-----+
+-------+
";
oc-ext:openconfig-version "3.4.0";
oc-ext:openconfig-version "3.5.0";

revision "2023-12-14" {
description
"Added additional attributes oc-if:interface-ref
and metric attributes to static lsp";
reference "3.5.0";
}

revision "2023-07-25" {
description
Expand Down

0 comments on commit 7e546de

Please sign in to comment.