Change to boolean for boolean type params
authorTong Liu <tongl@vmware.com>
Tue, 5 Sep 2017 11:27:18 +0000 (11:27 +0000)
committerBogdan Dobrelya <bdobreli@redhat.com>
Tue, 19 Sep 2017 09:42:10 +0000 (09:42 +0000)
Some boolean params are set to string type. Although it works, but
it is better to use boolean type for better validation. This patch
changes them to boolean type.

Change-Id: I9f1d223619ea14fbab26033b24eb1144796e5ef2
Closes-Bug: #1715209
(cherry picked from commit cab8ab1d342c6ffada3f2adea5834b4549240af5)

puppet/services/neutron-base.yaml
puppet/services/neutron-plugin-nsx.yaml

index af3f863..9e493c3 100644 (file)
@@ -33,7 +33,7 @@ parameters:
   DhcpAgentNotification:
     default: true
     description: Whether or not to enable DHCP agent notifications.
-    type: string
+    type: boolean
   NeutronDnsDomain:
     type: string
     default: openstacklocal
index 2638064..ad0fc7f 100644 (file)
@@ -49,7 +49,7 @@ parameters:
   NativeDhcpMetadata:
     default: True
     description: This is the flag to indicate if using native DHCP/Metadata or not.
-    type: string
+    type: boolean
   DhcpProfileUuid:
     description: This is the UUID of the NSX DHCP Profile that will be used to enable
                  native DHCP service.