ceilometer/ceilometer/tests/unit/publisher
Amy Fong e41adba727 Fix checking IP version when using IPv6.
This commit fixes an issue with ceilometer incorrectly determining the
IP version to use.  Previously, it checked whether the hostname was a
valid IPv6 address, but it should be resolving first to check whether
that is a valid IP address instead.

tests: Created test case that enables creating a UDPPublisher with
hostname for ipv4 and ipv6.

Closes-bug: #1616496

Change-Id: I586104fe69a03e64a0fb7572442b3175f880d80d
Co-authored-by: Joseph Richard <Joseph.Richard@windriver.com>
2016-08-30 12:52:07 -04:00
..
__init__.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
test_file.py publisher: clean out context usage 2016-04-01 09:51:54 +02:00
test_http.py Drop the executability of http.py 2016-04-29 12:03:33 +08:00
test_kafka_broker_publisher.py publisher: clean out context usage 2016-04-01 09:51:54 +02:00
test_messaging_publisher.py Specify host info when using the notifier publisher 2016-07-18 18:53:10 +00:00
test_udp.py Fix checking IP version when using IPv6. 2016-08-30 12:52:07 -04:00
test_utils.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00