Skip to content

Commit e3f9677

Browse files
committed
fix behavior during save
1 parent 9f8b6fd commit e3f9677

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

deployments/deployment-path.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ node_types:
7777
is selected, and the VM was powered on before the save, then the VM will shut
7878
down for the duration of the save, and then be powered on at the end."
7979
constraints:
80-
- valid_values: [ "Remain Powered On", "Power Off" ]
81-
default: "Remain Powered On"
82-
tags: [ ]
80+
- valid_values: [ "Remain Powered On", "Power Off", "Inherited" ]
81+
default: "Inherited"
82+
tags: [ user_input ]
8383
Private IP:
8484
type: string
8585
description: "The IP will be set for the management interface. The IP should be

shell-definition.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ tosca_definitions_version: tosca_simple_yaml_1_0
33
metadata:
44
template_name: OpenStack Cloud Provider Shell 2G
55
template_author: Quali
6-
template_version: 1.2.0
6+
template_version: 1.2.1
77
template_icon: shell-icon.png
88

99
description: >
@@ -87,6 +87,14 @@ node_types:
8787
Networking type:
8888
type: string
8989
default: 'L2'
90+
Behavior during save:
91+
type: string
92+
default: "Power Off"
93+
description: "Determines the VM behavior when the sandbox is saved. If Power
94+
off is selected, and the VM was powered on before the save, then the VM
95+
will shut down for the duration of the save, and then be powered on at the end."
96+
constraints:
97+
- valid_values: [ "Remain Powered On", "Power Off" ]
9098
capabilities:
9199
concurrent_command_capability:
92100
type: cloudshell.capabilities.SupportConcurrentCommands
@@ -166,6 +174,15 @@ node_types:
166174
For Open vSwitch plugin, the physical interface name is located in the
167175
'/etc/neutron/plugins/ml2/openvswitch_agent.ini' file under the 'bridge_mappings' attribute
168176
(example: bridge_mappings = public:br-vlan)."
177+
Behavior during save:
178+
type: string
179+
default: "Power Off"
180+
description: "Determines the VM behavior when the sandbox is saved. If Power
181+
off is selected, and the VM was powered on before the save, then the VM
182+
will shut down for the duration of the save, and then be powered on at the
183+
end."
184+
constraints:
185+
- valid_values: [ "Remain Powered On", "Power Off" ]
169186
artifacts:
170187
icon:
171188
file: shell-icon.png

0 commit comments

Comments
 (0)