From 22b4acf454d74302f1cca03f7fe22f63619b1f70 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Wed, 9 Dec 2015 13:07:32 +0100 Subject: Allow for usage of pre-allocated IPs for the controller nodes This change adds a new *_from_pool.yaml meant to return an IP from a list instead of allocating a Neutron port, useful to pick an IP from a pre-defined list and making it possible to configure, for example an external balancer in advance (or dns), with the future IPs of the controller nodes. The list of IPs is provided via parameter_defaults (in the ControllerIPs struct) using ControllerIPs param. Also some additional VipPort types are created for the *VirtualIP resources. The VIPs were previously created using the same port resource used by the nodes, but when deploying with an external balancer we want the VIP resource to be nooped instead. Change-Id: Id3d4f12235501ae77200430a2dc022f378dce336 --- network/ports/tenant.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'network/ports/tenant.yaml') diff --git a/network/ports/tenant.yaml b/network/ports/tenant.yaml index ccdc57ee..86c58f2f 100644 --- a/network/ports/tenant.yaml +++ b/network/ports/tenant.yaml @@ -22,6 +22,12 @@ parameters: [{'ip_address':'1.2.3.4'}] default: [] type: json + IPPool: # Here for compatibility with from_pool.yaml + default: {} + type: json + NodeIndex: # Here for compatibility with from_pool.yaml + default: 0 + type: number resources: -- cgit 1.2.3-korg