Add sample environment file to document usage of predictable IPs
authorGiulio Fidente <gfidente@redhat.com>
Wed, 4 Nov 2015 13:51:08 +0000 (14:51 +0100)
committerGiulio Fidente <gfidente@redhat.com>
Tue, 15 Dec 2015 11:52:15 +0000 (12:52 +0100)
This change adds a sample environment file which documents how to
assign to controllers a predictable IP on each network.

Change-Id: I5be21428c66c82488af8e0240c1614ac3b9b55f0

environments/ips-from-pool.yaml [new file with mode: 0644]

diff --git a/environments/ips-from-pool.yaml b/environments/ips-from-pool.yaml
new file mode 100644 (file)
index 0000000..8c27fe4
--- /dev/null
@@ -0,0 +1,20 @@
+resource_registry:
+  OS::TripleO::Controller::Ports::ExternalPort: ../network/ports/external_from_pool.yaml
+  OS::TripleO::Controller::Ports::InternalApiPort: ../network/ports/internal_api_from_pool.yaml
+  OS::TripleO::Controller::Ports::StoragePort: ../network/ports/storage_from_pool.yaml
+  OS::TripleO::Controller::Ports::StorageMgmtPort: ../network/ports/storage_mgmt_from_pool.yaml
+  OS::TripleO::Controller::Ports::TenantPort: ../network/ports/tenant_from_pool.yaml
+
+parameter_defaults:
+  ControllerIPs:
+    # Each controller will get an IP from the lists below, first controller, first IP
+    external:
+    - 10.0.0.251
+    internal_api:
+    - 172.16.2.251
+    storage:
+    - 172.16.1.251
+    storage_mgmt:
+    - 172.16.3.251
+    tenant:
+    - 172.16.0.251