commit | cf8fab6b5a63884f82f2ecbfe7550888bef8a1a9 | [log] [tgz] |
---|---|---|
author | Dan Smith <danms@us.ibm.com> | Tue Aug 14 08:03:48 2012 -0700 |
committer | Vincent Hou <sbhou@cn.ibm.com> | Fri Aug 24 19:34:29 2012 +0800 |
tree | 5a3c351c565a4314475a1ac7a86a1638e7f2b06a | |
parent | 30fd287a9c26d4b117a9aae4b4a67edd17664667 [diff] |
Add an xml/servers_client.py implementation This needs to inherit some common bits from the json implementation, but works for now. This changes openstack.py::Manager to take an interface argument and select the appropriate client(s) accordingly. This is ugly, and probably not the best approach, but for the moment, it avoids the class inflation that would result from creating subclasses at the Manager _and_ Base*Test layers. Change-Id: I7814054eab59bc34258fbbd1df43a4140448f448