Adds check to ensure that provided static_ip_range param is correct 26/1426/1
authorTim Rozet <trozet@redhat.com>
Tue, 8 Sep 2015 20:00:46 +0000 (16:00 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 8 Sep 2015 21:40:40 +0000 (21:40 +0000)
commitd689ac34fd5844888decbdb973275a6bf20264c0
treed6129c053d2fb7664b7d3c709318b64e3e26eb27
parente65ed372ee84b1f634ec24002fb7bfd7d48fd7e7
Adds check to ensure that provided static_ip_range param is correct

Patch adds a check to make sure that the user specified static_ip_range
argument (Ex. 192.168.0.10,192.168.0.20) falls within the valid public
subnet of the host (the same subnet as the default gateway).

JIRA: APEX-19

Change-Id: Ifc0b79074b887509617c2749e50d97d1800abad0
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 50fe670726f2229ef963517a890fef2d821b8821)
foreman/ci/deploy.sh