-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The standard doesn't mention if the command should be hidden or not, but in the shell templates it does appear as hidden.
If it's an hidden command, that should be called by the orchestration/api, then it needs to be more flexible and "machine" oriented.
That means:
- get an input if the live status should be changed (i think it's not the shell's decision anyway, and that shells should not use the api in most of the times - but that's something else). The orchestration should be able to decide which live status to set on the resource.
- return an output that is easy to parse like 1/0 and not a string that changes by the resource name.
We can go to an approach of having both options - an "orchestration_health_check" function which is hidden, and a user facing function like the current one that just calls the orchestration one and adds the live+output as needed.
The brocade and ericsson implementation doesn't hide this command - so after deciding if it should be hidden - a bug should be opened to either the templates or ericsson+brocade drivers.
Metadata
Metadata
Assignees
Labels
No labels