diff options
author | Tim Rozet <trozet@redhat.com> | 2015-12-02 17:32:52 -0500 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2015-12-02 17:34:21 -0500 |
commit | 95becb2b5a29cf272ac030695c2b76b9ee226b0d (patch) | |
tree | 67a7a32c4e455be0c678044bcb5be6074a568bfa /config/deploy/network | |
parent | 6306d6de5cc825d15667b0dd982847bcf373c07e (diff) |
Adds yaml files to use as input to Apex build/deploy
yaml inputs are broken up into:
-build settings
-deploy options
-network definition
-pod baremetal information
JIRA: APEX-53
Change-Id: Iee85b17beb37ce82bf9312dcce61e09ae924dfc5
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'config/deploy/network')
-rw-r--r-- | config/deploy/network/network-environment-example.yaml | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/config/deploy/network/network-environment-example.yaml b/config/deploy/network/network-environment-example.yaml new file mode 100644 index 00000000..f6c101fa --- /dev/null +++ b/config/deploy/network/network-environment-example.yaml @@ -0,0 +1,71 @@ +resource_registry: + OS::TripleO::BlockStorage::Net::SoftwareConfig: /home/stack/nic-configs/cinder-storage.yaml + OS::TripleO::Compute::Net::SoftwareConfig: /home/stack/nic-configs/compute.yaml + OS::TripleO::Controller::Net::SoftwareConfig: /home/stack/nic-configs/controller.yaml + OS::TripleO::ObjectStorage::Net::SoftwareConfig: /home/stack/nic-configs/swift-storage.yaml + OS::TripleO::CephStorage::Net::SoftwareConfig: /home/stack/nic-configs/ceph-storage.yaml + +parameter_defaults: + # Customize all these values to match the local environment + InternalApiNetCidr: 172.17.0.0/24 + StorageNetCidr: 172.18.0.0/24 + StorageMgmtNetCidr: 172.19.0.0/24 + TenantNetCidr: 172.16.0.0/24 + ExternalNetCidr: 10.1.2.0/24 + # CIDR subnet mask length for provisioning network + ControlPlaneSubnetCidr: 24 + InternalApiAllocationPools: [{'start': '172.17.0.10', 'end': '172.17.0.200'}] + StorageAllocationPools: [{'start': '172.18.0.10', 'end': '172.18.0.200'}] + StorageMgmtAllocationPools: [{'start': '172.19.0.10', 'end': '172.19.0.200'}] + TenantAllocationPools: [{'start': '172.16.0.10', 'end': '172.16.0.200'}] + # Use an External allocation pool which will leave room for floating IPs + ExternalAllocationPools: [{'start': '10.1.2.10', 'end': '10.1.2.50'}] + # Set to the router gateway on the external network + ExternalInterfaceDefaultRoute: 10.1.2.1 + # Gateway router for the provisioning network (or Undercloud IP) + ControlPlaneDefaultRoute: 192.0.2.254 + # Generally the IP of the Undercloud + EC2MetadataIp: 192.0.2.1 + # Define the DNS servers (maximum 2) for the overcloud nodes + DnsServers: ["8.8.8.8","8.8.4.4"] + InternalApiNetworkVlanID: 201 + StorageNetworkVlanID: 202 + StorageMgmtNetworkVlanID: 203 + TenantNetworkVlanID: 204 + ExternalNetworkVlanID: 100 + # May set to br-ex if using floating IPs only on native VLAN on bridge br-ex + NeutronExternalNetworkBridge: "''" + # Customize bonding options if required (ignored if bonds are not used) + BondInterfaceOvsOptions: + "bond_mode=balance-tcp lacp=active other-config:lacp-fallback-ab=true" + + ServiceNetMap: + NeutronTenantNetwork: tenant + CeilometerApiNetwork: internal_api + MongoDbNetwork: internal_api + CinderApiNetwork: internal_api + CinderIscsiNetwork: storage + GlanceApiNetwork: storage + GlanceRegistryNetwork: internal_api + KeystoneAdminApiNetwork: internal_api + KeystonePublicApiNetwork: internal_api + NeutronApiNetwork: internal_api + HeatApiNetwork: internal_api + NovaApiNetwork: internal_api + NovaMetadataNetwork: internal_api + NovaVncProxyNetwork: internal_api + SwiftMgmtNetwork: storage_mgmt + SwiftProxyNetwork: storage + HorizonNetwork: internal_api + MemcachedNetwork: internal_api + RabbitMqNetwork: internal_api + RedisNetwork: internal_api + MysqlNetwork: internal_api + CephClusterNetwork: storage_mgmt + CephPublicNetwork: storage + # Define which network will be used for hostname resolution + ControllerHostnameResolveNetwork: internal_api + ComputeHostnameResolveNetwork: internal_api + BlockStorageHostnameResolveNetwork: internal_api + ObjectStorageHostnameResolveNetwork: internal_api + CephStorageHostnameResolveNetwork: storage |