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 >.
Kimo Saper suggested an idea (#4699) · Jul 17, 2019 at 09:37 PM · cloudshellresources
Today, CloudShell offers the 'SetResourceLiveStatus' API command. This is useful for marking items are ready, offline, error, etc. However this 'Status' is for the device as a whole, and displays across all reservations.
In our specific use case, we're concerned about Ports on Routers or Switches being verified as working. Now we can Flag the individual ports as we'd like, but that information doesn't filter up to the parent, and thus is not easily exposed to the user (you can't see it at the top level of the canvas). So even if we mark a SubResource, such as a port, as 'Error', that information is not shown on the top layer of the device. And if we opt to mark the Top Level Parent, because of a port issue in our reservation, then that flag will show in all current reservations for that unit - which is not ideal.
The ask is that the graphic would display an "holistic" status. Obviously this would need to have a hierarchy to it; in that a more "critical" status would show instead of a 'less critical' or 'good' status. If all items are Good or not marked, then the top level would show good. If any were 'Offline" then 'Offline' would show, and if any where "Error" then error would show no matter the status of any other child.
Then it would be a simple matter of looking at the structure to identify the 'bad actor'
We are also looking to validate this against L1 status for our routes - yes ideally no one should be changing connections on the L1 Switch units, but processes are not currently mature enough. But this would be a pretty simple check to be able to add that could flag potential problems for users.
Ariel Benary commented · Jul 18, 2019 at 09:24 AM
Hi Kimo,
Thanks for submitting this idea.
Im not sure the behavior you described should be part of the product. It sounds like something relevant for a specific implementation.
Isnt it possible to have some custom code that iterates on the sub resources, checks their status, and sets the status of the root accordingly, according to your desired logic?
Regards
Ariel
Kimo Saper commented · Jul 18, 2019 at 04:12 PM
Ariel,
Yes I can iterate the children and based on that set the flag at the top level.
My issue is that if the resource is shared between reservations, if I set the flag because of ports in one, that same flag is raised for the parent as a whole. So any other reservation, er active sandbox, will now have the same flag - even though non of its children are the actual problem.
Boiled down, we are checking for operational status on a Port by Port basis for complex topologies, prior to executing desired testing. Ideally any additional automation will validate status of resources prior to executing, which could lead to other sandboxes being hit unintentionally.
Kimo Saper commented · Jul 18, 2019 at 04:15 PM
I guess really the ask isn't that the Root/Parent's status is changed by its children, rather that if the Graphic shows on the Canvas is determined by Children.
Ariel Benary commented · Jul 22, 2019 at 08:49 AM
Hi Kimo,
The SetLiveStatus API gives you full power to set the status of the parent, and the status of each sub resource specifically. The status of the parent you have set will be shown on the canvas, and the status of the children is shown in the list view, or in the inventory.
From what I understood from your last posts, this should do the work. If not, please explain what logic you think is missing from the product, and why this logic doesnt belong in custom code.
Thanks
Ariel
Kimo Saper commented · Aug 05, 2019 at 06:17 PM
Yes I can set the Flag for the Parent, but that's not what we want. We want the flag in the canvas to show based on status of the children in the active reservation, not the top level resources status as set in the system.
Example, I have a Switch (Chassis, Blade, Port). - for simplicity's sake, it's a 1U item, so 1 Chassis & 0 Blades, 24 ports
Reservation 1 has ports 1-4 already running
Reservation 2 has ports 8-12, starts up, and the Setup Orchestration runs a health check on the ports. It sees that port 9 is showing down/down. The automation should flag that port as 'Error'. But if you do that, the graphical flag does NOT show on the canvas (Because it only shows the current status of the top most unit). So If I were to set the Top Most item (the Parent) to Error, that error is for Reservation #2, but Reservation #1 now also sees the same flag.
That is the behavior I don't want to see.
The Error is on a specific port, I'd like the canvas to represent the aggregate status of everything below the Avatar that is seen at the top most level.
If I flag the port that is the issue, I want that seen on the canvas, not just the 'Structure' side bar.
Ariel Benary commented · Sep 09, 2019 at 09:24 AM
Thanks for the clarification Kimo. Changing status to active so people can vote for it.
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.
Help us make things better. Share your great idea or vote for other people's.
Make Resource Descriptions visible in CloudShell
More granular control for 'Admin Only' resources
Add an option to specify a file-type environment global input
Alias Name for resource that is displayed in resource icon
Enable one click Reservations timeline check from within Environment details
Permitted Users on reservations that exceed their current permissions
CloudShell GUI usability needs to be improved for batch actions
Ability to pop out and resize Instructions Page on cloudshell portal