Skip to content

exit status on communication failures #37

@danwinship

Description

@danwinship

Currently omping only exits with non-0 status if there are problems with the command line.

When using -c or -T it seems like it should also exit with an error if either (a) it doesn't manage to communicate with a given host before the timeout, or (b) it manages to communicate with the host via unicast but not via multicast.

(I'm working on an end-to-end test of multicast connectivity between containers in OpenShift. omping is nice for this because omping -c 1 will exit quickly in the case where unicast works but multicast doesn't, rather than forcing us to guess an appropriate timeout.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions