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 >.
What's the recommended way to add behavior to resources that already have a driver? For example, we have some additional interface configuration steps we need to take on some Cisco router interfaces. I looked at the Shell Developer Guide, but it's all about creating a new driver for resources that don't already have one.
It seems my options are:
Any comments and suggestions are greatly appreciated.
(Note that we're still on 7.1, but I'm interested in how we could do this with 7.1 or 8.0 and the gen 2 shells.)
Answer by Dan Michlin · May 16, 2017 at 08:27 AM
Hi Jim,
It really depends on what you want to achieve.
If you just want to add another set of commands to a resource and those doesn't require you to use our python packages you can just add them as a python script and attach to the resource those commands will be exposed in the interface and can be called from the orchestration.
If you do need to use our existing packages (without modifying them) for some functionality then i would go with Cloning the repo and add your code on there (if you think this is something that can benefits other feel free to contribute it back as a pull request).
If you also need to change something in the core packages that's another story.
Hope this helps
Answer by Jim Pfleger · May 16, 2017 at 03:02 PM
Thanks @Dan.M I hadn't considered using an external script; I don't think it's right for this situation, but it's worth keeping in mind for the future. I think for my first time doing this, I'm going to clone and add to the resource driver. I'd like to eventually come back and follow the Quali convention of using Runners and Flows, but that means either updating the `cloudshell-networking-cisco` package or making a new one.
I hope people will vote on my related idea to simplify this process.
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.
driver targeting different CloudShell version 3 Answers
Dynamic List Option on Python Resource Driver 1 Answer
Upload resource driver - error message: 'Object reference not set to an instance of an object' 1 Answer
Show active snapshot name in Get Snapshot driver output? 0 Answers
Has someone experience with Python vs cx_Oracle library integration? 3 Answers