Set NetValueSpecs parameter types to Json

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
This commit is contained in:
Dan Prince 2015-09-08 14:48:58 -04:00
parent 9a8e384a14
commit f1ed8ace5e
5 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ parameters:
ExternalNetValueSpecs: ExternalNetValueSpecs:
default: {'provider:physical_network': 'external', 'provider:network_type': 'flat'} default: {'provider:physical_network': 'external', 'provider:network_type': 'flat'}
description: Value specs for the external network. description: Value specs for the external network.
type: string type: json
ExternalNetAdminStateUp: ExternalNetAdminStateUp:
default: false default: false
description: This admin state of of the network. description: This admin state of of the network.

View File

@ -12,7 +12,7 @@ parameters:
InternalApiNetValueSpecs: InternalApiNetValueSpecs:
default: {'provider:physical_network': 'internal_api', 'provider:network_type': 'flat'} default: {'provider:physical_network': 'internal_api', 'provider:network_type': 'flat'}
description: Value specs for the internal API network. description: Value specs for the internal API network.
type: string type: json
InternalApiNetAdminStateUp: InternalApiNetAdminStateUp:
default: false default: false
description: This admin state of of the network. description: This admin state of of the network.

View File

@ -12,7 +12,7 @@ parameters:
StorageNetValueSpecs: StorageNetValueSpecs:
default: {'provider:physical_network': 'storage', 'provider:network_type': 'flat'} default: {'provider:physical_network': 'storage', 'provider:network_type': 'flat'}
description: Value specs for the storage network. description: Value specs for the storage network.
type: string type: json
StorageNetAdminStateUp: StorageNetAdminStateUp:
default: false default: false
description: This admin state of of the network. description: This admin state of of the network.

View File

@ -12,7 +12,7 @@ parameters:
StorageMgmtNetValueSpecs: StorageMgmtNetValueSpecs:
default: {'provider:physical_network': 'storage_mgmt', 'provider:network_type': 'flat'} default: {'provider:physical_network': 'storage_mgmt', 'provider:network_type': 'flat'}
description: Value specs for the storage_mgmt network. description: Value specs for the storage_mgmt network.
type: string type: json
StorageMgmtNetAdminStateUp: StorageMgmtNetAdminStateUp:
default: false default: false
description: This admin state of of the network. description: This admin state of of the network.

View File

@ -12,7 +12,7 @@ parameters:
TenantNetValueSpecs: TenantNetValueSpecs:
default: {'provider:physical_network': 'tenant', 'provider:network_type': 'flat'} default: {'provider:physical_network': 'tenant', 'provider:network_type': 'flat'}
description: Value specs for the tenant network. description: Value specs for the tenant network.
type: string type: json
TenantNetAdminStateUp: TenantNetAdminStateUp:
default: false default: false
description: This admin state of of the network. description: This admin state of of the network.