GitHub user wuyuewen opened a pull request:
https://github.com/apache/libcloud/pull/823
Libvirt/lookup node by uuid or by name
## Libvirt/lookup node by uuid or by name
### Description
Currently for libvirt driver, there is no API to get a node by node's uuid
or name, so I added ex_get_node_by_uuid and ex_get_node_by_name function and
functions it calls to support return the specific node.
### Status
- done, ready for review
### Checklist (tick everything that applies)
- [x] [Code
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
(required, can be done after the PR checks)
- [x] Documentation
- [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
- [ ]
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
(required for bigger changes)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wuyuewen/libcloud trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/823.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #823
----
commit f3e57bf109a264f29f592beaf65e058017d61dbd
Author: wuyuewen <[email protected]>
Date: 2016-06-24T06:26:29Z
Libvirt/lookup domain by uuid and name
Signed-off-by: wuyuewen <[email protected]>
commit 7bae5ad16d1296b9099decab83f44ccd61a9df68
Author: wuyuewen <[email protected]>
Date: 2016-06-24T06:28:06Z
Merge remote-tracking branch 'upstream/trunk' into trunk
commit 10f50fb0c5f8f3357fb7f584f3fd9db9e5809bbc
Author: wuyuewen <[email protected]>
Date: 2016-06-24T06:41:13Z
Update libvrit_driver.py
Signed-off-by: wuyuewen <[email protected]>
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---