Skip to content

Commit 2b978cd

Browse files
authored
Merge pull request #2063 from micafer/hypervisor_hostname
Add hypervisor_hostname attribute to OpenStack node
2 parents 171fb28 + 606a7b2 commit 2b978cd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libcloud/compute/drivers/openstack.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2473,6 +2473,7 @@ def _to_node(self, api_node):
24732473
power_state=api_node.get("OS-EXT-STS:power_state", None),
24742474
progress=api_node.get("progress", None),
24752475
fault=api_node.get("fault"),
2476+
hypervisor_hostname=api_node.get("OS-EXT-SRV-ATTR:hypervisor_hostname"),
24762477
),
24772478
)
24782479

0 commit comments

Comments
 (0)