Skip to content

Commit cb0bf69

Browse files
committed
fix
1 parent ea37139 commit cb0bf69

7 files changed

Lines changed: 1203 additions & 1168 deletions

File tree

apiv2/api/openapi/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16298,6 +16298,12 @@ components:
1629816298
maxLength: 1024
1629916299
description: Human-readable KVM session status message. Set by kvm-manager only.
1630016300
readOnly: true
16301+
desiredConsentCode:
16302+
type: string
16303+
title: desired_consent_code
16304+
pattern: ^[0-9]{6}$
16305+
description: '(OPTIONAL) Deprecated: consent handling moved to direct orch-cli↔MPS communication. Field retained for wire compatibility only.'
16306+
deprecated: true
1630116307
solStatus:
1630216308
title: sol_status
1630316309
description: SOL session activation status. Set by sol-manager only.

apiv2/api/proto/resources/compute/v1/compute.proto

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,13 @@ message HostResource {
282282
(buf.validate.field).string = {max_len: 1024}
283283
];
284284

285-
reserved 106; reserved "desired_consent_code";
285+
// Deprecated: consent handling moved to direct orch-cli↔MPS communication. Field retained for wire compatibility only.
286+
string desired_consent_code = 106 [
287+
(google.api.field_behavior) = OPTIONAL,
288+
deprecated = true,
289+
(buf.validate.field).string = {pattern: "^[0-9]{6}$"},
290+
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
291+
];
286292

287293
// SOL session activation status. Set by sol-manager only.
288294
SolStatus sol_status = 108 [(google.api.field_behavior) = OUTPUT_ONLY];

apiv2/docs/proto.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@ A Host resource.
819819
| desired_kvm_state | [KvmState](#resources-compute-v1-KvmState) | | Desired KVM session state. Written by operator. Valid values: KVM_STATE_START, KVM_STATE_STOP, KVM_CONSENT_RECEIVED, KVM_REDIRECTION_RECEIVED. |
820820
| current_kvm_state | [KvmState](#resources-compute-v1-KvmState) | | Current KVM session state. Set by kvm-manager only. |
821821
| kvm_session_status | [string](#string) | | Human-readable KVM session status message. Set by kvm-manager only. |
822+
| desired_consent_code | [string](#string) | | **Deprecated.** Deprecated: consent handling moved to direct orch-cli↔MPS communication. Field retained for wire compatibility only. |
822823
| sol_status | [SolStatus](#resources-compute-v1-SolStatus) | | SOL session activation status. Set by sol-manager only. |
823824
| desired_sol_state | [SolState](#resources-compute-v1-SolState) | | Desired SOL session state. Written by operator. Valid values: SOL_STATE_START, SOL_STATE_STOP, SOL_STATE_CONSENT_RECEIVED, SOL_STATE_REDIRECTION_RECEIVED. |
824825
| current_sol_state | [SolState](#resources-compute-v1-SolState) | | Current SOL session state. Set by sol-manager only. |

apiv2/internal/pbapi/resources/compute/v1/compute.pb.go

Lines changed: 657 additions & 642 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apiv2/internal/pbapi/resources/compute/v1/compute_constants.pb.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apiv2/pkg/api/v2/edge-infrastructure-manager-openapi-server.gen.go

Lines changed: 527 additions & 525 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apiv2/pkg/api/v2/edge-infrastructure-manager-openapi-types.gen.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)