nova/doc/api_samples
Matt Riedemann d727795d66 Add REST API support for get me a network
This adds the 2.37 microversion to the REST API for automatically
allocating a network, i.e. get me a network.

The majority of the changes to the REST API concern request
validation. 'networks' is now required in the server POST body
after this microversion. The 'auto' or 'none' special network
uuid values are used, but if specified, can not be specified
with any other requested network values.

The other special case that is checked is when the minimum
compute service version is not new enough to support this change,
i.e. a Mitaka compute will not have the network API code that
knows how to deal with the special auto/none network IDs. Because
the REST API is checking the service version, the service caches
the service version after the first check. Once all computes are
updated to Newton then a restart of the nova-api service(s) will
be required to flush the cache. A release note is provided for
this situation.

The api-ref docs are also updated for this microversion including
an example API sample request.

The matching Tempest change to test this is here:

I89b18709e0cfbbcbf9be96a91a13a1356cdf85b0

The matching python-novaclient change is here:

I6636ddcd3be7bf393d2d69cc6c1ba5c7d65ff674

Implements blueprint get-me-a-network

Change-Id: I89b18709e0cfbbcbf9be96a91a13a1356cdf85b0
2016-08-15 14:10:42 -04:00
..
consoles Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
extension-info "nova list-extensions" not showing summary for all 2016-07-26 16:45:30 +00:00
flavor-access Enable all extension for Flavor API sample tests 2016-06-09 10:25:21 +09:00
flavor-extra-specs Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
flavor-manage Enable all extension for Flavor API sample tests 2016-06-09 10:25:21 +09:00
flavors Enable all extension for Flavor API sample tests 2016-06-09 10:25:21 +09:00
images Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
keypairs Microversion 2.35 adds keypairs pagination support 2016-07-12 19:48:05 +03:00
limits Enable all extension for all remaining sample tests 2016-06-10 06:03:02 +00:00
os-admin-actions Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-admin-password Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-agents api-ref: Example verification for os-agents.inc 2016-06-27 21:29:26 +09:00
os-aggregates Update time is not updated when metadata of aggregate is updated 2016-02-29 16:59:10 +05:30
os-assisted-volume-snapshots Fix wrong JSON format in API samples 2016-07-08 10:15:29 +09:00
os-attach-interfaces api-ref: Add a sample test for os-interface 2016-05-27 12:48:36 +00:00
os-availability-zone remove processing of blacklist/whitelist/corelist extensions 2016-06-10 11:37:09 -04:00
os-baremetal-nodes Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-cells Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-certificates Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-cloudpipe Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-console-auth-tokens Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-console-output Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-create-backup Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-deferred-delete Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-evacuate API change for verifying the scheduler when evacuating 2016-06-02 15:03:39 +02:00
os-fixed-ips Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-floating-ip-dns Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-floating-ip-pools Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-floating-ips Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-floating-ips-bulk Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-fping Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-hide-server-addresses Enable all extension for remaining server API tests 2016-06-09 08:53:32 -04:00
os-hosts remove nova-cert from most functional tests 2015-12-17 10:54:08 -05:00
os-hypervisors Microversion 2.33 adds pagination support for hypervisors 2016-07-01 08:47:50 +08:00
os-instance-actions Make os-instance-action read deleted instances. 2016-02-05 07:59:52 -05:00
os-instance-usage-audit-log api-ref: Improve os-instance_usage_audit_log samples 2016-06-21 20:30:11 +09:00
os-lock-server Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-migrate-server API change for verifying the scheduler when live migrating 2016-06-06 11:44:06 +02:00
os-migrations Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-multinic Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-multiple-create Enable all extension for remaining server API tests 2016-06-09 08:53:32 -04:00
os-networks Enable all extension for all remaining sample tests 2016-06-10 06:03:02 +00:00
os-networks-associate Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-pause-server Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-pci Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-preserve-ephemeral-rebuild Enable all extension for remaining server API tests 2016-06-09 08:53:32 -04:00
os-quota-class-sets Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-quota-sets Add api-sample test for showing quota detail 2016-05-09 10:49:22 +08:00
os-remote-consoles Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-rescue Enable all extension for remaining server API tests 2016-06-09 08:53:32 -04:00
os-security-group-default-rules Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-security-groups Enable all extension for all remaining sample tests 2016-06-10 06:03:02 +00:00
os-server-diagnostics Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-server-external-events Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-server-groups Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-server-password Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-server-tags/v2.26 Added missed response to test_server_tags 2016-06-14 17:06:47 +03:00
os-services Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-shelve Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-simple-tenant-usage api-ref: Example verification for os-simple-tenant-usage.inc 2016-08-09 23:52:42 +00:00
os-suspend-server Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-tenant-networks Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-virtual-interfaces Expose VIF net-id attribute in os-virtual-interfaces 2015-08-27 16:50:44 +09:00
os-volumes Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-ips Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-metadata Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-migrations Add new APIs and deprecate old API for migrations 2016-02-26 14:25:48 +00:00
servers Add REST API support for get me a network 2016-08-15 14:10:42 -04:00
servers-sort Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
versions Add REST API support for get me a network 2016-08-15 14:10:42 -04:00