- **status**: accepted --> fixed


---

** [tickets:#2628] tools/amf: improve error checking and naming convention**

**Status:** fixed
**Milestone:** 5.17.10
**Created:** Mon Oct 16, 2017 05:53 AM UTC by Gary Lee
**Last Updated:** Tue Oct 17, 2017 11:56 PM UTC
**Owner:** Gary Lee


amfclusterstatus expects the node ID in hex format. It should be consistent and 
prefix the node ID with 0x, in its output.

root@SC-1:~# amfclusterstatus -c 0x2010f
2010f is a Controller node

root@SC-1:~# amfclusterstatus -c 2010f
7da is not a Controller node

This is preferred:

root@SC-1:~# amfclusterstatus -u 0x2010f
0x2010f is up

In addition, invalid input prints:

root@SC-1:~# amfclusterstatus -u abc
0 is not up

Conflicting options are allowed:

root@SC-1:~# amfclusterstatus -u -c -s
At least one controller is up



---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to