Add templates for testing bonded interfaces

By adding a duplicate nic on the public network, we can test
bonding in an OVB environment.  This adds the necessary OVB template
and the correct network isolation nic-configs to do that.
This commit is contained in:
Ben Nemec 2016-10-11 22:31:20 -05:00
parent c52497ea08
commit c15d12a8e5
10 changed files with 1488 additions and 0 deletions

View File

@ -0,0 +1,22 @@
Generated Network Isolation Templates
-------------------------------------
These templates were generated by the UI tool at
https://github.com/cybertron/tripleo-scripts#net-iso-genpy
ui-settings.pickle is specific to the tool. TripleO will not use it when
doing deployments with these templates, but it is needed to be able to
load the templates into the UI again. Note that the UI only reads this file,
so any changes made by hand to the templates will not be reflected in the UI.
The network-isolation.yaml file needs to reference the port files shipped with
tripleo-heat-templates, so by default the tool generates the paths assuming
network-isolation.yaml will be copied into the environments/ directory of
tripleo-heat-templates.
If these templates are at ~/generated-templates and a local copy of
tripleo-heat-templates (it is not recommended to make changes to the packaged
tripleo-heat-templates tree) is at ~/tht, then an example deployment would
look like this:
cp ~/generated-templates/network-isolation.yaml ~/tht/environments/generated-network-isolation.yaml
openstack overcloud deploy --templates ~/tht -e ~/tht/environments/generated-network-isolation.yaml -e ~/generated-templates/network-environment.yaml

View File

@ -0,0 +1,26 @@
resource_registry:
OS::TripleO::BlockStorage::Net::SoftwareConfig: nic-configs/cinder-storage.yaml
OS::TripleO::Compute::Net::SoftwareConfig: nic-configs/compute.yaml
OS::TripleO::Controller::Net::SoftwareConfig: nic-configs/controller.yaml
OS::TripleO::ObjectStorage::Net::SoftwareConfig: nic-configs/swift-storage.yaml
OS::TripleO::CephStorage::Net::SoftwareConfig: nic-configs/ceph-storage.yaml
parameter_defaults:
ControlPlaneSubnetCidr: '24'
ControlPlaneDefaultRoute: 192.0.2.1
EC2MetadataIp: 192.0.2.1
ExternalNetCidr: 10.0.0.0/24
ExternalAllocationPools: [{"start": "10.0.0.10", "end": "10.0.0.50"}]
ExternalInterfaceDefaultRoute: 10.0.0.1
NeutronExternalNetworkBridge: "''"
InternalApiNetCidr: 172.17.0.0/24
InternalApiAllocationPools: [{"start": "172.17.0.10", "end": "172.17.0.250"}]
StorageNetCidr: 172.18.0.0/24
StorageAllocationPools: [{"start": "172.18.0.10", "end": "172.18.0.250"}]
StorageMgmtNetCidr: 172.19.0.0/24
StorageMgmtAllocationPools: [{"start": "172.19.0.10", "end": "172.19.0.250"}]
TenantNetCidr: 172.16.0.0/24
TenantAllocationPools: [{"start": "172.16.0.10", "end": "172.16.0.250"}]
DnsServers: ["8.8.8.8", "8.8.4.4"]
BondInterfaceOvsOptions: bond_mode=balance-slb

View File

@ -0,0 +1,29 @@
resource_registry:
# Redis
OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/vip.yaml
OS::TripleO::Controller::Ports::RedisVipPort: ../network/ports/vip.yaml
# External
OS::TripleO::Network::External: ../network/external.yaml
OS::TripleO::Network::Ports::ExternalVipPort: ../network/ports/external.yaml
OS::TripleO::Controller::Ports::ExternalPort: ../network/ports/external.yaml
# InternalApi
OS::TripleO::Network::InternalApi: ../network/internal_api.yaml
OS::TripleO::Network::Ports::InternalApiVipPort: ../network/ports/internal_api.yaml
OS::TripleO::Controller::Ports::InternalApiPort: ../network/ports/internal_api.yaml
OS::TripleO::Compute::Ports::InternalApiPort: ../network/ports/internal_api.yaml
# Storage
OS::TripleO::Network::Storage: ../network/storage.yaml
OS::TripleO::Network::Ports::StorageVipPort: ../network/ports/storage.yaml
OS::TripleO::Controller::Ports::StoragePort: ../network/ports/storage.yaml
OS::TripleO::Compute::Ports::StoragePort: ../network/ports/storage.yaml
OS::TripleO::CephStorage::Ports::StoragePort: ../network/ports/storage.yaml
# StorageMgmt
OS::TripleO::Network::StorageMgmt: ../network/storage_mgmt.yaml
OS::TripleO::Network::Ports::StorageMgmtVipPort: ../network/ports/storage_mgmt.yaml
OS::TripleO::Controller::Ports::StorageMgmtPort: ../network/ports/storage_mgmt.yaml
OS::TripleO::CephStorage::Ports::StorageMgmtPort: ../network/ports/storage_mgmt.yaml
# Tenant
OS::TripleO::Network::Tenant: ../network/tenant.yaml
OS::TripleO::Network::Ports::TenantVipPort: ../network/ports/tenant.yaml
OS::TripleO::Controller::Ports::TenantPort: ../network/ports/tenant.yaml
OS::TripleO::Compute::Ports::TenantPort: ../network/ports/tenant.yaml

View File

@ -0,0 +1,119 @@
heat_template_version: 2015-04-30
parameters:
ControlPlaneIp:
default: ''
description: IP address/subnet on the ctlplane network
type: string
ExternalIpSubnet:
default: ''
description: IP address/subnet on the external network
type: string
InternalApiIpSubnet:
default: ''
description: IP address/subnet on the internal API network
type: string
StorageIpSubnet:
default: ''
description: IP address/subnet on the storage network
type: string
StorageMgmtIpSubnet:
default: ''
description: IP address/subnet on the storage mgmt network
type: string
TenantIpSubnet:
default: ''
description: IP address/subnet on the tenant network
type: string
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
default: ''
description: IP address/subnet on the management network
type: string
BondInterfaceOvsOptions:
default: 'bond_mode=active-backup'
description: The ovs_options string for the bond interface. Set things like
lacp=active and/or bond_mode=balance-slb using this option.
type: string
ExternalNetworkVlanID:
default: 10
description: Vlan ID for the external network traffic.
type: number
InternalApiNetworkVlanID:
default: 20
description: Vlan ID for the internal_api network traffic.
type: number
StorageNetworkVlanID:
default: 30
description: Vlan ID for the storage network traffic.
type: number
StorageMgmtNetworkVlanID:
default: 40
description: Vlan ID for the storage mgmt network traffic.
type: number
TenantNetworkVlanID:
default: 50
description: Vlan ID for the tenant network traffic.
type: number
ManagementNetworkVlanID:
default: 60
description: Vlan ID for the management network traffic.
type: number
ExternalInterfaceDefaultRoute:
default: '10.0.0.1'
description: default route for the external network
type: string
ControlPlaneSubnetCidr: # Override this via parameter_defaults
default: '24'
description: The subnet CIDR of the control plane network.
type: string
ControlPlaneDefaultRoute: # Override this via parameter_defaults
description: The default route of the control plane network.
type: string
DnsServers: # Override this via parameter_defaults
default: []
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
type: comma_delimited_list
EC2MetadataIp: # Override this via parameter_defaults
description: The IP address of the EC2 metadata server.
type: string
resources:
OsNetConfigImpl:
properties:
config:
os_net_config:
network_config:
- addresses:
- ip_netmask:
list_join:
- /
- - {get_param: ControlPlaneIp}
- {get_param: ControlPlaneSubnetCidr}
mtu: 1350
name: nic1
routes:
- ip_netmask: 169.254.169.254/32
next_hop: {get_param: EC2MetadataIp}
- default: true
next_hop: {get_param: ControlPlaneDefaultRoute}
type: interface
use_dhcp: false
- addresses:
- ip_netmask: {get_param: StorageIpSubnet}
mtu: 1350
name: nic4
type: interface
use_dhcp: false
- addresses:
- ip_netmask: {get_param: StorageMgmtIpSubnet}
mtu: 1350
name: nic5
type: interface
use_dhcp: false
group: os-apply-config
type: OS::Heat::StructuredConfig
outputs:
OS::stack_id:
description: The OsNetConfigImpl resource.
value: {get_resource: OsNetConfigImpl}

View File

@ -0,0 +1,92 @@
heat_template_version: 2015-04-30
parameters:
ControlPlaneIp:
default: ''
description: IP address/subnet on the ctlplane network
type: string
ExternalIpSubnet:
default: ''
description: IP address/subnet on the external network
type: string
InternalApiIpSubnet:
default: ''
description: IP address/subnet on the internal API network
type: string
StorageIpSubnet:
default: ''
description: IP address/subnet on the storage network
type: string
StorageMgmtIpSubnet:
default: ''
description: IP address/subnet on the storage mgmt network
type: string
TenantIpSubnet:
default: ''
description: IP address/subnet on the tenant network
type: string
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
default: ''
description: IP address/subnet on the management network
type: string
BondInterfaceOvsOptions:
default: 'bond_mode=active-backup'
description: The ovs_options string for the bond interface. Set things like
lacp=active and/or bond_mode=balance-slb using this option.
type: string
ExternalNetworkVlanID:
default: 10
description: Vlan ID for the external network traffic.
type: number
InternalApiNetworkVlanID:
default: 20
description: Vlan ID for the internal_api network traffic.
type: number
StorageNetworkVlanID:
default: 30
description: Vlan ID for the storage network traffic.
type: number
StorageMgmtNetworkVlanID:
default: 40
description: Vlan ID for the storage mgmt network traffic.
type: number
TenantNetworkVlanID:
default: 50
description: Vlan ID for the tenant network traffic.
type: number
ManagementNetworkVlanID:
default: 60
description: Vlan ID for the management network traffic.
type: number
ExternalInterfaceDefaultRoute:
default: '10.0.0.1'
description: default route for the external network
type: string
ControlPlaneSubnetCidr: # Override this via parameter_defaults
default: '24'
description: The subnet CIDR of the control plane network.
type: string
ControlPlaneDefaultRoute: # Override this via parameter_defaults
description: The default route of the control plane network.
type: string
DnsServers: # Override this via parameter_defaults
default: []
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
type: comma_delimited_list
EC2MetadataIp: # Override this via parameter_defaults
description: The IP address of the EC2 metadata server.
type: string
resources:
OsNetConfigImpl:
properties:
config:
os_net_config:
network_config: []
group: os-apply-config
type: OS::Heat::StructuredConfig
outputs:
OS::stack_id:
description: The OsNetConfigImpl resource.
value: {get_resource: OsNetConfigImpl}

View File

@ -0,0 +1,130 @@
heat_template_version: 2015-04-30
parameters:
ControlPlaneIp:
default: ''
description: IP address/subnet on the ctlplane network
type: string
ExternalIpSubnet:
default: ''
description: IP address/subnet on the external network
type: string
InternalApiIpSubnet:
default: ''
description: IP address/subnet on the internal API network
type: string
StorageIpSubnet:
default: ''
description: IP address/subnet on the storage network
type: string
StorageMgmtIpSubnet:
default: ''
description: IP address/subnet on the storage mgmt network
type: string
TenantIpSubnet:
default: ''
description: IP address/subnet on the tenant network
type: string
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
default: ''
description: IP address/subnet on the management network
type: string
BondInterfaceOvsOptions:
default: 'bond_mode=active-backup'
description: The ovs_options string for the bond interface. Set things like
lacp=active and/or bond_mode=balance-slb using this option.
type: string
ExternalNetworkVlanID:
default: 10
description: Vlan ID for the external network traffic.
type: number
InternalApiNetworkVlanID:
default: 20
description: Vlan ID for the internal_api network traffic.
type: number
StorageNetworkVlanID:
default: 30
description: Vlan ID for the storage network traffic.
type: number
StorageMgmtNetworkVlanID:
default: 40
description: Vlan ID for the storage mgmt network traffic.
type: number
TenantNetworkVlanID:
default: 50
description: Vlan ID for the tenant network traffic.
type: number
ManagementNetworkVlanID:
default: 60
description: Vlan ID for the management network traffic.
type: number
ExternalInterfaceDefaultRoute:
default: '10.0.0.1'
description: default route for the external network
type: string
ControlPlaneSubnetCidr: # Override this via parameter_defaults
default: '24'
description: The subnet CIDR of the control plane network.
type: string
ControlPlaneDefaultRoute: # Override this via parameter_defaults
description: The default route of the control plane network.
type: string
DnsServers: # Override this via parameter_defaults
default: []
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
type: comma_delimited_list
EC2MetadataIp: # Override this via parameter_defaults
description: The IP address of the EC2 metadata server.
type: string
resources:
OsNetConfigImpl:
properties:
config:
os_net_config:
network_config:
- addresses:
- ip_netmask:
list_join:
- /
- - {get_param: ControlPlaneIp}
- {get_param: ControlPlaneSubnetCidr}
mtu: 1350
name: nic1
routes:
- ip_netmask: 169.254.169.254/32
next_hop: {get_param: EC2MetadataIp}
- default: true
next_hop: {get_param: ControlPlaneDefaultRoute}
type: interface
use_dhcp: false
- addresses:
- ip_netmask: {get_param: InternalApiIpSubnet}
mtu: 1350
name: nic4
type: interface
use_dhcp: false
- addresses:
- ip_netmask: {get_param: StorageIpSubnet}
mtu: 1350
name: nic5
type: interface
use_dhcp: false
- addresses:
- ip_netmask: {get_param: TenantIpSubnet}
dns_servers: {get_param: DnsServers}
members:
- mtu: 1350
name: nic7
primary: true
type: interface
name: br-tenant
type: ovs_bridge
use_dhcp: false
group: os-apply-config
type: OS::Heat::StructuredConfig
outputs:
OS::stack_id:
description: The OsNetConfigImpl resource.
value: {get_resource: OsNetConfigImpl}

View File

@ -0,0 +1,156 @@
heat_template_version: 2015-04-30
parameters:
ControlPlaneIp:
default: ''
description: IP address/subnet on the ctlplane network
type: string
ExternalIpSubnet:
default: ''
description: IP address/subnet on the external network
type: string
InternalApiIpSubnet:
default: ''
description: IP address/subnet on the internal API network
type: string
StorageIpSubnet:
default: ''
description: IP address/subnet on the storage network
type: string
StorageMgmtIpSubnet:
default: ''
description: IP address/subnet on the storage mgmt network
type: string
TenantIpSubnet:
default: ''
description: IP address/subnet on the tenant network
type: string
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
default: ''
description: IP address/subnet on the management network
type: string
BondInterfaceOvsOptions:
default: 'bond_mode=active-backup'
description: The ovs_options string for the bond interface. Set things like
lacp=active and/or bond_mode=balance-slb using this option.
type: string
ExternalNetworkVlanID:
default: 10
description: Vlan ID for the external network traffic.
type: number
InternalApiNetworkVlanID:
default: 20
description: Vlan ID for the internal_api network traffic.
type: number
StorageNetworkVlanID:
default: 30
description: Vlan ID for the storage network traffic.
type: number
StorageMgmtNetworkVlanID:
default: 40
description: Vlan ID for the storage mgmt network traffic.
type: number
TenantNetworkVlanID:
default: 50
description: Vlan ID for the tenant network traffic.
type: number
ManagementNetworkVlanID:
default: 60
description: Vlan ID for the management network traffic.
type: number
ExternalInterfaceDefaultRoute:
default: '10.0.0.1'
description: default route for the external network
type: string
ControlPlaneSubnetCidr: # Override this via parameter_defaults
default: '24'
description: The subnet CIDR of the control plane network.
type: string
ControlPlaneDefaultRoute: # Override this via parameter_defaults
description: The default route of the control plane network.
type: string
DnsServers: # Override this via parameter_defaults
default: []
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
type: comma_delimited_list
EC2MetadataIp: # Override this via parameter_defaults
description: The IP address of the EC2 metadata server.
type: string
resources:
OsNetConfigImpl:
properties:
config:
os_net_config:
network_config:
- addresses:
- ip_netmask:
list_join:
- /
- - {get_param: ControlPlaneIp}
- {get_param: ControlPlaneSubnetCidr}
mtu: 1350
name: nic1
routes:
- ip_netmask: 169.254.169.254/32
next_hop: {get_param: EC2MetadataIp}
type: interface
use_dhcp: false
- addresses:
- ip_netmask: {get_param: ExternalIpSubnet}
dns_servers: {get_param: DnsServers}
members:
- members:
- mtu: 1350
name: nic2
primary: true
type: interface
- mtu: 1350
name: nic3
primary: false
type: interface
name: bond1
ovs_options: {get_param: BondInterfaceOvsOptions}
type: ovs_bond
name: br-ex
routes:
- ip_netmask: 0.0.0.0/0
next_hop: {get_param: ExternalInterfaceDefaultRoute}
type: ovs_bridge
use_dhcp: false
- addresses:
- ip_netmask: {get_param: InternalApiIpSubnet}
mtu: 1350
name: nic4
type: interface
use_dhcp: false
- addresses:
- ip_netmask: {get_param: StorageIpSubnet}
mtu: 1350
name: nic5
type: interface
use_dhcp: false
- addresses:
- ip_netmask: {get_param: StorageMgmtIpSubnet}
mtu: 1350
name: nic6
type: interface
use_dhcp: false
- addresses:
- ip_netmask: {get_param: TenantIpSubnet}
dns_servers: {get_param: DnsServers}
members:
- mtu: 1350
name: nic7
primary: true
type: interface
name: br-tenant
type: ovs_bridge
use_dhcp: false
group: os-apply-config
type: OS::Heat::StructuredConfig
outputs:
OS::stack_id:
description: The OsNetConfigImpl resource.
value: {get_resource: OsNetConfigImpl}

View File

@ -0,0 +1,92 @@
heat_template_version: 2015-04-30
parameters:
ControlPlaneIp:
default: ''
description: IP address/subnet on the ctlplane network
type: string
ExternalIpSubnet:
default: ''
description: IP address/subnet on the external network
type: string
InternalApiIpSubnet:
default: ''
description: IP address/subnet on the internal API network
type: string
StorageIpSubnet:
default: ''
description: IP address/subnet on the storage network
type: string
StorageMgmtIpSubnet:
default: ''
description: IP address/subnet on the storage mgmt network
type: string
TenantIpSubnet:
default: ''
description: IP address/subnet on the tenant network
type: string
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
default: ''
description: IP address/subnet on the management network
type: string
BondInterfaceOvsOptions:
default: 'bond_mode=active-backup'
description: The ovs_options string for the bond interface. Set things like
lacp=active and/or bond_mode=balance-slb using this option.
type: string
ExternalNetworkVlanID:
default: 10
description: Vlan ID for the external network traffic.
type: number
InternalApiNetworkVlanID:
default: 20
description: Vlan ID for the internal_api network traffic.
type: number
StorageNetworkVlanID:
default: 30
description: Vlan ID for the storage network traffic.
type: number
StorageMgmtNetworkVlanID:
default: 40
description: Vlan ID for the storage mgmt network traffic.
type: number
TenantNetworkVlanID:
default: 50
description: Vlan ID for the tenant network traffic.
type: number
ManagementNetworkVlanID:
default: 60
description: Vlan ID for the management network traffic.
type: number
ExternalInterfaceDefaultRoute:
default: '10.0.0.1'
description: default route for the external network
type: string
ControlPlaneSubnetCidr: # Override this via parameter_defaults
default: '24'
description: The subnet CIDR of the control plane network.
type: string
ControlPlaneDefaultRoute: # Override this via parameter_defaults
description: The default route of the control plane network.
type: string
DnsServers: # Override this via parameter_defaults
default: []
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
type: comma_delimited_list
EC2MetadataIp: # Override this via parameter_defaults
description: The IP address of the EC2 metadata server.
type: string
resources:
OsNetConfigImpl:
properties:
config:
os_net_config:
network_config: []
group: os-apply-config
type: OS::Heat::StructuredConfig
outputs:
OS::stack_id:
description: The OsNetConfigImpl resource.
value: {get_resource: OsNetConfigImpl}

View File

@ -0,0 +1,696 @@
(dp0
S'global_data'
p1
(dp2
S'control'
p3
(dp4
S'route'
p5
V192.0.2.1
p6
sS'mask'
p7
I24
sS'ec2'
p8
V192.0.2.1
p9
ssS'major'
p10
I1
sS'management'
p11
(dp12
S'start'
p13
V172.20.0.10
p14
sS'cidr'
p15
V172.20.0.0/24
p16
sS'vlan'
p17
I6
sS'end'
p18
V172.20.0.250
p19
ssS'dns2'
p20
V8.8.4.4
p21
sS'dns1'
p22
V8.8.8.8
p23
sS'storage'
p24
(dp25
g13
V172.18.0.10
p26
sg15
V172.18.0.0/24
p27
sg17
I3
sg18
V172.18.0.250
p28
ssS'auto_routes'
p29
I01
sS'bond_options'
p30
Vbond_mode=balance-slb
p31
sS'external'
p32
(dp33
S'bridge'
p34
V''
p35
sg18
V10.0.0.50
p36
sg17
I1
sg13
V10.0.0.10
p37
sg15
V10.0.0.0/24
p38
sS'gateway'
p39
V10.0.0.1
p40
ssS'internal_api'
p41
(dp42
g13
V172.17.0.10
p43
sg15
V172.17.0.0/24
p44
sg17
I2
sg18
V172.17.0.250
p45
ssS'ipv6'
p46
I00
sS'storage_mgmt'
p47
(dp48
g13
V172.19.0.10
p49
sg15
V172.19.0.0/24
p50
sg17
I4
sg18
V172.19.0.250
p51
ssS'minor'
p52
I2
sS'tenant'
p53
(dp54
g13
V172.16.0.10
p55
sg15
V172.16.0.0/24
p56
sg17
I5
sg18
V172.16.0.250
p57
sssS'data'
p58
(dp59
S'cinder-storage.yaml'
p60
(lp61
sS'ceph-storage.yaml'
p62
(lp63
(dp64
Vaddresses
p65
(lp66
sVnetwork
p67
VControlPlane
p68
sVprimary
p69
I01
sVmtu
p70
I1350
sS'members'
p71
(lp72
sVroutes
p73
(lp74
sVuse_dhcp
p75
I00
sVtype
p76
Vinterface
p77
sVname
p78
Vnic1
p79
sa(dp80
Vaddresses
p81
(lp82
sVnetwork
p83
VStorage
p84
sVprimary
p85
I01
sVmtu
p86
I1350
sg71
(lp87
sVroutes
p88
(lp89
sVuse_dhcp
p90
I00
sVtype
p91
Vinterface
p92
sVname
p93
Vnic4
p94
sa(dp95
Vaddresses
p96
(lp97
sVnetwork
p98
VStorageMgmt
p99
sVprimary
p100
I01
sVmtu
p101
I1350
sg71
(lp102
sVroutes
p103
(lp104
sVuse_dhcp
p105
I00
sVtype
p106
Vinterface
p107
sVname
p108
Vnic5
p109
sasS'controller.yaml'
p110
(lp111
(dp112
Vaddresses
p113
(lp114
sVnetwork
p115
VControlPlane
p116
sVprimary
p117
I01
sVmtu
p118
I1350
sg71
(lp119
sVroutes
p120
(lp121
sVuse_dhcp
p122
I00
sVtype
p123
Vinterface
p124
sVname
p125
Vnic1
p126
sa(dp127
Vdns_servers
p128
V{get_param: DnsServers}
p129
sVaddresses
p130
(lp131
sVnetwork
p132
VExternal
p133
sVmtu
p134
I-1
sg71
(lp135
(dp136
Vnetwork
p137
VNone
p138
sVbond_type
p139
Vovs
p140
sVovs_options
p141
V{get_param: BondInterfaceOvsOptions}
p142
sVmtu
p143
I-1
sg71
(lp144
(dp145
Vaddresses
p146
(lp147
sVnetwork
p148
VNone
p149
sVprimary
p150
I01
sVmtu
p151
I1350
sVroutes
p152
(lp153
sVuse_dhcp
p154
I00
sVtype
p155
Vinterface
p156
sVname
p157
Vnic2
p158
sa(dp159
Vaddresses
p160
(lp161
sVnetwork
p162
VNone
p163
sVprimary
p164
I00
sVmtu
p165
I1350
sVroutes
p166
(lp167
sVuse_dhcp
p168
I00
sVtype
p169
Vinterface
p170
sVname
p171
Vnic3
p172
sasVroutes
p173
(lp174
sVtype
p175
Vovs_bond
p176
sVname
p177
Vbond1
p178
sasVroutes
p179
(lp180
sVuse_dhcp
p181
I00
sVtype
p182
Vovs_bridge
p183
sVname
p184
Vbr-ex
p185
sa(dp186
Vaddresses
p187
(lp188
sVnetwork
p189
VInternalApi
p190
sVprimary
p191
I01
sVmtu
p192
I1350
sg71
(lp193
sVroutes
p194
(lp195
sVuse_dhcp
p196
I00
sVtype
p197
Vinterface
p198
sVname
p199
Vnic4
p200
sa(dp201
Vaddresses
p202
(lp203
sVnetwork
p204
VStorage
p205
sVprimary
p206
I01
sVmtu
p207
I1350
sg71
(lp208
sVroutes
p209
(lp210
sVuse_dhcp
p211
I00
sVtype
p212
Vinterface
p213
sVname
p214
Vnic5
p215
sa(dp216
Vaddresses
p217
(lp218
sVnetwork
p219
VStorageMgmt
p220
sVprimary
p221
I01
sVmtu
p222
I1350
sg71
(lp223
sVroutes
p224
(lp225
sVuse_dhcp
p226
I00
sVtype
p227
Vinterface
p228
sVname
p229
Vnic6
p230
sa(dp231
Vdns_servers
p232
V{get_param: DnsServers}
p233
sVaddresses
p234
(lp235
sVnetwork
p236
VTenant
p237
sVmtu
p238
I-1
sg71
(lp239
(dp240
Vaddresses
p241
(lp242
sVnetwork
p243
VNone
p244
sVprimary
p245
I01
sVmtu
p246
I1350
sg71
(lp247
sVroutes
p248
(lp249
sVuse_dhcp
p250
I00
sVtype
p251
Vinterface
p252
sVname
p253
Vnic7
p254
sasVroutes
p255
(lp256
sVuse_dhcp
p257
I00
sVtype
p258
Vovs_bridge
p259
sVname
p260
Vbr-tenant
p261
sasS'swift-storage.yaml'
p262
(lp263
sS'compute.yaml'
p264
(lp265
(dp266
Vaddresses
p267
(lp268
sVnetwork
p269
VControlPlane
p270
sVprimary
p271
I01
sVmtu
p272
I1350
sg71
(lp273
sVroutes
p274
(lp275
sVuse_dhcp
p276
I00
sVtype
p277
Vinterface
p278
sVname
p279
Vnic1
p280
sa(dp281
Vaddresses
p282
(lp283
sVnetwork
p284
VInternalApi
p285
sVprimary
p286
I01
sVmtu
p287
I1350
sg71
(lp288
sVroutes
p289
(lp290
sVuse_dhcp
p291
I00
sVtype
p292
Vinterface
p293
sVname
p294
Vnic4
p295
sa(dp296
Vaddresses
p297
(lp298
sVnetwork
p299
VStorage
p300
sVprimary
p301
I01
sVmtu
p302
I1350
sg71
(lp303
sVroutes
p304
(lp305
sVuse_dhcp
p306
I00
sVtype
p307
Vinterface
p308
sVname
p309
Vnic5
p310
sa(dp311
Vdns_servers
p312
V{get_param: DnsServers}
p313
sVaddresses
p314
(lp315
sVnetwork
p316
VTenant
p317
sVmtu
p318
I-1
sg71
(lp319
(dp320
Vaddresses
p321
(lp322
sVnetwork
p323
VNone
p324
sVprimary
p325
I01
sVmtu
p326
I1350
sg71
(lp327
sVroutes
p328
(lp329
sVuse_dhcp
p330
I00
sVtype
p331
Vinterface
p332
sVname
p333
Vnic7
p334
sasVroutes
p335
(lp336
sVuse_dhcp
p337
I00
sVtype
p338
Vovs_bridge
p339
sVname
p340
Vbr-tenant
p341
sass.

View File

@ -0,0 +1,126 @@
heat_template_version: 2014-10-16
parameters:
baremetal_prefix:
type: string
provision_net:
type: string
public_net:
type: string
description: Name of external network
default: public
suffix:
type: string
overcloud_internal_net:
type: string
description: Name of internal API network
default: overcloud_internal
overcloud_storage_net:
type: string
description: Name of storage network
default: overcloud_storage
overcloud_storage_mgmt_net:
type: string
description: Name of storage management network
default: overcloud_storage_mgmt
overcloud_tenant_net:
type: string
description: Name of tenant network
default: overcloud_tenant
resources:
provision_port:
type: OS::Neutron::Port
properties:
name:
list_join:
- ''
- - {get_param: baremetal_prefix}
- {get_param: suffix}
network: {get_param: provision_net}
internal_port:
type: OS::Neutron::Port
properties:
name:
list_join:
- ''
- - internal_
- {get_param: baremetal_prefix}
- {get_param: suffix}
network: {get_param: overcloud_internal_net}
storage_port:
type: OS::Neutron::Port
properties:
name:
list_join:
- ''
- - storage_
- {get_param: baremetal_prefix}
- {get_param: suffix}
network: {get_param: overcloud_storage_net}
storage_mgmt_port:
type: OS::Neutron::Port
properties:
name:
list_join:
- ''
- - storage_mgmt_
- {get_param: baremetal_prefix}
- {get_param: suffix}
network: {get_param: overcloud_storage_mgmt_net}
tenant_port:
type: OS::Neutron::Port
properties:
name:
list_join:
- ''
- - tenant_
- {get_param: baremetal_prefix}
- {get_param: suffix}
network: {get_param: overcloud_tenant_net}
public_port:
type: OS::Neutron::Port
properties:
name:
list_join:
- ''
- - public_
- {get_param: baremetal_prefix}
- {get_param: suffix}
network: {get_param: public_net}
public_bond_port:
type: OS::Neutron::Port
properties:
name:
list_join:
- ''
- - public_
- {get_param: baremetal_prefix}
- {get_param: suffix}
network: {get_param: public_net}
outputs:
ports:
value:
- {port: {get_resource: provision_port}}
- {port: {get_resource: public_port}}
- {port: {get_resource: public_bond_port}}
- {port: {get_resource: internal_port}}
- {port: {get_resource: storage_port}}
- {port: {get_resource: storage_mgmt_port}}
- {port: {get_resource: tenant_port}}