Browse Source

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
changes/52/221452/1
Dan Prince 7 years ago
parent
commit
f1ed8ace5e
  1. 2
      network/external.yaml
  2. 2
      network/internal_api.yaml
  3. 2
      network/storage.yaml
  4. 2
      network/storage_mgmt.yaml
  5. 2
      network/tenant.yaml

2
network/external.yaml

@ -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.

2
network/internal_api.yaml

@ -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.

2
network/storage.yaml

@ -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.

2
network/storage_mgmt.yaml

@ -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.

2
network/tenant.yaml

@ -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.

Loading…
Cancel
Save