Bug 1416934

Summary: Can enter gateway with 0 as beginning octet
Product: Red Hat Quickstart Cloud Installer Reporter: James Olin Oden <joden>
Component: fusor-installerAssignee: John Matthews <jmatthew>
Status: NEW --- QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1CC: qci-bugzillas
Target Milestone: ---Keywords: Triaged
Target Release: 1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Olin Oden 2017-01-26 20:06:23 UTC
Description of problem:
In fusor-installer you can enter a gateway like 0.168.175.1 and it will be 
accepted.  

Version-Release number of selected component (if applicable):
QCI-1.1-RHEL-7-20170124.1

How reproducible:
Every time

Steps to Reproduce:
1.  Install the QCI media
2.  When you to the fusor installer try to enter a gateway like 0.1.1.1
3.  Now apply the changes

Actual results:
It will apply that gateway to the network config

Expected results:
Produce an error explaining that is an invalid address for a gateway

Comment 1 James Olin Oden 2017-01-26 20:43:26 UTC
This is true of:

  - DHCP Network Address

Also.

Comment 2 James Olin Oden 2017-01-27 15:53:56 UTC
Also true of DHCP Gateway.

Comment 3 James Olin Oden 2017-01-27 15:57:27 UTC
DNS Forwarder also exhibits this behavior.