Merge "Replace hardcoded 'br-ex' with NeutronPhysicalBridge parameter."

This commit is contained in:
Jenkins 2017-06-24 00:36:01 +00:00 committed by Gerrit Code Review
commit bfa407249e
3 changed files with 13 additions and 5 deletions

View File

@ -37,7 +37,7 @@ parameters:
type: string
NeutronPublicInterface:
default: nic1
description: A port to add to the NeutronPhysicalBridge.
description: Which interface to add to the NeutronPhysicalBridge.
type: string
NodeIndex:
type: number

View File

@ -58,9 +58,13 @@ parameters:
type: string
constraints:
- custom_constraint: nova.keypair
NeutronPhysicalBridge:
default: 'br-ex'
description: An OVS bridge to create for accessing external networks.
type: string
NeutronPublicInterface:
default: nic1
description: What interface to bridge onto br-ex for network nodes.
description: Which interface to add to the NeutronPhysicalBridge.
type: string
ServiceNetMap:
default: {}
@ -431,7 +435,7 @@ resources:
- {get_param: NetworkDeploymentActions}
- []
input_values:
bridge_name: br-ex
bridge_name: {get_param: NeutronPhysicalBridge}
interface_name: {get_param: NeutronPublicInterface}
# Resource for site-specific injection of root certificate

View File

@ -28,9 +28,13 @@ parameters:
constraints:
- custom_constraint: nova.keypair
{% endif %}
NeutronPhysicalBridge:
default: 'br-ex'
description: An OVS bridge to create for accessing tenant networks.
type: string
NeutronPublicInterface:
default: nic1
description: What interface to bridge onto br-ex for network nodes.
description: Which interface to add to the NeutronPhysicalBridge.
type: string
ServiceNetMap:
default: {}
@ -409,7 +413,7 @@ resources:
server: {get_resource: {{role}}}
actions: {get_param: NetworkDeploymentActions}
input_values:
bridge_name: br-ex
bridge_name: {get_param: NeutronPhysicalBridge}
interface_name: {get_param: NeutronPublicInterface}
actions:
if: