Skip to content

Commit

Permalink
add system mac leaf at path /system/mac-address/state/system-mac
Browse files Browse the repository at this point in the history
  • Loading branch information
paurushmani1 committed Jul 25, 2023
1 parent e5ce68c commit eb2ecd5
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions release/models/system/openconfig-system.yang
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ module openconfig-system {
Section 4.c of the IETF Trust's Legal Provisions Relating
to IETF Documents (http://trustee.ietf.org/license-info).";

oc-ext:openconfig-version "0.17.1";
oc-ext:openconfig-version "0.18.0";

revision "2023-07-19" {
description
"Added the system-mac leaf.";
reference "0.18.0";
}

revision "2023-06-16" {
description
Expand Down Expand Up @@ -977,9 +983,9 @@ module openconfig-system {
}
}

grouping system-routing-macaddr-config {
grouping system-macaddr-config {
description
"Configuration data for system's routing MAC addresses.";
"Configuration data for system's MAC addresses.";

leaf routing-mac {
type oc-yang:mac-address;
Expand All @@ -996,6 +1002,12 @@ module openconfig-system {
MAC address that system owns. For instance, it's allocation could
be managed by an external controller.";
}

leaf system-mac {
type oc-yang:mac-address;
description
"Configured or assigned MAC address for the system.";
}
}

grouping system-macaddr-top {
Expand All @@ -1008,17 +1020,17 @@ module openconfig-system {

container config {
description
"Configuration data for routing MAC address.";
"Configuration data for MAC addresses.";

uses system-routing-macaddr-config;
uses system-macaddr-config;
}

container state {
config false;
description
"Operational state data for routing MAC address.";
"Operational state data for MAC addresses.";

uses system-routing-macaddr-config;
uses system-macaddr-config;
}
}
}
Expand Down

0 comments on commit eb2ecd5

Please sign in to comment.