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 >.
Is there any way that I can access the attributes in resource manager by writing a code and change their value? I have attributes for my resource in RM which is not in shell_model.
Answer by Yaniv Kalsky · Jan 03, 2018 at 06:29 PM
Using the API, you can use the SetAttributesValues to update the resource attribute values.
Something like the below:
from cloudshell.api.cloudshell_api import CloudShellAPISession, ResourceAttributesUpdateRequest, AttributeNameValue ... api_session.SetAttributesValues( [ResourceAttributesUpdateRequest(resourceFullName, [AttributeNameValue('Attr1', value1), AttributeNameValue('Attr2', value2), AttributeNameValue('Attr3', value3)] )])
Let me know if you need some more information,
Yaniv
@Yaniv.K what is the resourceFullName in SetAttributeValue? I am using SetAttributeValue function, i wanted to change only one attribute.
I have an ifss that includes Node12. I splitted them and only I pass Node 12 as a first arg to SetAttributesValue, but it says unable to locate Node 12?
resourceFullName/resourceFullPath (all across the API) is referring to the resource that you'd like to do the operation on. If it's a root resource, then this would just be the name of the resource. If it's a sub-resource, then you'll have to provide the full name including all of the levels from the root to the sub-resource, seperated by slashes.
For example: cisco-ios-2/chassis1/module3/port4
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.