Comment 2 for bug 1368934

Revision history for this message
Carl Baldwin (carl-baldwin) wrote : Re: Router create optional argument "distributed" accepts only Camel case. Does not accept lower case, it used to accept lower case before.

This was discussed here [1]. Assaf turned down the idea because all four choices show up in the help. I don't feel strongly either way. I'll point out that there are two other options in the CLI that take True/False and don't appear to accept the lower-case equivalents. We may want to preserve consistency by not fixing this bug.

  neutronclient/neutron/v2_0/fw/firewallrule.py: dest='enabled', choices=['True', 'False'],
  neutronclient/neutron/v2_0/nec/packetfilter.py: '--admin-state', choices=['True', 'False'],

Since DVR hasn't been released yet, do we need to be concerned about backwards compatibility?

[1] https://review.openstack.org/#/c/114263/4/neutronclient/neutron/v2_0/router.py