Add SoftwareConfigTransport for switching transports
This change adds a SoftwareConfigTransport parameter to role templates so that the transport can be changed via a parameter_defaults entry. This change will have no effect on an existing overcloud as the current default POLL_SERVER_CFN is now explicit in the parameter default. Change-Id: I5c2a2d2170714093c5757282cba12ac65f8738a4
This commit is contained in:
@@ -59,6 +59,13 @@ parameters:
|
|||||||
description: >
|
description: >
|
||||||
Heat action when to apply network configuration changes
|
Heat action when to apply network configuration changes
|
||||||
default: ['CREATE']
|
default: ['CREATE']
|
||||||
|
SoftwareConfigTransport:
|
||||||
|
default: POLL_SERVER_CFN
|
||||||
|
description: |
|
||||||
|
How the server should receive the metadata required for software configuration.
|
||||||
|
type: string
|
||||||
|
constraints:
|
||||||
|
- allowed_values: [POLL_SERVER_CFN, POLL_SERVER_HEAT, POLL_TEMP_URL, ZAQAR_MESSAGE]
|
||||||
CloudDomain:
|
CloudDomain:
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
@@ -86,6 +93,7 @@ resources:
|
|||||||
user_data_format: SOFTWARE_CONFIG
|
user_data_format: SOFTWARE_CONFIG
|
||||||
user_data: {get_resource: UserData}
|
user_data: {get_resource: UserData}
|
||||||
name: {get_param: Hostname}
|
name: {get_param: Hostname}
|
||||||
|
software_config_transport: {get_param: SoftwareConfigTransport}
|
||||||
metadata: {get_param: ServerMetadata}
|
metadata: {get_param: ServerMetadata}
|
||||||
|
|
||||||
# Combine the NodeAdminUserData and NodeUserData mime archives
|
# Combine the NodeAdminUserData and NodeUserData mime archives
|
||||||
|
@@ -112,6 +112,13 @@ parameters:
|
|||||||
description: >
|
description: >
|
||||||
Heat action when to apply network configuration changes
|
Heat action when to apply network configuration changes
|
||||||
default: ['CREATE']
|
default: ['CREATE']
|
||||||
|
SoftwareConfigTransport:
|
||||||
|
default: POLL_SERVER_CFN
|
||||||
|
description: |
|
||||||
|
How the server should receive the metadata required for software configuration.
|
||||||
|
type: string
|
||||||
|
constraints:
|
||||||
|
- allowed_values: [POLL_SERVER_CFN, POLL_SERVER_HEAT, POLL_TEMP_URL, ZAQAR_MESSAGE]
|
||||||
CloudDomain:
|
CloudDomain:
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
@@ -139,6 +146,7 @@ resources:
|
|||||||
user_data_format: SOFTWARE_CONFIG
|
user_data_format: SOFTWARE_CONFIG
|
||||||
user_data: {get_resource: UserData}
|
user_data: {get_resource: UserData}
|
||||||
name: {get_param: Hostname}
|
name: {get_param: Hostname}
|
||||||
|
software_config_transport: {get_param: SoftwareConfigTransport}
|
||||||
metadata: {get_param: ServerMetadata}
|
metadata: {get_param: ServerMetadata}
|
||||||
|
|
||||||
# Combine the NodeAdminUserData and NodeUserData mime archives
|
# Combine the NodeAdminUserData and NodeUserData mime archives
|
||||||
|
@@ -290,6 +290,13 @@ parameters:
|
|||||||
description: >
|
description: >
|
||||||
Heat action when to apply network configuration changes
|
Heat action when to apply network configuration changes
|
||||||
default: ['CREATE']
|
default: ['CREATE']
|
||||||
|
SoftwareConfigTransport:
|
||||||
|
default: POLL_SERVER_CFN
|
||||||
|
description: |
|
||||||
|
How the server should receive the metadata required for software configuration.
|
||||||
|
type: string
|
||||||
|
constraints:
|
||||||
|
- allowed_values: [POLL_SERVER_CFN, POLL_SERVER_HEAT, POLL_TEMP_URL, ZAQAR_MESSAGE]
|
||||||
CloudDomain:
|
CloudDomain:
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
@@ -320,6 +327,7 @@ resources:
|
|||||||
user_data_format: SOFTWARE_CONFIG
|
user_data_format: SOFTWARE_CONFIG
|
||||||
user_data: {get_resource: UserData}
|
user_data: {get_resource: UserData}
|
||||||
name: {get_param: Hostname}
|
name: {get_param: Hostname}
|
||||||
|
software_config_transport: {get_param: SoftwareConfigTransport}
|
||||||
metadata: {get_param: ServerMetadata}
|
metadata: {get_param: ServerMetadata}
|
||||||
|
|
||||||
# Combine the NodeAdminUserData and NodeUserData mime archives
|
# Combine the NodeAdminUserData and NodeUserData mime archives
|
||||||
|
@@ -632,6 +632,13 @@ parameters:
|
|||||||
NodeIndex:
|
NodeIndex:
|
||||||
type: number
|
type: number
|
||||||
default: 0
|
default: 0
|
||||||
|
SoftwareConfigTransport:
|
||||||
|
default: POLL_SERVER_CFN
|
||||||
|
description: |
|
||||||
|
How the server should receive the metadata required for software configuration.
|
||||||
|
type: string
|
||||||
|
constraints:
|
||||||
|
- allowed_values: [POLL_SERVER_CFN, POLL_SERVER_HEAT, POLL_TEMP_URL, ZAQAR_MESSAGE]
|
||||||
CloudDomain:
|
CloudDomain:
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
@@ -659,6 +666,7 @@ resources:
|
|||||||
user_data_format: SOFTWARE_CONFIG
|
user_data_format: SOFTWARE_CONFIG
|
||||||
user_data: {get_resource: UserData}
|
user_data: {get_resource: UserData}
|
||||||
name: {get_param: Hostname}
|
name: {get_param: Hostname}
|
||||||
|
software_config_transport: {get_param: SoftwareConfigTransport}
|
||||||
metadata: {get_param: ServerMetadata}
|
metadata: {get_param: ServerMetadata}
|
||||||
|
|
||||||
# Combine the NodeAdminUserData and NodeUserData mime archives
|
# Combine the NodeAdminUserData and NodeUserData mime archives
|
||||||
|
@@ -82,6 +82,13 @@ parameters:
|
|||||||
description: >
|
description: >
|
||||||
Heat action when to apply network configuration changes
|
Heat action when to apply network configuration changes
|
||||||
default: ['CREATE']
|
default: ['CREATE']
|
||||||
|
SoftwareConfigTransport:
|
||||||
|
default: POLL_SERVER_CFN
|
||||||
|
description: |
|
||||||
|
How the server should receive the metadata required for software configuration.
|
||||||
|
type: string
|
||||||
|
constraints:
|
||||||
|
- allowed_values: [POLL_SERVER_CFN, POLL_SERVER_HEAT, POLL_TEMP_URL, ZAQAR_MESSAGE]
|
||||||
CloudDomain:
|
CloudDomain:
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
@@ -109,6 +116,7 @@ resources:
|
|||||||
user_data_format: SOFTWARE_CONFIG
|
user_data_format: SOFTWARE_CONFIG
|
||||||
user_data: {get_resource: UserData}
|
user_data: {get_resource: UserData}
|
||||||
name: {get_param: Hostname}
|
name: {get_param: Hostname}
|
||||||
|
software_config_transport: {get_param: SoftwareConfigTransport}
|
||||||
metadata: {get_param: ServerMetadata}
|
metadata: {get_param: ServerMetadata}
|
||||||
|
|
||||||
# Combine the NodeAdminUserData and NodeUserData mime archives
|
# Combine the NodeAdminUserData and NodeUserData mime archives
|
||||||
|
Reference in New Issue
Block a user