Commit de295e25 authored by Christian Jung's avatar Christian Jung

syntax error

parent 5d1e38e3
Pipeline #57272246 passed with stage
in 3 seconds
......@@ -17,7 +17,6 @@ begin
if tag == "department/#{tag_name}" then
$evm.log("info", "Tag matches")
clusters[cluster.name] = "#{cluster.name}"
end
else
$evm.log("info", "Tag does not match")
end
......
......@@ -7,7 +7,7 @@ begin
lans['!'] = '-- select tag first --'
else
$evm.log("info", "Current Tag is: #{current_tag}")
tag_name = current_tag[0].name
tag_name = current_tag
$evm.vmdb(:ems_cluster).all.each do |cluster|
tags = cluster.tags
......
---
- description:
buttons: submit,cancel
label: list_vlans
dialog_tabs:
- description:
display:
label: New tab
display_method:
display_method_options:
position: 0
dialog_groups:
- description:
display:
label: New section
display_method:
display_method_options:
position: 0
dialog_fields:
- name: security_zone
description: Select the security zone to place the Virtual Machine
data_type: string
notes:
notes_display:
display: edit
display_method:
display_method_options: {}
required: false
required_method:
required_method_options: {}
default_value: ''
values:
- :id:
:name: "<None>"
:description: "<None>"
- :id: 99000000000157
:name: dmz
:description: DMZ
- :id: 99000000000159
:name: internal
:description: internal
- :id: 99000000000155
:name: low
:description: low
- :id: 99000000000156
:name: medium
:description: medium
- :id: 99000000000158
:name: public
:description: public
values_method:
values_method_options: {}
options:
:category_id: '99000000000154'
:force_single_value: true
:sort_by: description
:sort_order: ascending
:category_description: Security Zone
:category_name: security_zone
:category_single_value: true
label: Security Zone
position: 0
validator_type:
validator_rule:
reconfigurable: false
dynamic: false
show_refresh_button: false
load_values_on_init: false
read_only: false
auto_refresh: false
trigger_auto_refresh: false
visible: true
type: DialogFieldTagControl
resource_action:
action:
resource_type: DialogField
ae_namespace:
ae_class:
ae_instance:
ae_message:
ae_attributes: {}
dialog_field_responders:
- cluster
- name: cluster
description: select cluster from list
data_type: string
notes:
notes_display:
display: edit
display_method:
display_method_options: {}
required: true
required_method:
required_method_options: {}
default_value: ''
values_method:
values_method_options: {}
options:
:sort_by: description
:sort_order: ascending
:force_multi_value: false
label: Cluster
position: 1
validator_type:
validator_rule:
reconfigurable: false
dynamic: true
show_refresh_button: false
load_values_on_init: false
read_only: false
auto_refresh: false
trigger_auto_refresh: false
visible: true
type: DialogFieldDropDownList
resource_action:
action:
resource_type: DialogField
ae_namespace: DynamicDialogs
ae_class: methods
ae_instance: list_clusters
ae_message:
ae_attributes: {}
dialog_field_responders:
- networks
values:
- name: networks
description: select network the Virtual Machine will be placed on
data_type: string
notes:
notes_display:
display: edit
display_method:
display_method_options: {}
required: true
required_method:
required_method_options: {}
default_value: ''
values_method:
values_method_options: {}
options:
:sort_by: description
:sort_order: ascending
:force_multi_value: false
label: Network
position: 2
validator_type:
validator_rule:
reconfigurable: false
dynamic: true
show_refresh_button: false
load_values_on_init: false
read_only: false
auto_refresh: false
trigger_auto_refresh: false
visible: true
type: DialogFieldDropDownList
resource_action:
action:
resource_type: DialogField
ae_namespace: DynamicDialogs
ae_class: methods
ae_instance: list_vlans
ae_message:
ae_attributes: {}
dialog_field_responders: []
values:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment