added UI elements
This commit is contained in:
parent
54e6f7e292
commit
d68436de12
|
@ -2,3 +2,6 @@
|
||||||
|
|
||||||
# It's a script which deploys your plugin
|
# It's a script which deploys your plugin
|
||||||
echo fuel-plugin-dynatrace > /tmp/fuel-plugin-dynatrace
|
echo fuel-plugin-dynatrace > /tmp/fuel-plugin-dynatrace
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,36 @@ attributes:
|
||||||
# Settings group can be one of "general", "security", "compute", "network",
|
# Settings group can be one of "general", "security", "compute", "network",
|
||||||
# "storage", "logging", "openstack_services" and "other".
|
# "storage", "logging", "openstack_services" and "other".
|
||||||
group: 'other'
|
group: 'other'
|
||||||
fuel-plugin-dynatrace_text:
|
|
||||||
value: 'Set default value'
|
fuel-plugin-dynatrace_checkbox:
|
||||||
label: 'Text field'
|
type: "checkbox"
|
||||||
description: 'Description for text field'
|
weight: 10
|
||||||
weight: 25
|
value: false
|
||||||
|
label: "Install Dynatrace Ruxit agent"
|
||||||
|
description: "Dynatrace Ruxit agent will be installed on all nodes"
|
||||||
|
|
||||||
|
fuel-plugin-dynatrace_tenant:
|
||||||
type: "text"
|
type: "text"
|
||||||
|
weight: 20
|
||||||
|
value: ""
|
||||||
|
label: "Dynatrace Ruxit Tenant ID"
|
||||||
|
description: "Dynatrace Ruxit Tenant ID description"
|
||||||
|
restricitons:
|
||||||
|
- condition: "not (settings:fuel-plugin-dynatrace_checkbox)"
|
||||||
|
action: hide
|
||||||
|
regex:
|
||||||
|
source: '\S'
|
||||||
|
error: "Dynatrace Ruxit Tenant ID must not be empty"
|
||||||
|
|
||||||
|
fuel-plugin-dynatrace_token:
|
||||||
|
type: "text"
|
||||||
|
weight: 30
|
||||||
|
value: ""
|
||||||
|
label: "Dynatrace Ruxit Token"
|
||||||
|
description: "Dynatrace Ruxit Token description"
|
||||||
|
restricitons:
|
||||||
|
- condition: "not (settings:fuel-plugin-dynatrace_checkbox)"
|
||||||
|
action: hide
|
||||||
|
regex:
|
||||||
|
source: '\S'
|
||||||
|
error: "Dynatrace Ruxit Token must not be empty"
|
||||||
|
|
|
@ -5,13 +5,13 @@ title: Title for fuel-plugin-dynatrace plugin
|
||||||
# Plugin version
|
# Plugin version
|
||||||
version: '1.0.0'
|
version: '1.0.0'
|
||||||
# Description
|
# Description
|
||||||
description: Please describe your plugin here
|
description: Plugin for OpenStack Fuel that installs the Dynatrace Ruxit agent
|
||||||
# Required fuel version
|
# Required fuel version
|
||||||
fuel_version: ['8.0']
|
fuel_version: ['8.0']
|
||||||
# Specify license of your plugin
|
# Specify license of your plugin
|
||||||
licenses: ['Apache License Version 2.0']
|
licenses: ['Apache License Version 2.0']
|
||||||
# Specify author or company name
|
# Specify author or company name
|
||||||
authors: ['Specify author or company name']
|
authors: ['Dirk Wallerstorfer (dirk.wallerstorfer@dynatrace.com), Dynatrace']
|
||||||
# A link to the plugin's page
|
# A link to the plugin's page
|
||||||
homepage: 'https://github.com/openstack/fuel-plugins'
|
homepage: 'https://github.com/openstack/fuel-plugins'
|
||||||
# Specify a group which your plugin implements, possible options:
|
# Specify a group which your plugin implements, possible options:
|
||||||
|
@ -20,7 +20,7 @@ homepage: 'https://github.com/openstack/fuel-plugins'
|
||||||
groups: []
|
groups: []
|
||||||
# Change `false` to `true` if the plugin can be installed in the environment
|
# Change `false` to `true` if the plugin can be installed in the environment
|
||||||
# after the deployment.
|
# after the deployment.
|
||||||
is_hotpluggable: false
|
is_hotpluggable: true
|
||||||
|
|
||||||
# The plugin is compatible with releases in the list
|
# The plugin is compatible with releases in the list
|
||||||
releases:
|
releases:
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
# here you can also specify several roles, for example
|
# here you can also specify several roles, for example
|
||||||
# ['cinder', 'compute'] will be applied only on
|
# ['cinder', 'compute'] will be applied only on
|
||||||
# cinder and compute nodes
|
# cinder and compute nodes
|
||||||
- role: ['controller']
|
- role: '*'
|
||||||
stage: post_deployment
|
stage: post_deployment/8000
|
||||||
type: shell
|
type: shell
|
||||||
parameters:
|
parameters:
|
||||||
cmd: bash deploy.sh
|
cmd: bash deploy.sh
|
||||||
|
|
Loading…
Reference in New Issue