3 Commits

Author SHA1 Message Date
Ian Wienand
f56348bcb2 Use unittest help in test_ip.sh
Use the unittest helper to track test runs and correctly exit with a
failure code if there is a problem

Change-Id: Ie62f354a8cd3b8fd5986e6943a073f7955fb55ba
2015-04-17 13:23:25 +10:00
Sean Dague
365421b99a isolate unit tests from stackrc HOST_IP check
The HOST_IP check in stackrc is useful for real users, but some cloud
nodes that infra runs don't detect it correctly, and it's not actually
required for unit tests to work right.

Change-Id: Id2aaa713aea91825021e9d8d49d19f3e40a8e6c9
2015-02-06 15:27:43 -05:00
Dean Troyer
d4f69b21f5 Remove python-netaddr requirement
Remove python-netaddr as a DevStack (stack.sh) requirement,
this does not change any individual project requirements.

Specifically it replaces address_in_net() and adds cidr2netmask()
and maskip() functions.

Change-Id: Ic604437fde2e057faced40a310ab282f3eb27726
2013-07-24 12:25:35 -05:00