Switch net-config templates to use OS::stack_id
This patch removes the custom config_id outputs and replaces it with OS::stack_id which allows us to just call get_resource in the parent stack. The motivation for this change is we'll be adding more os-net-config templates and it would be nice to take advantage of this newer template feature. Change-Id: I6fcb26024b94420779b86766e16d8a24210c4f8e
This commit is contained in:
parent
cfdd314564
commit
e38f7cae7d
@ -64,7 +64,7 @@ resources:
|
||||
NetworkDeployment:
|
||||
type: OS::TripleO::SoftwareDeployment
|
||||
properties:
|
||||
config: {get_attr: [NetworkConfig, config_id]}
|
||||
config: {get_resource: NetworkConfig}
|
||||
server: {get_resource: CephStorage}
|
||||
|
||||
CephStorageDeployment:
|
||||
|
@ -136,7 +136,7 @@ resources:
|
||||
NetworkDeployment:
|
||||
type: OS::TripleO::SoftwareDeployment
|
||||
properties:
|
||||
config: {get_attr: [NetworkConfig, config_id]}
|
||||
config: {get_resource: NetworkConfig}
|
||||
server: {get_resource: BlockStorage}
|
||||
|
||||
BlockStorageDeployment:
|
||||
|
@ -290,7 +290,7 @@ resources:
|
||||
type: OS::TripleO::SoftwareDeployment
|
||||
properties:
|
||||
signal_transport: NO_SIGNAL
|
||||
config: {get_attr: [NetworkConfig, config_id]}
|
||||
config: {get_resource: NetworkConfig}
|
||||
server: {get_resource: NovaCompute}
|
||||
input_values:
|
||||
bridge_name: {get_param: NeutronPhysicalBridge}
|
||||
|
@ -475,7 +475,7 @@ resources:
|
||||
type: OS::TripleO::SoftwareDeployment
|
||||
properties:
|
||||
signal_transport: NO_SIGNAL
|
||||
config: {get_attr: [NetworkConfig, config_id]}
|
||||
config: {get_resource: NetworkConfig}
|
||||
server: {get_resource: Controller}
|
||||
input_values:
|
||||
bridge_name: br-ex
|
||||
|
@ -60,7 +60,6 @@ resources:
|
||||
name: nic2
|
||||
|
||||
outputs:
|
||||
config_id:
|
||||
description: The ID of the OsNetConfigImpl resource.
|
||||
value:
|
||||
{get_resource: OsNetConfigImpl}
|
||||
OS::stack_id:
|
||||
description: The OsNetConfigImpl resource.
|
||||
value: {get_resource: OsNetConfigImpl}
|
||||
|
@ -53,7 +53,6 @@ resources:
|
||||
primary: true
|
||||
|
||||
outputs:
|
||||
config_id:
|
||||
description: The ID of the OsNetConfigImpl resource.
|
||||
value:
|
||||
{get_resource: OsNetConfigImpl}
|
||||
OS::stack_id:
|
||||
description: The OsNetConfigImpl resource.
|
||||
value: {get_resource: OsNetConfigImpl}
|
||||
|
@ -34,7 +34,6 @@ resources:
|
||||
config:
|
||||
|
||||
outputs:
|
||||
config_id:
|
||||
description: The ID of the OsNetConfigImpl resource.
|
||||
value:
|
||||
{get_resource: OsNetConfigImpl}
|
||||
OS::stack_id:
|
||||
description: The OsNetConfigImpl resource.
|
||||
value: {get_resource: OsNetConfigImpl}
|
||||
|
@ -64,7 +64,7 @@ resources:
|
||||
NetworkDeployment:
|
||||
type: OS::TripleO::SoftwareDeployment
|
||||
properties:
|
||||
config: {get_attr: [NetworkConfig, config_id]}
|
||||
config: {get_resource: NetworkConfig}
|
||||
server: {get_resource: CephStorage}
|
||||
|
||||
CephStorageDeployment:
|
||||
|
@ -148,7 +148,7 @@ resources:
|
||||
NetworkDeployment:
|
||||
type: OS::TripleO::SoftwareDeployment
|
||||
properties:
|
||||
config: {get_attr: [NetworkConfig, config_id]}
|
||||
config: {get_resource: NetworkConfig}
|
||||
server: {get_resource: BlockStorage}
|
||||
|
||||
BlockStorageDeployment:
|
||||
|
@ -305,7 +305,7 @@ resources:
|
||||
type: OS::TripleO::SoftwareDeployment
|
||||
properties:
|
||||
signal_transport: NO_SIGNAL
|
||||
config: {get_attr: [NetworkConfig, config_id]}
|
||||
config: {get_resource: NetworkConfig}
|
||||
server: {get_resource: NovaCompute}
|
||||
input_values:
|
||||
bridge_name: {get_param: NeutronPhysicalBridge}
|
||||
|
@ -496,7 +496,7 @@ resources:
|
||||
type: OS::TripleO::SoftwareDeployment
|
||||
properties:
|
||||
signal_transport: NO_SIGNAL
|
||||
config: {get_attr: [NetworkConfig, config_id]}
|
||||
config: {get_resource: NetworkConfig}
|
||||
server: {get_resource: Controller}
|
||||
input_values:
|
||||
bridge_name: br-ex
|
||||
|
@ -93,7 +93,7 @@ resources:
|
||||
NetworkDeployment:
|
||||
type: OS::TripleO::SoftwareDeployment
|
||||
properties:
|
||||
config: {get_attr: [NetworkConfig, config_id]}
|
||||
config: {get_resource: NetworkConfig}
|
||||
server: {get_resource: SwiftStorage}
|
||||
|
||||
SwiftStorageHieraConfig:
|
||||
|
@ -141,7 +141,7 @@ resources:
|
||||
NetworkDeployment:
|
||||
type: OS::TripleO::SoftwareDeployment
|
||||
properties:
|
||||
config: {get_attr: [NetworkConfig, config_id]}
|
||||
config: {get_resource: NetworkConfig}
|
||||
server: {get_resource: SwiftStorage}
|
||||
|
||||
SwiftStorageDeploy:
|
||||
|
Loading…
Reference in New Issue
Block a user