charm-swift-storage/lib
Felipe Reyes 4896ac5b5b Resolve hostnames if needed to allow access in ufw
In some cases juju 1.25 (with maas 1.9) may return a hostname in the
private-address field breaking the assumption that private-address will
always be an IP address. This patch uses socket.getaddrinfo() to assure
an IP address is given to ufw.

Change-Id: I99b0110beed6075164eb549ec2433071af699c04
Closes-Bug: 1747516
2018-02-05 18:32:52 -03:00
..
__init__.py Add lib, move library code there. Symlink into hooks directory. 2015-07-17 10:57:19 +01:00
misc_utils.py Resolve links before using path as block device 2016-05-06 15:25:34 +00:00
swift_storage_context.py Add statsd metrics support to the swift-storage charm 2017-11-05 15:23:38 +11:00
swift_storage_utils.py Resolve hostnames if needed to allow access in ufw 2018-02-05 18:32:52 -03:00