Fixed public IP allocation JIRA: BGS-89 20/1020/4
authorrandyl <r.levensalor@cablelabs.com>
Thu, 16 Jul 2015 01:30:34 +0000 (19:30 -0600)
committerrandyl <r.levensalor@cablelabs.com>
Thu, 16 Jul 2015 15:31:21 +0000 (09:31 -0600)
commitc621b81549551823ecd1447bb18aa854bb90d8f1
treef0eaa3cfb699ba07e1997718d37590e70caa913e
parent1a0c8ab300fdc4865683586ead5d803925d6bf93
Fixed public IP allocation JIRA: BGS-89

For bare metal deployments, the list IP of the last IP of the subnet
and 20 IPs before are reservered for neutron public IPs.

A new function to subtract a number from an IP was added.

Really fixed the logic for skipping 10 IP for VIPs was flipped to treat
no_dhcp with static IPs as a special case.

Removed a false print statement that the foreman VM is running.
Consolidated two identical print messages with the public IP range.

Change-Id: I189b9440dafd98e49d9a147515810e44b97ab256
Signed-off-by: randyl <r.levensalor@cablelabs.com>
foreman/ci/deploy.sh