Hello everybody.
We are evaluating ManageIQ in our company, and the product seems to be a good solution.
However, I’m trying to build a custom workflow to automate custom services, not necessarily related to VMs, Containers or custom stacks. I want to be able to create a custom form with an array of multiple input elements so that I can manage some custom service. You can imagine things like DNS records manager or firewall rules. Let’s focus on firewall rules since is more easy to explain.
Process:
-
User select a VLAN from an input drop menu, automatic filled with VLAN IDs that the user has permission.
-
After the user select this VLAN ID, the form page is updated with a multiple text input fields (array of input text box) containing firewall rules for this VLAN: Rule ID, Source IP/net, Destination IP/net, port, protocol. One rule by line.
-
The user can: Erase one or more lines (rules); Edit one or more lines; Create one or more lines.
-
The user make the modifications and submit the form.
-
The underlying workflow update the rules using ansible.
I can see how to make some steps of this process, but can’t figure out how to create this custom form with an array of input box. Is this possible in ManageIQ? How can I accomplish this task?
Already searched in this forum, and have read the docs and couldn’t find a solution. What I found:
-
This link describes how to create network firewalls in other way: https://manageiq.gitbook.io/mastering-cloudforms-automation-addendum/generic_objects/chapter-1#i7 . The problem with this approach is that the final user is not able to fully edit rules. You would need to create rules template so that the user can select it.
-
This user asks about array of string input: Dialogs: Array of Strings.
-
The page to create or modify disks for VMs in the compute page is, in some way, more close to what we want in terms of functionality for the array of input box.
Example just to ilustrate the “array of input box” (found on google. Not fully what I want): https://documentation.meraki.com/@api/deki/files/6188/2017-07-24_09_05_40-Traffic_Shaping_-_Meraki_Dashboard.png?revision=1&size=bestfit&width=642&height=456