diff options
author | Jay Lau <liugya@cn.ibm.com> | 2014-02-05 22:44:15 +0800 |
---|---|---|
committer | Jay Lau <liugya@cn.ibm.com> | 2014-02-05 22:52:28 +0800 |
commit | e05566de71f39acad3566fc31ba1053d84130c03 (patch) | |
tree | 37dccd6efc04ec1a97ed2bf1ca0786873423fd40 /doc/api_samples/all_extensions | |
parent | f474441263f20af08e1faa35289acbb63691e7c0 (diff) | |
download | nova-e05566de71f39acad3566fc31ba1053d84130c03.tar.gz |
Adds host_ip to hypervisor show API
After no-compute-fanout-to-scheduler, host_ip was stored in the table
of compute_nodes. Host ip address should be considered as the hypervisor
attribute similar to the hypervisor_type, hypervisor_version etc, and
now those attributes such as hypervisor_type, hypervisor_version etc
are all listed as the hypervisor attribute when calling "nova
hypervisor-show host", so we can also set "host_ip" as a new attribute
output for this command.
DocImpact
1) Only administrators can view hypervisor detail in nova.
2) It can help improve debug capabilities for nova. For example, if
admin using SimpleCIDRAffinityFilter, then after VM is deployed, admin
can check if the VM was deployed successfully to the desired host by
checking ip address of the host via "nova hypervisor-show host".
3) Add host_ip to the output for "nova hypervisor-show"
Implement bp hypervisor-show-ip
Change-Id: I006a504d030be1f47beb68a844647026a6daf0ce
Diffstat (limited to 'doc/api_samples/all_extensions')
-rw-r--r-- | doc/api_samples/all_extensions/extensions-get-resp.json | 8 | ||||
-rw-r--r-- | doc/api_samples/all_extensions/extensions-get-resp.xml | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/api_samples/all_extensions/extensions-get-resp.json b/doc/api_samples/all_extensions/extensions-get-resp.json index fa780a5562..3c25de219d 100644 --- a/doc/api_samples/all_extensions/extensions-get-resp.json +++ b/doc/api_samples/all_extensions/extensions-get-resp.json @@ -281,6 +281,14 @@ "updated": "2013-06-09T00:00:00+00:00" }, { + "alias": "os-extended-hypervisors", + "description": "Extended hypervisors support.", + "links": [], + "name": "ExtendedHypervisors", + "namespace": "http://docs.openstack.org/compute/ext/extended_hypervisors/api/v1.1", + "updated": "2013-10-21T00:00:00-00:00" + }, + { "alias": "os-extended-services", "description": "Extended services support.", "links": [], diff --git a/doc/api_samples/all_extensions/extensions-get-resp.xml b/doc/api_samples/all_extensions/extensions-get-resp.xml index d12e74d80a..5a1adebbde 100644 --- a/doc/api_samples/all_extensions/extensions-get-resp.xml +++ b/doc/api_samples/all_extensions/extensions-get-resp.xml @@ -126,6 +126,9 @@ <extension alias="os-extended-services" updated="2013-05-17T00:00:00-00:00" namespace="http://docs.openstack.org/compute/ext/extended_services/api/v2" name="ExtendedServices"> <description>Extended services support.</description> </extension> + <extension alias="os-extended-hypervisors" updated="2013-10-21T00:00:00-00:00" namespace="http://docs.openstack.org/compute/ext/extended_hypervisors/api/v1.1" name="ExtendedHypervisors"> + <description>Extended hypervisors support.</description> + </extension> <extension alias="os-extended-volumes" updated="2013-06-07T00:00:00+00:00" namespace="http://docs.openstack.org/compute/ext/extended_volumes/api/v1.1" name="ExtendedVolumes"> <description>Extended Volumes support.</description> </extension> |