Skip to content

Commit

Permalink
replaced repeated definition with 'uses' statement
Browse files Browse the repository at this point in the history
Replaced repeated definition of leaf port-priority with `uses` statement, as per change request.
  • Loading branch information
marius-ore committed Sep 7, 2023
1 parent 5cdabc2 commit e86f152
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions release/models/lacp/openconfig-lacp.yang
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,6 @@ module openconfig-lacp {
description
"Operational status data for the member interfaces";

leaf interface {
type oc-if:base-interface-ref;
description
"Reference to interface member of the LACP aggregate";
}

leaf activity {
type lacp-activity-type;
description "Indicates participant is active or passive";
Expand Down Expand Up @@ -250,12 +244,6 @@ module openconfig-lacp {
port";
}

leaf port-priority {
type uint16;
description
"Member interface's priority in its aggregate interface.";
}

leaf partner-port-priority {
type uint16;
description
Expand Down Expand Up @@ -371,6 +359,7 @@ grouping aggregation-lacp-members-statistics {
description
"Operational state data for aggregate members";

uses aggregation-lacp-members-config;
uses aggregation-lacp-members-state;
uses aggregation-lacp-members-statistics;
}
Expand Down

0 comments on commit e86f152

Please sign in to comment.