nova/doc/api_samples
srushti 3e527265b6 Fix invalid uuid warnings in api testcases
Currently, unit testcases of api emit FutureWarnings
from oslo.versionedobjects about invalid uuids as documented here[1].

This commit changes these tests to use valid uuids so
that when they are run these warnings are no longer emitted.

Made changes to project_id in fakes.py to use valid project_id
which removes warnings related to invalid uuids in testcases.

Also made changes to project_id in JSON headers to use valid
uuids in functional testcases same as that in unit testcases.

[1] http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField

Partial-Bug: #1557378
Change-Id: I5f69a2c3dc4d0279aed11750e6758b624debb64f
2016-04-12 07:31:15 +00:00
..
all_extensions Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
consoles Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
extension-info Makes GET extension info sample tests run for v2 also 2015-12-14 15:06:37 +09:00
flavor-access Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
flavor-extra-specs Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
flavor-manage Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
flavors Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
images Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
keypairs Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
limits Merge limits functional tests of v2 and v2.1 2015-08-24 13:13:39 +09:00
os-access-ips Drop the use of magic openstack project_id 2016-03-08 19:34:56 +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 Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08: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 Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-attach-interfaces Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-availability-zone Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00: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-config-drive Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00: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-disk-config Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-evacuate Remove onSharedStorage from evacuate API 2015-12-15 11:23:11 +01:00
os-extended-availability-zone Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-extended-server-attributes Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-extended-status Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-extended-volumes Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-fixed-ips Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-flavor-rxtx 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 Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-hosts remove nova-cert from most functional tests 2015-12-17 10:54:08 -05:00
os-hypervisors Move the v2 api_sample functional tests 2015-08-18 15:25:41 +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 Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-lock-server Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-migrate-server API: Improve os-migrateLive input parameters 2016-02-29 17:44:17 +00: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 Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-networks Fix invalid uuid warnings in api testcases 2016-04-12 07:31:15 +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-personality Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-preserve-ephemeral-rebuild Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-quota-class-sets Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-quota-sets Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-remote-consoles Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-rescue Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-scheduler-hints Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-security-group-default-rules Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-security-groups Drop the use of magic openstack project_id 2016-03-08 19:34:56 +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 allow samples testing for PUT to not have a body 2016-04-07 09:31:12 -04:00
os-server-usage Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00: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 Drop the use of magic openstack project_id 2016-03-08 19:34:56 +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-used-limits Merge used-limits functional tests of v2 and v2.1 2015-08-24 13:02:04 +09:00
os-user-data Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00: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 Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
servers-sort Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
versions Added server tags support in nova-api 2016-04-06 16:38:21 +03:00