diff --git a/muranodashboard/services/LinuxApache.yaml b/muranodashboard/services/LinuxApache.yaml new file mode 100644 index 000000000..452b36525 --- /dev/null +++ b/muranodashboard/services/LinuxApache.yaml @@ -0,0 +1,77 @@ +name: Linux Apache +type: linuxApacheService + +description: >- + Linux Apache Service + Demonstrates a linux agent, which installs Apache web server. + +unitTemplates: + - {} + +forms: + - serviceConfiguration: + fields: + - name: name + type: string + label: Service Name + description: >- + To identify your service in logs please specify a service name + - name: deployApachePHP + label: PHP module + type: boolean + description: >- + Add php support into Apache web server. + initial: false + required: false + widgetMedia: + css: {all: [muranodashboard/css/checkbox.css]} + - name: dcInstances + type: instance + minValue: 1 + maxValue: 10 + attributeNames: [units, instanceCount] + initial: 1 + label: Instance Count + description: Several instances with Apache web Service can be created at one time. + helpText: Enter an integer value between 1 and 10 + - name: unitNamingPattern + type: string + label: Hostname + description: >- + For your convenience instance hostname can be specified. + Enter a name or leave blank for random name generation. + required: false + regexpValidator: '^(([a-zA-Z0-9#][a-zA-Z0-9-#]*[a-zA-Z0-9#])\.)*([A-Za-z0-9#]|[A-Za-z0-9#][A-Za-z0-9-#]*[A-Za-z0-9#])$' + helpText: Optional field for a machine hostname + # temporaryHack + widgetMedia: + js: [muranodashboard/js/support_placeholder.js] + css: {all: [muranodashboard/css/support_placeholder.css]} + - instanceConfiguration: + fields: + - name: title + type: string + required: false + hidden: true + attributeNames: false + descriptionTitle: Instance Configuration + description: Specify some instance parameters on which service would be created. + - name: flavor + type: flavor + label: Instance flavor + description: >- + Select registered in Openstack flavor. Consider that service performance + depends on this parameter. + required: false + - name: osImage + type: image + imageType: linux + label: Instance image + description: >- + Select valid image for a service. Image should already be prepared and + registered in glance. + - name: availabilityZone + type: azone + label: Availability zone + description: Select availability zone where service would be installed. + required: false diff --git a/muranodashboard/services/LinuxTelnet.yaml b/muranodashboard/services/LinuxTelnet.yaml index 7c423ef89..530ca02ad 100644 --- a/muranodashboard/services/LinuxTelnet.yaml +++ b/muranodashboard/services/LinuxTelnet.yaml @@ -34,15 +34,6 @@ forms: hidden: true attributeNames: units initial: 1 - - name: deployTelnet - type: boolean - label: Deploy Telnet - description: >- - Indicates if the target machine has to get telnet deployed - initial: true - required: false - widgetMedia: - css: {all: [muranodashboard/css/checkbox.css]} - name: unitNamingPattern type: string label: Hostname