Skip to content

Health check command - standard is not clear #22

@kalsky

Description

@kalsky

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:

  1. 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.
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions