Skip to content

Commit

Permalink
Remove unused chassis-id for P4RT (openconfig#1020)
Browse files Browse the repository at this point in the history
* (M) p4rt/openconfig-p4rt.yang
    - Remove unused chassis-id
  • Loading branch information
earies authored Dec 27, 2023
1 parent 3ae632d commit af9d6b6
Showing 1 changed file with 7 additions and 27 deletions.
34 changes: 7 additions & 27 deletions release/models/p4rt/openconfig-p4rt.yang
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ module openconfig-p4rt {
The P4RT protocol specification is linked from https://p4.org/specs/
under the P4Runtime heading.";

oc-ext:openconfig-version "0.4.0";
oc-ext:openconfig-version "1.0.0";

revision 2023-12-13 {
description
"Remove unused chassis id";
reference "1.0.0";
}

revision 2022-08-19 {
description
Expand Down Expand Up @@ -104,18 +110,6 @@ module openconfig-p4rt {
}
}

grouping p4rt-chassis-config {
description
"Config regarding P4RT use cases which corresponds to the global device hardware package";

leaf id {
type uint32;
description
"An identifier used for the root of oc-p4rt:node-id. It is used to
indicate which oc-p4rt:node-id's belong to the same device";
}
}

grouping p4rt-ic-config {
description
"Integrated-circuit specific configuration that is applicable to devices
Expand Down Expand Up @@ -176,20 +170,6 @@ module openconfig-p4rt {
uses p4rt-ic-config;
}

augment "/oc-platform:components/oc-platform:component/" +
"oc-platform:chassis/oc-platform:config" {
description
"Add P4RT chassis config to platform chassis component.";
uses p4rt-chassis-config;
}

augment "/oc-platform:components/oc-platform:component/" +
"oc-platform:chassis/oc-platform:state" {
description
"Add P4RT chassis state to platform chassis component.";
uses p4rt-chassis-config;
}

}

// rpc statements
Expand Down

0 comments on commit af9d6b6

Please sign in to comment.