Set NetValueSpecs parameter types to Json
authorDan Prince <dprince@redhat.com>
Tue, 8 Sep 2015 18:48:58 +0000 (14:48 -0400)
committerDan Prince <dprince@redhat.com>
Tue, 8 Sep 2015 18:48:58 +0000 (14:48 -0400)
The latest Heat API is a bit more strict in validating
the datatypes for the OS::Neutron::Net value_specs.
This patch converts the default parameter types for
these from string to json.

Change-Id: Iaad6ee6417d3ae55c52ffe2f4e6ed79124161923
Closes-bug: #1493502

network/external.yaml
network/internal_api.yaml
network/storage.yaml
network/storage_mgmt.yaml
network/tenant.yaml

index bf4bdfe..e8f92a5 100644 (file)
@@ -12,7 +12,7 @@ parameters:
   ExternalNetValueSpecs:
     default: {'provider:physical_network': 'external', 'provider:network_type': 'flat'}
     description: Value specs for the external network.
-    type: string
+    type: json
   ExternalNetAdminStateUp:
     default: false
     description: This admin state of of the network.
index c7e822e..69154be 100644 (file)
@@ -12,7 +12,7 @@ parameters:
   InternalApiNetValueSpecs:
     default: {'provider:physical_network': 'internal_api', 'provider:network_type': 'flat'}
     description: Value specs for the internal API network.
-    type: string
+    type: json
   InternalApiNetAdminStateUp:
     default: false
     description: This admin state of of the network.
index d403f9e..60b779e 100644 (file)
@@ -12,7 +12,7 @@ parameters:
   StorageNetValueSpecs:
     default: {'provider:physical_network': 'storage', 'provider:network_type': 'flat'}
     description: Value specs for the storage network.
-    type: string
+    type: json
   StorageNetAdminStateUp:
     default: false
     description: This admin state of of the network.
index d0c919b..043bc87 100644 (file)
@@ -12,7 +12,7 @@ parameters:
   StorageMgmtNetValueSpecs:
     default: {'provider:physical_network': 'storage_mgmt', 'provider:network_type': 'flat'}
     description: Value specs for the storage_mgmt network.
-    type: string
+    type: json
   StorageMgmtNetAdminStateUp:
     default: false
     description: This admin state of of the network.
index 055b87b..daf5cb7 100644 (file)
@@ -12,7 +12,7 @@ parameters:
   TenantNetValueSpecs:
     default: {'provider:physical_network': 'tenant', 'provider:network_type': 'flat'}
     description: Value specs for the tenant network.
-    type: string
+    type: json
   TenantNetAdminStateUp:
     default: false
     description: This admin state of of the network.