open-iscsi / rtslib-fb

Python library for configuring the Linux kernel-based multiprotocol SCSI target (LIO)
Apache License 2.0
73 stars 90 forks source link

discovery_auth should accept True as well #137

Open maurizio-lombardi opened 6 years ago

maurizio-lombardi commented 6 years ago

get discovery_auth is reporting True/False:

iscsi > get discovery_auth DISCOVERY_AUTH CONFIG GROUP enable=False

we should also be able to set it using True/False, not only 1 or 0.

Signed-off-by: Maurizio Lombardi mlombard@redhat.com