[VVP] ports.py check port type 96/78596/1
authorstark, steven <steven.stark@att.com>
Fri, 15 Feb 2019 21:28:11 +0000 (13:28 -0800)
committerstark, steven <steven.stark@att.com>
Fri, 15 Feb 2019 21:28:44 +0000 (13:28 -0800)
commit3a37d68be925c92c9a540cf589dfbe4c901d7911
treeb1a5faf94c572a86c7c6df01d80438556faf1819
parent36731efa2c3de9cb52941058fde0dcbc4beeed5b
[VVP] ports.py check port type

get_invalid_ip_addresses needs to be enhanced to check
the neutron port type (internal or external) before
validating the IP parameter format.

The IP parameter format should not be validated against
both internal and external, it should only be validated
against the formats for the ports type.

Change-Id: Ic8b66b83729f6ea5d268d55816e03dcbbfec12fd
Issue-ID: VVP-167
Signed-off-by: stark, steven <steven.stark@att.com>
ice_validator/tests/utils/ports.py