-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
150 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
--- | ||
# This template configures each role to use Vlans on a single nic for | ||
# each isolated network, but uses multiple nic's on each node: | ||
# | ||
# nic1 = pxe/management/ctlplane | ||
# nic2 = VLAN trunk for network isolation | ||
# nic3 = public/external access | ||
# | ||
# This template assumes use of network-isolation.yaml. | ||
# | ||
# FIXME: if/when we add functionality to heatclient to include heat | ||
# environment files we should think about using it here to automatically | ||
# include network-isolation.yaml. | ||
resource_registry: | ||
{% if composable_roles == true %} | ||
{% for machine_type in machine_types %} | ||
OS::TripleO::Compute{{ machine_type }}::Net::SoftwareConfig: vlans/{%raw%}{{ nics_subfolder }}{%endraw%}/compute_{{ machine_type }}.yaml | ||
{% endfor %} | ||
{% else %} | ||
OS::TripleO::Compute::Net::SoftwareConfig: vlans/{%raw%}{{ nics_subfolder }}{%endraw%}/compute.yaml | ||
{% endif %} | ||
OS::TripleO::Controller::Net::SoftwareConfig: vlans/{%raw%}{{ nics_subfolder }}{%endraw%}/controller.yaml | ||
|
||
parameter_defaults: | ||
{%raw%}{% if not use_network_data|bool %} | ||
|
||
ExternalNetCidr: '2620:52:0:13b8::/64' | ||
ExternalAllocationPools: [{'start': '2620:52:0:13b8:5054:ff:fe3e:1', 'end': '2620:52:0:13b8:5054:ff:fe3e:aa'}] | ||
ExternalInterfaceDefaultRoute: 2620:52:0:13b8::fe | ||
ExternalNetworkVlanID: 10 | ||
InternalApiNetCidr: 'fd00:fd00:fd00:2000::/64' | ||
InternalApiAllocationPools: [{'start': 'fd00:fd00:fd00:2000::10', 'end': 'fd00:fd00:fd00:2000:aaaa:aaaa:ffff:fffe'}] | ||
StorageNetCidr: 'fd00:fd00:fd00:3000::/64' | ||
StorageAllocationPools: [{'start': 'fd00:fd00:fd00:3000::10', 'end': 'fd00:fd00:fd00:3000:aaaa:aaaa:ffff:fffe'}] | ||
StorageMgmtNetCidr: 'fd00:fd00:fd00:4000::/64' | ||
StorageMgmtAllocationPools: [{'start': 'fd00:fd00:fd00:4000::10', 'end': 'fd00:fd00:fd00:4000:aaaa:aaaa:ffff:fffe'}] | ||
TenantNetCidr: '172.17.2.0/24' | ||
TenantAllocationPools: [{'start': '172.17.2.10', 'end': '172.17.2.149'}] | ||
TenantNetworkVlanID: 50 | ||
{% else %}{%endraw%} | ||
# when using only network data, we use network-isolation (not | ||
# network-isolation-v6) as per recommendation. But then those | ||
# parameters are missing. Set it there. | ||
# Enable IPv6 for Ceph. | ||
CephIPv6: True | ||
# Enable IPv6 for Corosync. This is required when Corosync is using an IPv6 IP in the cluster. | ||
CorosyncIPv6: True | ||
# Enable various IPv6 features in Nova. | ||
NovaIPv6: True | ||
# Enable IPv6 environment for RabbitMQ. | ||
RabbitIPv6: True | ||
# Enable IPv6 environment for Memcached. | ||
MemcachedIPv6: True | ||
# Enable IPv6 environment for MySQL. | ||
MysqlIPv6: True | ||
# Enable IPv6 environment for Manila | ||
ManilaIPv6: True | ||
# Enable IPv6 environment for Redis. | ||
RedisIPv6: True | ||
{%raw%}{% endif %}{%endraw%} | ||
|
||
# DnsServers: ["2620:52:0:13b8::fe"] | ||
DnsServers: ["10.0.0.1"] | ||
EC2MetadataIp: 192.168.24.1 | ||
{%raw%}{% if install.splitstack|default(False) %} | ||
|
||
ControlPlaneDefaultRoute: {{ ansible_host|default(ansible_ssh_host) }} | ||
{% else %}{%endraw%} | ||
|
||
ControlPlaneDefaultRoute: 192.168.24.1 | ||
{%raw%}{% endif %}{%endraw%} | ||
|
||
{%raw%}{% if install.version|default(undercloud_version) | openstack_release == 14 %}{%endraw%} | ||
ControlPlaneSubnetCidr: "24" | ||
{%raw%}{% endif %}{%endraw%} | ||
|
||
{%raw%}{% if install.network.dvr %} | ||
NeutronExternalNetworkBridge: "br-ex" | ||
{% else %}{%endraw%} | ||
NeutronExternalNetworkBridge: "" | ||
{%raw%}{% endif %}{%endraw%} | ||
NeutronBridgeMappings: "datacentre:br-ex,tenant:br-isolated" | ||
NeutronNetworkVLANRanges: "tenant:1000:2000" |