trove/trove/common/db
wangyao 4bfe5b58a1 Fix user-list failed if host uses host_ip/netmask
According bug exception trace this problem cause by host name validate .
The origin code use netaddr.IPAddress to validate host name, it just fit ip address,
so the ip/netmask style do not match this rule.To solve this problem,
I changed this method to netaddr.IPNetwork, which support ip and
ip/netmask. Also provide a test case to validate the method.

Change-Id: I8dad9d1496d09372698821b832d1baa4f0c35a0d
Closes-Bug: #1673874
2017-05-31 09:00:22 +08:00
..
cassandra Improve guestagent datastore models 2016-10-12 11:51:57 -04:00
couchdb Improve guestagent datastore models 2016-10-12 11:51:57 -04:00
mongodb Improve guestagent datastore models 2016-10-12 11:51:57 -04:00
mysql Fix user-list failed if host uses host_ip/netmask 2017-05-31 09:00:22 +08:00
postgresql Improve guestagent datastore models 2016-10-12 11:51:57 -04:00
__init__.py Improve guestagent datastore models 2016-10-12 11:51:57 -04:00
models.py Fix i18n translation in common 1/5 2016-12-20 12:17:03 +00:00