Skip to content

Instantly share code, notes, and snippets.

@psachin
Created March 4, 2017 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psachin/d601fc54c9ba060c132fbf052af8c7c7 to your computer and use it in GitHub Desktop.
Save psachin/d601fc54c9ba060c132fbf052af8c7c7 to your computer and use it in GitHub Desktop.
Service dialog to attach disk to RHV VMs
---
- description: Add disk
buttons: submit,cancel
label: Add disk
blueprint_id:
dialog_tabs:
- description: Information
display: edit
label: Info
display_method:
display_method_options:
position: 0
dialog_groups:
- description: Disk Specifications
display: edit
label: Disk Specifications
display_method:
display_method_options:
position: 0
dialog_fields:
- name: size
description: Disk size
data_type: integer
notes:
notes_display:
display: edit
display_method:
display_method_options: {}
required: true
required_method:
required_method_options: {}
default_value: '1'
values:
values_method:
values_method_options: {}
options:
:protected: false
label: Disk size(GB)
position: 0
validator_type:
validator_rule:
reconfigurable: false
dynamic: false
show_refresh_button:
load_values_on_init:
read_only: false
auto_refresh:
trigger_auto_refresh:
visible: true
type: DialogFieldTextBox
resource_action:
action:
resource_type: DialogField
ae_namespace:
ae_class:
ae_instance:
ae_message:
ae_attributes: {}
- name: thin_provisioned
description: Thin provisioned
data_type: string
notes:
notes_display:
display: edit
display_method:
display_method_options: {}
required: true
required_method:
required_method_options: {}
default_value: 'true'
values:
- - 'true'
- 'Yes'
- - 'false'
- 'No'
values_method:
values_method_options: {}
options:
:sort_by: :description
:sort_order: :descending
label: Thin provisioned
position: 1
validator_type:
validator_rule:
reconfigurable:
dynamic: false
show_refresh_button:
load_values_on_init:
read_only: false
auto_refresh:
trigger_auto_refresh: true
visible: true
type: DialogFieldRadioButton
resource_action:
action:
resource_type: DialogField
ae_namespace:
ae_class:
ae_instance:
ae_message:
ae_attributes: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment