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 >.
I'm creating a topology driver which will invoke the resource driver in Cloudshell authoring tool. We are using 'TestShellAPI.dll' file for the function required related to the reservation. I found multiple functions through which I can pull the resource details like (Attributes, family, resourcemodel, etc) from the ongoing reservation in the authoring tool. But I need a function which will share the details of resource along with its resource driver's associated with it, in an ongoing reservation. eg. Resource - RNC Nokia is attached to Driver - RNC Driver. So when I'm reserving this RNC resource "the function should share me the details related to RNC along with its RNC driver" I can do that by using 'GetResourceDetails' function. But this function can be used only for 1 resource where, I need to define the resource path in Authoring tool. As I have more than 100 resources, this option is not feasible.
Do we have any option through which this action can be performed?
Answer by Yaniv Kalsky · Oct 01, 2018 at 06:45 PM
Hi @vrushali.vibhandik@tatacommunications.com ,
If you are building these drivers in Authoring, each resource command has multiple default inputs. One of them is the 'resource' matrix. If you need any of the attributes of the resource, just add it to the initial value of this matrix, and in runtime - you'll get the values in the 3rd column.
If you're building these drivers in python, you should have access to the resource attributes from the context.resource.attributes dictionary.
If you're trying to get this information from the topology driver, then you'll have to use the GetResourceDetails for each resource that you need its attributes.
Answer by Vrushali Vibhandik · Oct 23, 2018 at 07:26 AM
Hi @Yaniv.K thank you for providing alternate option. But while I waiting for your reply I tried another way.
Where i used function GetReservationDetails through which i could create the resource path and saved in a variable for all resources in blueprint and further is used GetResourceDetails and pulled the attribute details.
I would like to know if we have detailed information about the list of libraries used in python, which will give me desired output while programming in Python.
We have multiple packages to help you build your shells and scripts.
I would start by going to our developer guide, and go over the information and links there to learn more about building shells and orchestration scripts in python.
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.
Shell for CloudShell authoring driver 1 Answer
Upload resource driver - error message: 'Object reference not set to an instance of an object' 1 Answer
How do I add new Python startup/teardown functionality to a blueprint? 4 Answers
Failed to install shell? 1 Answer
Has someone experience with Python vs cx_Oracle library integration? 3 Answers