Skip to content

Commit

Permalink
imagestatus.v1: add text_code proto changes
Browse files Browse the repository at this point in the history
BUG914323

text_code will represent UI coloring

Change-Id: Iafbeba6f308447ff337472824e4559badf8d3669
  • Loading branch information
arwong-arista committed Aug 13, 2024
1 parent e9e57ab commit 53d5d8b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arista/imagestatus.v1/imagestatus-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
# New entries go on top.

Changes:
- date: 2024-08-05
description: Add a new field text_code for GetImageDiffV3
version: 1.16.0
cvaas: true
- date: 2024-07-22
description: Add a new error code ERROR_CODE_ARCH_UNSUPPORTED
version: 1.15.0
Expand Down
4 changes: 4 additions & 0 deletions arista/imagestatus.v1/imagestatus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ message SoftwareImageDiff {
SoftwareImage a = 2;
// b is the software image on the b side (right hand side).
SoftwareImage b = 3;
// text_code is the color in the diff view page.
DiffOp text_code = 4;
}

// SoftwareImageDiffsBySup is software image diff information for each
Expand All @@ -171,6 +173,8 @@ message ExtensionDiff {
Extension a = 2;
// b is the extension on the b side (right hand side).
Extension b = 3;
// text_code is the color in the diff view page.
DiffOp text_code = 4;
}

// TerminAttrDiffsBySup is the terminattr diff information for each supervisor.
Expand Down
8 changes: 8 additions & 0 deletions arista/imagestatus.v1/services.gen.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,10 @@
"b": {
"$ref": "#/definitions/arista.imagestatus.v1.Extension",
"description": "b is the extension on the b side (right hand side)."
},
"textCode": {
"$ref": "#/definitions/arista.imagestatus.v1.DiffOp",
"title": "text_code is the color in the diff view page."
}
},
"description": "ExtensionDiff is the diff for the running/designed extensions."
Expand Down Expand Up @@ -861,6 +865,10 @@
"b": {
"$ref": "#/definitions/arista.imagestatus.v1.SoftwareImage",
"description": "b is the software image on the b side (right hand side)."
},
"textCode": {
"$ref": "#/definitions/arista.imagestatus.v1.DiffOp",
"title": "text_code is the color in the diff view page."
}
},
"description": "SoftwareImageDiff is the diff for the running/designed images."
Expand Down

0 comments on commit 53d5d8b

Please sign in to comment.