summaryrefslogtreecommitdiffstats
path: root/openstack/common/plugin/plugin.py
diff options
context:
space:
mode:
authorEugene Kirpichov <ekirpichov@gmail.com>2012-09-07 22:56:34 +0000
committerEugene Kirpichov <ekirpichov@gmail.com>2012-09-11 17:50:43 +0000
commit879470b99c0f8f42d50f955defaf43ab47b704cc (patch)
tree0410ba26dc28ef3c72915bddae48aa0c104c06da /openstack/common/plugin/plugin.py
parent1071b9da480d25e7cee556d7f9b483f8ac258ffb (diff)
downloadoslo-879470b99c0f8f42d50f955defaf43ab47b704cc.tar.gz
oslo-879470b99c0f8f42d50f955defaf43ab47b704cc.tar.xz
oslo-879470b99c0f8f42d50f955defaf43ab47b704cc.zip
Added a method for parsing host:port pairs.
The method works correctly with ipv6. An alternative way would be to use urlparse, but urlparse only works correctly starting with Python 2.7, so to be compatible, we have to reimplement this part. The method will be used for parsing Glance API server addresses, RabbitMQ addresses and perhaps other things. Change-Id: Ie5014891c6abcd80681a370d5dd94cb0406f7f61
Diffstat (limited to 'openstack/common/plugin/plugin.py')
0 files changed, 0 insertions, 0 deletions