← Back to team overview

openstack-doc-core team mailing list archive

Re: Boolean fields (=True or not?)

 

Speaking as someone who's deployed OpenStack and had a lot of fun with the negation, I agree with you on Format #1, especially as the 'default value' can be made clearer.

Regards,

Tom

On 06/01/2012 02:18 AM, Lorin Hochstein wrote:
The config files (helpfully?) support two different formats for
specifying boolean flags:


Format 1:

force_dhcpelease=True
force_dhcpelease=False


Format 2:

force_dhcpelease
noforce_dhcpelease


I think we should standardize on one of these conventions for the docs
(with a note in the docs about the alternate construction).

I vote for the =True/False because it's more explicit and consistent
with the other flags.

Take care,

Lorin
--
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com <https://www.nimbisservices.com/>










Follow ups

References