added UI elements

This commit is contained in:
dirk 2016-05-24 11:46:32 +02:00
parent 54e6f7e292
commit d68436de12
4 changed files with 40 additions and 10 deletions

View File

@ -2,3 +2,6 @@
# It's a script which deploys your plugin
echo fuel-plugin-dynatrace > /tmp/fuel-plugin-dynatrace

View File

@ -3,9 +3,36 @@ attributes:
# Settings group can be one of "general", "security", "compute", "network",
# "storage", "logging", "openstack_services" and "other".
group: 'other'
fuel-plugin-dynatrace_text:
value: 'Set default value'
label: 'Text field'
description: 'Description for text field'
weight: 25
fuel-plugin-dynatrace_checkbox:
type: "checkbox"
weight: 10
value: false
label: "Install Dynatrace Ruxit agent"
description: "Dynatrace Ruxit agent will be installed on all nodes"
fuel-plugin-dynatrace_tenant:
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"

View File

@ -5,13 +5,13 @@ title: Title for fuel-plugin-dynatrace plugin
# Plugin version
version: '1.0.0'
# Description
description: Please describe your plugin here
description: Plugin for OpenStack Fuel that installs the Dynatrace Ruxit agent
# Required fuel version
fuel_version: ['8.0']
# Specify license of your plugin
licenses: ['Apache License Version 2.0']
# 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
homepage: 'https://github.com/openstack/fuel-plugins'
# Specify a group which your plugin implements, possible options:
@ -20,7 +20,7 @@ homepage: 'https://github.com/openstack/fuel-plugins'
groups: []
# Change `false` to `true` if the plugin can be installed in the environment
# after the deployment.
is_hotpluggable: false
is_hotpluggable: true
# The plugin is compatible with releases in the list
releases:

View File

@ -5,8 +5,8 @@
# here you can also specify several roles, for example
# ['cinder', 'compute'] will be applied only on
# cinder and compute nodes
- role: ['controller']
stage: post_deployment
- role: '*'
stage: post_deployment/8000
type: shell
parameters:
cmd: bash deploy.sh