These forums are a place for learning, helping and sharing experiences with others about any of our products. Feel free to ask a question and get answers from our community and our most advanced users.
Note that these are public forums - anyone can view the discussions here.
VISIT OUR DIFFERENT FORUMS:
Announcements > | |
CloudShell > | TestShell > |
Developers > | BI (Business Inteligence) > |
This is where you can suggest your ideas to help and improve the product for everyone.
Please make sure to read the following article before posting a new idea, to get more information about the required information and ideas lifecycle.
Feel free to vote and comment on other ideas to promote them.
Thanks for everyone who suggested the ideas and voted for them.
Find, download and share integrations that can extend and enhance the CloudShell experience.
Integrations have several levels:
Certified - Officially tested and supported by Quali.
Preview - Provides a sneak peek to what the Quali team is developing. Officially supported by Quali. Feel free to experiment and comment, but please take into consideration that it is not yet tested and released.
Community - Integrations shared by community users. Feel free to look into what other users have contributed, please take into consideration that these integrations are not tested by Quali.
To learn more about creating Shells and integrating with CloudShell, use the following links:
CloudShell's Dev Guide > | Configuration Management > |
Getting started with Shells > | Extending CloudShell with Cloud Providers > |
Getting started with Orchestration > | API Guide > |
To share your integration, follow the instructions in this guide >.
Hey Everyone,
In our deployment of CloudShell in the past we've built out environment commands the traditional way using authoring tool. We often authored these command inputs to include a drop down list of inputs, like show below:
As you can see, we also could have a command name plus a short comment about the command. In the past, this was all done using a custom .dll based environment driver.
When using a python/script driven environment command, how can I setup a drop-down list and also have the command name + description? Please let me know if this is clear, or if there's any other questions.
Thanks! Jacob
Answer by Chris Grabosky · Oct 12, 2016 at 12:37 PM
Yup, sorry that I missed the drop-down part in your initial post.
This can be done on resource shell drivers as seen here (about 1/2 the way down). It is described in the XML metadata.
I do not believe it can be done with scripts at this time, only Authoring drivers or python drivers.
Answer by Chris Grabosky · Oct 10, 2016 at 12:21 PM
Hi,
Are you specifically just asking about environment scripts? If so, you can follow the following:
Log into the portal as an admin, go to the Manage tab, Click on Scripts and Blueprint/Environment Scripts, Upload your script, and at the bottom is "Add Parameter" where you can enter the Name, default value, and description. This then gets entered into the script as `os.environ['PARAMNAME']`
There is more info here: https://qualisystems.github.io/devguide//orchestration/getting-information-from-cloudshell.html
If it is for a resource driver in python, it can be done following this tutorial: https://qualisystems.github.io/devguide//shells/customizing-driver-commands.html
Answer by Yaniv Kalsky · Feb 15, 2017 at 01:41 AM
Hi @jacoadam
I opened a new idea with similar request/s, you can vote up for it and help it get pushed to the roadmap.
http://community.quali.com/content/idea/1103/script-parameters-enhancements.html
Yaniv
These forums are a place for learning, helping and sharing experiences with others about any of our products. Feel free to ask a question and get answers from our community and our most advanced users.
Note that these are public forums - anyone can view the discussions here.
Announcements | |
CloudShell | TestShell |
Developers | BI (Business Inteligence) |
This is where you can suggest your ideas to help and improve the product for everyone.
Please make sure to read the following article before posting a new idea, to get more information about the required information and ideas lifecycle.
Feel free to vote and comment on other ideas to promote them.
Thanks for everyone who suggested the ideas and voted for them.
Find, download and share integrations that can extend and enhance the CloudShell experience.
Integrations have several levels:
Certified - Officially tested and supported by Quali.
Preview - Provides a sneak peek to what the Quali team is developing. Officially supported by Quali. Feel free to experiment and comment, but please take into consideration that it is not yet tested and released.
Community - Integrations shared by community users. Feel free to look into what other users have contributed, please take into consideration that these integrations are not tested by Quali.
To learn more about creating Shells and integrating with CloudShell, use the following links:
CloudShell's Dev Guide | Configuration Management |
Getting started with Shells | Extending CloudShell with Cloud Providers |
Getting started with Orchestration | API Guide |
To share your integration, follow the instructions in this guide.
Update Resource Family or Model 1 Answer
creating a template in vcenter 1 Answer
Cisco channelized T1 cards 0 Answers
OVF tool cannot be open 2 Answers
Autoload groups of resources? 3 Answers