return extra_specs in OpenStackNodeSize
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/a6c19b6c Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/a6c19b6c Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/a6c19b6c Branch: refs/heads/trunk Commit: a6c19b6ce97a6c7d151ede99627bcdc8f6590f12 Parents: 5deb159 Author: micafer <[email protected]> Authored: Fri May 11 13:47:20 2018 +0200 Committer: micafer <[email protected]> Committed: Fri May 11 13:47:20 2018 +0200 ---------------------------------------------------------------------- libcloud/compute/drivers/openstack.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/a6c19b6c/libcloud/compute/drivers/openstack.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/openstack.py b/libcloud/compute/drivers/openstack.py index 7d824a4..ea061a0 100644 --- a/libcloud/compute/drivers/openstack.py +++ b/libcloud/compute/drivers/openstack.py @@ -892,6 +892,7 @@ class OpenStack_1_0_NodeDriver(OpenStackNodeDriver): # XXX: needs hardcode vcpus=vcpus, bandwidth=None, + extra=el.get('extra_specs') # Hardcoded price=self._get_size_price(el.get('id')), driver=self.connection.driver)
