File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ message UpdateVmRequest {
131131 bool update_ports = 5 ;
132132 // Port mapping
133133 repeated PortMapping ports = 7 ;
134+ // Optional update KMS URLs.
135+ bool update_kms_urls = 8 ;
136+ repeated string kms_urls = 9 ;
137+ // Optional update gateway URLs.
138+ bool update_gateway_urls = 10 ;
139+ repeated string gateway_urls = 11 ;
134140 // gpus
135141 GpuConfig gpus = 13 ;
136142 // Optional compute resource updates. Leave unset to keep current configuration.
Original file line number Diff line number Diff line change @@ -398,6 +398,12 @@ impl VmmRpc for RpcHandler {
398398 } )
399399 . collect :: < Result < Vec < _ > > > ( ) ?;
400400 }
401+ if request. update_kms_urls {
402+ manifest. kms_urls = request. kms_urls . clone ( ) ;
403+ }
404+ if request. update_gateway_urls {
405+ manifest. gateway_urls = request. gateway_urls . clone ( ) ;
406+ }
401407 vm_work_dir
402408 . put_manifest ( & manifest)
403409 . context ( "Failed to put manifest" ) ?;
You can’t perform that action at this time.
0 commit comments