Add ipv6 nic-configs
These are OVB-compatible multiple-nics network templates for use in the upcoming ipv6 CI job(s). Change-Id: Ief9db883f138926fc561b8f9123f43cbf9cc9838
This commit is contained in:
parent
964628d775
commit
8609912a99
22
test-environments/ipv6-network-templates/README
Normal file
22
test-environments/ipv6-network-templates/README
Normal 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
|
@ -0,0 +1,25 @@
|
||||
|
||||
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: 2001:db8:fd00:1000::/64
|
||||
ExternalAllocationPools: [{"start": "2001:db8:fd00:1000::10", "end": "2001:db8:fd00:1000:ffff:ffff:ffff:fffe"}]
|
||||
ExternalInterfaceDefaultRoute: 2001:db8:fd00:1000::1
|
||||
NeutronExternalNetworkBridge: "''"
|
||||
InternalApiNetCidr: fd00:fd00:fd00:2000::/64
|
||||
InternalApiAllocationPools: [{"start": "fd00:fd00:fd00:2000::10", "end": "fd00:fd00:fd00:2000:ffff:ffff:ffff:fffe"}]
|
||||
StorageNetCidr: fd00:fd00:fd00:3000::/64
|
||||
StorageAllocationPools: [{"start": "fd00:fd00:fd00:3000::10", "end": "fd00:fd00:fd00:3000:ffff:ffff:ffff:fffe"}]
|
||||
StorageMgmtNetCidr: fd00:fd00:fd00:4000::/64
|
||||
StorageMgmtAllocationPools: [{"start": "fd00:fd00:fd00:4000::10", "end": "fd00:fd00:fd00:4000:ffff:ffff:ffff:fffe"}]
|
||||
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"]
|
@ -0,0 +1,36 @@
|
||||
resource_registry:
|
||||
# Redis
|
||||
OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/vip_v6.yaml
|
||||
OS::TripleO::Controller::Ports::RedisVipPort: ../network/ports/vip_v6.yaml
|
||||
# External
|
||||
OS::TripleO::Network::External: ../network/external_v6.yaml
|
||||
OS::TripleO::Network::Ports::ExternalVipPort: ../network/ports/external_v6.yaml
|
||||
OS::TripleO::Controller::Ports::ExternalPort: ../network/ports/external_v6.yaml
|
||||
# InternalApi
|
||||
OS::TripleO::Network::InternalApi: ../network/internal_api_v6.yaml
|
||||
OS::TripleO::Network::Ports::InternalApiVipPort: ../network/ports/internal_api_v6.yaml
|
||||
OS::TripleO::Controller::Ports::InternalApiPort: ../network/ports/internal_api_v6.yaml
|
||||
OS::TripleO::Compute::Ports::InternalApiPort: ../network/ports/internal_api_v6.yaml
|
||||
# Storage
|
||||
OS::TripleO::Network::Storage: ../network/storage_v6.yaml
|
||||
OS::TripleO::Network::Ports::StorageVipPort: ../network/ports/storage_v6.yaml
|
||||
OS::TripleO::Controller::Ports::StoragePort: ../network/ports/storage_v6.yaml
|
||||
OS::TripleO::Compute::Ports::StoragePort: ../network/ports/storage_v6.yaml
|
||||
OS::TripleO::CephStorage::Ports::StoragePort: ../network/ports/storage_v6.yaml
|
||||
# StorageMgmt
|
||||
OS::TripleO::Network::StorageMgmt: ../network/storage_mgmt_v6.yaml
|
||||
OS::TripleO::Network::Ports::StorageMgmtVipPort: ../network/ports/storage_mgmt_v6.yaml
|
||||
OS::TripleO::Controller::Ports::StorageMgmtPort: ../network/ports/storage_mgmt_v6.yaml
|
||||
OS::TripleO::CephStorage::Ports::StorageMgmtPort: ../network/ports/storage_mgmt_v6.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
|
||||
parameter_defaults:
|
||||
CephIPv6: True
|
||||
CorosyncIPv6: True
|
||||
MongoDbIPv6: True
|
||||
NovaIPv6: True
|
||||
RabbitIPv6: True
|
||||
MemcachedIPv6: True
|
@ -0,0 +1,120 @@
|
||||
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:
|
||||
- default: true
|
||||
ip_netmask: 0.0.0.0/0
|
||||
next_hop: {get_param: ControlPlaneDefaultRoute}
|
||||
- ip_netmask: 169.254.169.254/32
|
||||
next_hop: {get_param: EC2MetadataIp}
|
||||
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}
|
@ -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}
|
@ -0,0 +1,131 @@
|
||||
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:
|
||||
- default: true
|
||||
ip_netmask: 0.0.0.0/0
|
||||
next_hop: {get_param: ControlPlaneDefaultRoute}
|
||||
- ip_netmask: 169.254.169.254/32
|
||||
next_hop: {get_param: EC2MetadataIp}
|
||||
type: interface
|
||||
use_dhcp: false
|
||||
- addresses:
|
||||
- ip_netmask: {get_param: InternalApiIpSubnet}
|
||||
mtu: 1350
|
||||
name: nic3
|
||||
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: TenantIpSubnet}
|
||||
dns_servers: {get_param: DnsServers}
|
||||
members:
|
||||
- mtu: 1350
|
||||
name: nic6
|
||||
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}
|
@ -0,0 +1,152 @@
|
||||
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:
|
||||
- default: true
|
||||
ip_netmask: 0.0.0.0/0
|
||||
next_hop: {get_param: ControlPlaneDefaultRoute}
|
||||
- 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:
|
||||
- mtu: 1350
|
||||
name: nic2
|
||||
primary: true
|
||||
type: interface
|
||||
name: br-ex
|
||||
routes:
|
||||
- default: true
|
||||
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: nic3
|
||||
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
|
||||
- addresses:
|
||||
- ip_netmask: {get_param: TenantIpSubnet}
|
||||
dns_servers: {get_param: DnsServers}
|
||||
members:
|
||||
- mtu: 1350
|
||||
name: nic6
|
||||
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}
|
@ -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}
|
729
test-environments/ipv6-network-templates/ui-settings.pickle
Normal file
729
test-environments/ipv6-network-templates/ui-settings.pickle
Normal file
@ -0,0 +1,729 @@
|
||||
(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
|
||||
Vfd00:fd00:fd00:3000::10
|
||||
p26
|
||||
sg15
|
||||
Vfd00:fd00:fd00:3000::/64
|
||||
p27
|
||||
sg17
|
||||
I3
|
||||
sg18
|
||||
Vfd00:fd00:fd00:3000:ffff:ffff:ffff:fffe
|
||||
p28
|
||||
ssS'auto_routes'
|
||||
p29
|
||||
I00
|
||||
sS'bond_options'
|
||||
p30
|
||||
V
|
||||
p31
|
||||
sS'external'
|
||||
p32
|
||||
(dp33
|
||||
S'bridge'
|
||||
p34
|
||||
V''
|
||||
p35
|
||||
sg18
|
||||
V2001:db8:fd00:1000:ffff:ffff:ffff:fffe
|
||||
p36
|
||||
sg17
|
||||
I1
|
||||
sg13
|
||||
V2001:db8:fd00:1000::10
|
||||
p37
|
||||
sg15
|
||||
V2001:db8:fd00:1000::/64
|
||||
p38
|
||||
sS'gateway'
|
||||
p39
|
||||
V2001:db8:fd00:1000::1
|
||||
p40
|
||||
ssS'internal_api'
|
||||
p41
|
||||
(dp42
|
||||
g13
|
||||
Vfd00:fd00:fd00:2000::10
|
||||
p43
|
||||
sg15
|
||||
Vfd00:fd00:fd00:2000::/64
|
||||
p44
|
||||
sg17
|
||||
I2
|
||||
sg18
|
||||
Vfd00:fd00:fd00:2000:ffff:ffff:ffff:fffe
|
||||
p45
|
||||
ssS'ipv6'
|
||||
p46
|
||||
I01
|
||||
sS'storage_mgmt'
|
||||
p47
|
||||
(dp48
|
||||
g13
|
||||
Vfd00:fd00:fd00:4000::10
|
||||
p49
|
||||
sg15
|
||||
Vfd00:fd00:fd00:4000::/64
|
||||
p50
|
||||
sg17
|
||||
I4
|
||||
sg18
|
||||
Vfd00:fd00:fd00:4000:ffff:ffff:ffff:fffe
|
||||
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
|
||||
(dp73
|
||||
Vip_netmask
|
||||
p74
|
||||
V0.0.0.0/0
|
||||
p75
|
||||
sVname
|
||||
p76
|
||||
VRoute
|
||||
p77
|
||||
sVdefault
|
||||
p78
|
||||
I01
|
||||
sVnext_hop
|
||||
p79
|
||||
V{get_param: ControlPlaneDefaultRoute}
|
||||
p80
|
||||
sg71
|
||||
(lp81
|
||||
sVtype
|
||||
p82
|
||||
Vroute
|
||||
p83
|
||||
sasVroutes
|
||||
p84
|
||||
(lp85
|
||||
sVuse_dhcp
|
||||
p86
|
||||
I00
|
||||
sVtype
|
||||
p87
|
||||
Vinterface
|
||||
p88
|
||||
sVname
|
||||
p89
|
||||
Vnic1
|
||||
p90
|
||||
sa(dp91
|
||||
Vaddresses
|
||||
p92
|
||||
(lp93
|
||||
sVnetwork
|
||||
p94
|
||||
VStorage
|
||||
p95
|
||||
sVprimary
|
||||
p96
|
||||
I01
|
||||
sVmtu
|
||||
p97
|
||||
I1350
|
||||
sg71
|
||||
(lp98
|
||||
sVroutes
|
||||
p99
|
||||
(lp100
|
||||
sVuse_dhcp
|
||||
p101
|
||||
I00
|
||||
sVtype
|
||||
p102
|
||||
Vinterface
|
||||
p103
|
||||
sVname
|
||||
p104
|
||||
Vnic4
|
||||
p105
|
||||
sa(dp106
|
||||
Vaddresses
|
||||
p107
|
||||
(lp108
|
||||
sVnetwork
|
||||
p109
|
||||
VStorageMgmt
|
||||
p110
|
||||
sVprimary
|
||||
p111
|
||||
I01
|
||||
sVmtu
|
||||
p112
|
||||
I1350
|
||||
sg71
|
||||
(lp113
|
||||
sVroutes
|
||||
p114
|
||||
(lp115
|
||||
sVuse_dhcp
|
||||
p116
|
||||
I00
|
||||
sVtype
|
||||
p117
|
||||
Vinterface
|
||||
p118
|
||||
sVname
|
||||
p119
|
||||
Vnic5
|
||||
p120
|
||||
sasS'controller.yaml'
|
||||
p121
|
||||
(lp122
|
||||
(dp123
|
||||
Vaddresses
|
||||
p124
|
||||
(lp125
|
||||
sVnetwork
|
||||
p126
|
||||
VControlPlane
|
||||
p127
|
||||
sVprimary
|
||||
p128
|
||||
I01
|
||||
sVmtu
|
||||
p129
|
||||
I1350
|
||||
sg71
|
||||
(lp130
|
||||
(dp131
|
||||
Vip_netmask
|
||||
p132
|
||||
V0.0.0.0/0
|
||||
p133
|
||||
sVname
|
||||
p134
|
||||
VRoute
|
||||
p135
|
||||
sVdefault
|
||||
p136
|
||||
I01
|
||||
sVnext_hop
|
||||
p137
|
||||
V{get_param: ControlPlaneDefaultRoute}
|
||||
p138
|
||||
sg71
|
||||
(lp139
|
||||
sVtype
|
||||
p140
|
||||
Vroute
|
||||
p141
|
||||
sasVroutes
|
||||
p142
|
||||
(lp143
|
||||
sVuse_dhcp
|
||||
p144
|
||||
I00
|
||||
sVtype
|
||||
p145
|
||||
Vinterface
|
||||
p146
|
||||
sVname
|
||||
p147
|
||||
Vnic1
|
||||
p148
|
||||
sa(dp149
|
||||
Vdns_servers
|
||||
p150
|
||||
V{get_param: DnsServers}
|
||||
p151
|
||||
sVaddresses
|
||||
p152
|
||||
(lp153
|
||||
sVnetwork
|
||||
p154
|
||||
VExternal
|
||||
p155
|
||||
sVmtu
|
||||
p156
|
||||
I-1
|
||||
sg71
|
||||
(lp157
|
||||
(dp158
|
||||
Vaddresses
|
||||
p159
|
||||
(lp160
|
||||
sVnetwork
|
||||
p161
|
||||
VNone
|
||||
p162
|
||||
sVprimary
|
||||
p163
|
||||
I01
|
||||
sVmtu
|
||||
p164
|
||||
I1350
|
||||
sg71
|
||||
(lp165
|
||||
sVroutes
|
||||
p166
|
||||
(lp167
|
||||
sVuse_dhcp
|
||||
p168
|
||||
I00
|
||||
sVtype
|
||||
p169
|
||||
Vinterface
|
||||
p170
|
||||
sVname
|
||||
p171
|
||||
Vnic2
|
||||
p172
|
||||
sa(dp173
|
||||
Vip_netmask
|
||||
p174
|
||||
V0.0.0.0/0
|
||||
p175
|
||||
sVname
|
||||
p176
|
||||
VRoute
|
||||
p177
|
||||
sVdefault
|
||||
p178
|
||||
I01
|
||||
sVnext_hop
|
||||
p179
|
||||
V{get_param: ExternalInterfaceDefaultRoute}
|
||||
p180
|
||||
sg71
|
||||
(lp181
|
||||
sVtype
|
||||
p182
|
||||
Vroute
|
||||
p183
|
||||
sasVroutes
|
||||
p184
|
||||
(lp185
|
||||
sVuse_dhcp
|
||||
p186
|
||||
I00
|
||||
sVtype
|
||||
p187
|
||||
Vovs_bridge
|
||||
p188
|
||||
sVname
|
||||
p189
|
||||
Vbr-ex
|
||||
p190
|
||||
sa(dp191
|
||||
Vaddresses
|
||||
p192
|
||||
(lp193
|
||||
sVnetwork
|
||||
p194
|
||||
VInternalApi
|
||||
p195
|
||||
sVprimary
|
||||
p196
|
||||
I01
|
||||
sVmtu
|
||||
p197
|
||||
I1350
|
||||
sg71
|
||||
(lp198
|
||||
sVroutes
|
||||
p199
|
||||
(lp200
|
||||
sVuse_dhcp
|
||||
p201
|
||||
I00
|
||||
sVtype
|
||||
p202
|
||||
Vinterface
|
||||
p203
|
||||
sVname
|
||||
p204
|
||||
Vnic3
|
||||
p205
|
||||
sa(dp206
|
||||
Vaddresses
|
||||
p207
|
||||
(lp208
|
||||
sVnetwork
|
||||
p209
|
||||
VStorage
|
||||
p210
|
||||
sVprimary
|
||||
p211
|
||||
I01
|
||||
sVmtu
|
||||
p212
|
||||
I1350
|
||||
sg71
|
||||
(lp213
|
||||
sVroutes
|
||||
p214
|
||||
(lp215
|
||||
sVuse_dhcp
|
||||
p216
|
||||
I00
|
||||
sVtype
|
||||
p217
|
||||
Vinterface
|
||||
p218
|
||||
sVname
|
||||
p219
|
||||
Vnic4
|
||||
p220
|
||||
sa(dp221
|
||||
Vaddresses
|
||||
p222
|
||||
(lp223
|
||||
sVnetwork
|
||||
p224
|
||||
VStorageMgmt
|
||||
p225
|
||||
sVprimary
|
||||
p226
|
||||
I01
|
||||
sVmtu
|
||||
p227
|
||||
I1350
|
||||
sg71
|
||||
(lp228
|
||||
sVroutes
|
||||
p229
|
||||
(lp230
|
||||
sVuse_dhcp
|
||||
p231
|
||||
I00
|
||||
sVtype
|
||||
p232
|
||||
Vinterface
|
||||
p233
|
||||
sVname
|
||||
p234
|
||||
Vnic5
|
||||
p235
|
||||
sa(dp236
|
||||
Vdns_servers
|
||||
p237
|
||||
V{get_param: DnsServers}
|
||||
p238
|
||||
sVaddresses
|
||||
p239
|
||||
(lp240
|
||||
sVnetwork
|
||||
p241
|
||||
VTenant
|
||||
p242
|
||||
sVmtu
|
||||
p243
|
||||
I-1
|
||||
sg71
|
||||
(lp244
|
||||
(dp245
|
||||
Vaddresses
|
||||
p246
|
||||
(lp247
|
||||
sVnetwork
|
||||
p248
|
||||
VNone
|
||||
p249
|
||||
sVprimary
|
||||
p250
|
||||
I01
|
||||
sVmtu
|
||||
p251
|
||||
I1350
|
||||
sg71
|
||||
(lp252
|
||||
sVroutes
|
||||
p253
|
||||
(lp254
|
||||
sVuse_dhcp
|
||||
p255
|
||||
I00
|
||||
sVtype
|
||||
p256
|
||||
Vinterface
|
||||
p257
|
||||
sVname
|
||||
p258
|
||||
Vnic6
|
||||
p259
|
||||
sasVroutes
|
||||
p260
|
||||
(lp261
|
||||
sVuse_dhcp
|
||||
p262
|
||||
I00
|
||||
sVtype
|
||||
p263
|
||||
Vovs_bridge
|
||||
p264
|
||||
sVname
|
||||
p265
|
||||
Vbr-tenant
|
||||
p266
|
||||
sasS'swift-storage.yaml'
|
||||
p267
|
||||
(lp268
|
||||
sS'compute.yaml'
|
||||
p269
|
||||
(lp270
|
||||
(dp271
|
||||
Vaddresses
|
||||
p272
|
||||
(lp273
|
||||
sVnetwork
|
||||
p274
|
||||
VControlPlane
|
||||
p275
|
||||
sVprimary
|
||||
p276
|
||||
I01
|
||||
sVmtu
|
||||
p277
|
||||
I1350
|
||||
sg71
|
||||
(lp278
|
||||
(dp279
|
||||
Vip_netmask
|
||||
p280
|
||||
V0.0.0.0/0
|
||||
p281
|
||||
sVname
|
||||
p282
|
||||
VRoute
|
||||
p283
|
||||
sVdefault
|
||||
p284
|
||||
I01
|
||||
sVnext_hop
|
||||
p285
|
||||
V{get_param: ControlPlaneDefaultRoute}
|
||||
p286
|
||||
sg71
|
||||
(lp287
|
||||
sVtype
|
||||
p288
|
||||
Vroute
|
||||
p289
|
||||
sasVroutes
|
||||
p290
|
||||
(lp291
|
||||
sVuse_dhcp
|
||||
p292
|
||||
I00
|
||||
sVtype
|
||||
p293
|
||||
Vinterface
|
||||
p294
|
||||
sVname
|
||||
p295
|
||||
Vnic1
|
||||
p296
|
||||
sa(dp297
|
||||
Vaddresses
|
||||
p298
|
||||
(lp299
|
||||
sVnetwork
|
||||
p300
|
||||
VInternalApi
|
||||
p301
|
||||
sVprimary
|
||||
p302
|
||||
I01
|
||||
sVmtu
|
||||
p303
|
||||
I1350
|
||||
sg71
|
||||
(lp304
|
||||
sVroutes
|
||||
p305
|
||||
(lp306
|
||||
sVuse_dhcp
|
||||
p307
|
||||
I00
|
||||
sVtype
|
||||
p308
|
||||
Vinterface
|
||||
p309
|
||||
sVname
|
||||
p310
|
||||
Vnic3
|
||||
p311
|
||||
sa(dp312
|
||||
Vaddresses
|
||||
p313
|
||||
(lp314
|
||||
sVnetwork
|
||||
p315
|
||||
VStorage
|
||||
p316
|
||||
sVprimary
|
||||
p317
|
||||
I01
|
||||
sVmtu
|
||||
p318
|
||||
I1350
|
||||
sg71
|
||||
(lp319
|
||||
sVroutes
|
||||
p320
|
||||
(lp321
|
||||
sVuse_dhcp
|
||||
p322
|
||||
I00
|
||||
sVtype
|
||||
p323
|
||||
Vinterface
|
||||
p324
|
||||
sVname
|
||||
p325
|
||||
Vnic4
|
||||
p326
|
||||
sa(dp327
|
||||
Vdns_servers
|
||||
p328
|
||||
V{get_param: DnsServers}
|
||||
p329
|
||||
sVaddresses
|
||||
p330
|
||||
(lp331
|
||||
sVnetwork
|
||||
p332
|
||||
VTenant
|
||||
p333
|
||||
sVmtu
|
||||
p334
|
||||
I-1
|
||||
sg71
|
||||
(lp335
|
||||
(dp336
|
||||
Vaddresses
|
||||
p337
|
||||
(lp338
|
||||
sVnetwork
|
||||
p339
|
||||
VNone
|
||||
p340
|
||||
sVprimary
|
||||
p341
|
||||
I01
|
||||
sVmtu
|
||||
p342
|
||||
I1350
|
||||
sg71
|
||||
(lp343
|
||||
sVroutes
|
||||
p344
|
||||
(lp345
|
||||
sVuse_dhcp
|
||||
p346
|
||||
I00
|
||||
sVtype
|
||||
p347
|
||||
Vinterface
|
||||
p348
|
||||
sVname
|
||||
p349
|
||||
Vnic6
|
||||
p350
|
||||
sasVroutes
|
||||
p351
|
||||
(lp352
|
||||
sVuse_dhcp
|
||||
p353
|
||||
I00
|
||||
sVtype
|
||||
p354
|
||||
Vovs_bridge
|
||||
p355
|
||||
sVname
|
||||
p356
|
||||
Vbr-tenant
|
||||
p357
|
||||
sass.
|
Loading…
Reference in New Issue
Block a user