Skip to content

Commit

Permalink
Align naming in Switch cluster XML with the spec. (#24317)
Browse files Browse the repository at this point in the history
* Align naming in Switch cluster XML with the spec.

* Auto-update ZAP files with new attribute names.

* Regenerate generated code.
  • Loading branch information
bzbarsky-apple authored Jan 9, 2023
1 parent b953c0b commit e170a9c
Show file tree
Hide file tree
Showing 27 changed files with 582 additions and 580 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5329,7 +5329,7 @@
"enabled": 0,
"attributes": [
{
"name": "number of positions",
"name": "NumberOfPositions",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -5345,7 +5345,7 @@
"reportableChange": 0
},
{
"name": "current position",
"name": "CurrentPosition",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -5361,7 +5361,7 @@
"reportableChange": 0
},
{
"name": "multi press max",
"name": "MultiPressMax",
"code": 2,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -11953,7 +11953,7 @@
"enabled": 1,
"attributes": [
{
"name": "number of positions",
"name": "NumberOfPositions",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -11969,7 +11969,7 @@
"reportableChange": 0
},
{
"name": "current position",
"name": "CurrentPosition",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -11985,7 +11985,7 @@
"reportableChange": 0
},
{
"name": "multi press max",
"name": "MultiPressMax",
"code": 2,
"mfgCode": null,
"side": "server",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5329,7 +5329,7 @@
"enabled": 0,
"attributes": [
{
"name": "number of positions",
"name": "NumberOfPositions",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -5345,7 +5345,7 @@
"reportableChange": 0
},
{
"name": "current position",
"name": "CurrentPosition",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -5361,7 +5361,7 @@
"reportableChange": 0
},
{
"name": "multi press max",
"name": "MultiPressMax",
"code": 2,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -11803,7 +11803,7 @@
"enabled": 1,
"attributes": [
{
"name": "number of positions",
"name": "NumberOfPositions",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -11819,7 +11819,7 @@
"reportableChange": 0
},
{
"name": "current position",
"name": "CurrentPosition",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -11835,7 +11835,7 @@
"reportableChange": 0
},
{
"name": "multi press max",
"name": "MultiPressMax",
"code": 2,
"mfgCode": null,
"side": "server",
Expand Down
6 changes: 3 additions & 3 deletions examples/bridge-app/bridge-common/bridge-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -7151,7 +7151,7 @@
"enabled": 1,
"attributes": [
{
"name": "number of positions",
"name": "NumberOfPositions",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -7167,7 +7167,7 @@
"reportableChange": 0
},
{
"name": "current position",
"name": "CurrentPosition",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -7183,7 +7183,7 @@
"reportableChange": 0
},
{
"name": "multi press max",
"name": "MultiPressMax",
"code": 2,
"mfgCode": null,
"side": "server",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4551,7 +4551,7 @@
"enabled": 0,
"attributes": [
{
"name": "number of positions",
"name": "NumberOfPositions",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -4567,7 +4567,7 @@
"reportableChange": 0
},
{
"name": "current position",
"name": "CurrentPosition",
"code": 1,
"mfgCode": null,
"side": "server",
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_fan_7N2TobIlOX.zap
Original file line number Diff line number Diff line change
Expand Up @@ -4599,7 +4599,7 @@
"enabled": 1,
"attributes": [
{
"name": "number of positions",
"name": "NumberOfPositions",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -4615,7 +4615,7 @@
"reportableChange": 0
},
{
"name": "current position",
"name": "CurrentPosition",
"code": 1,
"mfgCode": null,
"side": "server",
Expand Down
6 changes: 3 additions & 3 deletions examples/dynamic-bridge-app/bridge-common/bridge-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -7151,7 +7151,7 @@
"enabled": 1,
"attributes": [
{
"name": "number of positions",
"name": "NumberOfPositions",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -7167,7 +7167,7 @@
"reportableChange": 0
},
{
"name": "current position",
"name": "CurrentPosition",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -7183,7 +7183,7 @@
"reportableChange": 0
},
{
"name": "multi press max",
"name": "MultiPressMax",
"code": 2,
"mfgCode": null,
"side": "server",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9071,7 +9071,7 @@
"enabled": 1,
"attributes": [
{
"name": "number of positions",
"name": "NumberOfPositions",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -9087,7 +9087,7 @@
"reportableChange": 0
},
{
"name": "current position",
"name": "CurrentPosition",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -9103,7 +9103,7 @@
"reportableChange": 0
},
{
"name": "multi press max",
"name": "MultiPressMax",
"code": 2,
"mfgCode": null,
"side": "server",
Expand Down
Loading

0 comments on commit e170a9c

Please sign in to comment.