summaryrefslogtreecommitdiff
path: root/doc/api_samples/all_extensions
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Remove broken quota-classes API"Matt Riedemann2014-06-102-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 7d22153d05c67bb0bf4838efdb17b3360ec2e367. The quota_classes API was used to set default quota values so it shouldn't have been removed, so reverting a series of changes that removed the API and it's internal code. Related mailing list thread on the topic: http://lists.openstack.org/pipermail/openstack-dev/2014-May/035383.html Partial-Bug: #1299517 Conflicts: doc/api_samples/all_extensions/extensions-get-resp.json doc/api_samples/all_extensions/extensions-get-resp.xml nova/tests/integrated/api_samples/all_extensions/extensions-get-resp.xml.tpl The conflicts are due to Mark McLoughlin's timestamp-format series of changes on master (Juno). Also note that quota_classes.py was changed due to commit c75a15a4 to rename the NotAuthorized exception to Forbidden. Change-Id: I7890e6b41d4ebf19944c1d4db65111fcc4c45463 (cherry picked from commit 35338d54ad2f76807011a5b666df434eec5369b2)
* Add REST API for instance group api extensionDebo Dutta2014-03-062-0/+11
| | | | | | | | | | | Support the Creation, Read, Delete, and List of server groups. Refactored the code to use objects (https://review.openstack.org/#/c/38979/ Renamed from "instance group" to "server group". Implements: blueprint instance-group-api-extension Change-Id: I650a8f191dea5eab5b4b1828f0b9f65e33edea2a
* Add os-server-external-events APIDan Smith2014-03-062-0/+11
| | | | | | Related to blueprint admin-event-callback-api Change-Id: Ib09d5370622809e4bf1b5825eb9c223a115f7d33
* Merge "Adds get_console_connect_info API"Jenkins2014-03-032-0/+11
|\
| * Adds get_console_connect_info APIAlessandro Pilotti2014-02-282-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements: blueprint hyper-v-rdp-console Currently graphical console access to Nova instances is limited to clients which are part of Nova itself (novnc, xvpvnc, spice-html5). The mentioned clients verify the validity of a console access token with the following private API: nova.consoleauth.rpcapi.ConsoleAuthAPI.check_token The usage of a private API precludes the possibility of employing external graphical console clients, including FreeRDP-WebConnect, used to connect to Hyper-V instances via RDP. This change adds a public API method that wraps the aforementioned check_token private API. This allows external clients to obtain the necessary protocol connection information by providing a token previously obtained with calls to get_vnc_console, get_spice_console or get_rdp_console. Includes V2 and V3 API implementations. Change-Id: Idd1e4f57b16bd1488f3b72bb064cef51321a7c79
* | Merge "Remove broken quota-classes API"Jenkins2014-02-282-12/+1
|\ \ | |/ |/|
| * Remove broken quota-classes APIJoe Gordon2014-02-212-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | It turns out os-quota-classes-sets never worked (http://lists.openstack.org/pipermail/openstack-dev/2014-February/027574.html). Since this doesn't work no need to keep it around. V3 removal: Id1f288baa723df825151bd84aa27089271c2b8e4 Original commit: I6b6477481187d16af225d33c1989430e4071d5a8 This patch just removes the API it doesn't remove the quota-class internals, that will be done in a subsequent patch. Change-Id: I1110022d6f628d03aaf363da707f2d2ef1600437
* | Merge "Adds host_ip to hypervisor show API"Jenkins2014-02-232-0/+11
|\ \
| * | Adds host_ip to hypervisor show APIJay Lau2014-02-052-0/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Add a new compute API method for deleting retired servicesJason Dillaman2014-02-212-0/+11
|/ | | | | | | | | | | | | Services and related compute nodes cannot currently be deleted from the command-line. If a node is retired, the service list will continue to show the retired services. A delete service REST method has been added to the compute APIs to support the command-line removal of retired services. Blueprint: remove-nova-compute Change-Id: I655a7f818bb59c8971feb5841feeefafc3a4580a Flags: DocImpact
* Add preserve_ephemeral option to rebuildRoman Podoliaka2014-01-162-0/+11
| | | | | | | | | | | | | The preserve_ephemeral option for rebuild will preserve the content of the ephemeral partition, making stateful golden image based deployments possible even when clouds haven't deployed Cinder, or the hypervisor doesn't support Cinder (e.g. BareMetal / Ironic). Partial-Bug: #1174154 blueprint: baremetal-preserve-ephemeral Co-Authored-By: Robert Collins <rbtcollins@hp.com> Change-Id: Id33d5d4107f89814842a3f0b7f33690dd7e3aadc
* Remove V2 API version of coverage extensionsChris Yeoh2013-11-182-13/+2
| | | | | | | | | | | | | | | | | | | | | As discussed at the summit in the QA stream, this removes the coverage extension from the V2 API. According to the API Change Guidelines https://wiki.openstack.org/wiki/APIChangeGuidelines we should not be doing this. However the coverage extension is a rather special case. It has security issues such that it shouldn't be used in a production cloud environment. It also doesn't work properly so its usefulness to measure API coverage is limited. And in the past the presence of this plugin has been used as a reason not to accept an alternative technique to measure API coverage. This is the proposed replacement https://review.openstack.org/#/c/25882/ Change-Id: I07d798129ee277a6f7691c25f88c07a5204c0943
* Expose additional status in baremetal API extensionMelanie Witt2013-10-222-2/+13
| | | | | | | | | Add fields: uuid, task_state, updated_at, and pxe_config_path to aid system admins in troubleshooting issues. Fixes bug 1184449 Change-Id: Ia4c03cb228b3efe602455bf05883ddf03b7f18da
* Add os-assisted-volume-snapshots extensionRussell Bryant2013-09-032-13/+24
| | | | | | | | | | | | | Add a new API extension that exposes assisted volume snapshot capabilities. This extension is admin only by default. We expect it to only be called by Cinder. If you have your deployment set up in such a way that your adminURL is different from the public, this extension can only be loaded in the admin API instance. Cinder will pull that URL out of the service catalog to use. Part of blueprint qemu-assisted-snapshots Change-Id: I79e22ab6ef66fa16dc534a4336e766065702b2f5
* Servers API for the new BDM formatNikola Dipanov2013-07-262-23/+33
| | | | | | | | | | | | | | | | | | | | | This patch makes the nova API aware and able to accept the new block device mapping format introduced in If30afdb59d4c4268b97d3d10270df2cc729a0c4c when booting an instance. It does so by introducing a new extension into the v2 API. There is no v3 extension as part of this patch because volume extension is going away in v3 and thus this functionality can be part of the core servers extension. This will be done in a subsequent patch. The compute API create method will still convert these back to the legacy format for the time being until the compute API will know how to take advantage of the new format. As this change adds the new API extension, marking it as DocImpact so that the changes and the API data format can be documented. blueprint: improve-block-device-handling Change-Id: I2c1b63e41deca26f727fb9ed912a55494db9c76c
* Merge "Per-project-user-quotas for more granularity"Jenkins2013-07-262-0/+11
|\
| * Per-project-user-quotas for more granularityliyingjun2013-07-242-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements blueprint per-user-quotas. Fixes bug 968175 Based on the original quotas structure. NOTE: quota_instances, quota_cores, quota_ram, quota_key_pairs and quota_security_groups are supported per user. Add CRUD methods for project user quotas API. DocImpact - Shows quotas for a user. GET v2/{tenant_id}/os-quota-sets/{tenant_id}?user_id={user_id} - Updates quotas for a user. POST v2/{tenant_id}/os-quota-sets/{tenant_id}?user_id={user_id} Add commands for project user quotas management. - Show user quotas: nova-manage project quota --project <Project name> --user <User name> - Update/Create user quotas: nova-manage project quota --project <Project name> --user <User name> --key <key> --value <value> Change-Id: I24af1f6bc439d5d740303c6fe176a9bffe754579
* | Add support for volume swapVishvananda Ishaya2013-07-242-47/+60
|/ | | | | | | | | | Adds support for transparently swapping an attached volume with another volume. Note that this overwrites all data on the new volume with data from the old volume. Implements blueprint volume-swap Change-Id: Iaace71f46acd33cf1531d953d569c0b6d0bbe680
* API for shelvingAndrew Laski2013-07-162-0/+11
| | | | | | | | | | | Adds new 'shelve', 'shelveOffload'/'shelve_offload'(V3), and 'unshelve' actions to the API. Exposes the functionality already provided in the compute api. Part of bp shelve-instance Co-author: Dan Smith <danms@us.ibm.com> (Instance objects) Change-Id: Idd485b591730c6ac025ee57a1242afdd02191b2f
* Add "ExtendedVolumes" API extensionOleg Bondarev2013-07-106-4/+17
| | | | | | | | | | - adds an API extension to include list of attached volumes with instance info - adds v3 api porting as well DocImpact Implements blueprint servers-add-volume-list Change-Id: If58dc40b093c2f61c6ae6b82fcd8f0bf53be464a
* List migrations through Admin APIMahesh Panchaksharaiah2013-07-092-0/+12
| | | | | | | | | | | | | | | | | The os-migrations extension exposes endpoint to fetch all migrations. The migrations can filtered by host and status. If cells are enabled migrations can be listed for all cells or can be filtered for a particular cell. The route for fetching migrations for a region is - v2/{tenant_id}/os-migrations. Filters can be passed as query parameters - v2/{tenant_id}/os-migrations?host=host1&status=finished&cell_name=Child DocImpact Change-Id: Id70dbece344a722b2dc8c593dd340ef747eb43d3 Implements: blueprint list-resizes-through-admin-api
* Merge "Enhance the validation of the quotas update"Jenkins2013-06-142-5/+5
|\
| * Enhance the validation of the quotas updategengjh2013-06-132-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Need check whether the already used and reserved exceeds the new quota before update it. DocImpact Implements a validation to validate whether already used and reserved quota exceeds the new quota when run 'nova quota-update', it will throw error if the quota exceeds. This check will be ignored if admin want to force update when run 'nova quota-update' with additional option '--force'. This validation help admin to be aware of whether the quotas are oversold when they try to update quota and also provide an option '--force' to allow admin force update the quotas. Fix bug 1160749 Change-Id: Iba3cee0f0d92cf2e6d64bc83830b0091992d1ee9
* | Give a way to save why a service has been disabled.Andrea Rosa2013-06-122-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements blueprint record-reason-for-disabling-service We added a field to the service table to log a reason when a service has been disabled. We added a new API extension called os-extended-services. The new extension will extend the os-services extension adding: - A method for disabling a service and specify a reason for that. PUT /v2/{tenant_id}/os-services/disable-log-reason When the os-extended-extension is loaded the call: GET /V2/{tenant_id}/os-services will return the list of services with reason information it that exists. DocImpact Change-Id: I87a4affc45160796ff11c7b03e591e6aba73d62a
* | Merge "Return Customer's Quota Usage through Admin API"Jenkins2013-06-112-0/+11
|\ \ | |/ |/|
| * Return Customer's Quota Usage through Admin APIMahesh K P2013-05-172-0/+11
| | | | | | | | | | | | | | | | | | | | | | DocImpact: This patch adds an extension 'UsedLimitsForAdmin'. If this extention is enabled then it extends the used limits API behavior, such that admin can fetch the details of any customer's quota usage by passing the customer's tenant id in query parameters.The API signature for the same is 'v2/{tenant_id}/limits?tenant_id={customer_tenant_id}' Change-Id: I89b8b5083e46b899458407426c89a3865e960faa Implements: blueprint customer-quota-through-admin-api
* | API to get the Cell CapacityKaushik Chandrashekar2013-06-052-0/+11
| | | | | | | | | | | | | | | | The total RAM and the available RAM are stored in memory of CellStateManager. This API gets the available slots per flavor for a given cell. Implements: blueprint get-cell-free-ram Change-Id: I2a6dbb8835cad04f3ee058c3012490782d7c8e67
* | Launch_at and terminated_at on server(s) responseAndrew Melton2013-05-316-32/+46
| | | | | | | | | | | | Implements bp usage-details-on-instance Change-Id: I0a9101c43a51d597a1eaff9d5a5d08d602024e72
* | Delete a quota through admin api.Aarti Kriplani2013-05-232-0/+11
| | | | | | | | | | | | | | | | | | Added 'extended-quotas' extension that has provides ability for admins to be able to delete a non-default quota (absolute limit) for a tenant, so that tenant's quota will revert back to the configured default. Implements blueprint admin-api-for-delete-quota Change-Id: I7375420a466823b3e099aebff71a8f7d7f922afb
* | 'm1.tiny' now has root_gb=1Rick Harris2013-05-162-3/+3
|/ | | | | | | | | | | | | | | | | `root_gb=0` indicates that a disk-resize shouldn't occur which is not something that a default flavor should have enabled. This is especially true of one named 'tiny' since the unresized image could potentially be very large, leading to the unexpected result of a 'tiny' instance consuming a massive amount of disk. The no-resize behavior is still supported, so if it's being relied on for testing, additional, non-default flavors can still be created that enable it. DocImpact Fixes bug 1175383 Change-Id: Ifa5827c7f87dae95214bc4a585adce5735a05d83
* Revert "Include list of attached volumes with instance info"Russell Bryant2013-05-155-16/+3
| | | | | | | | | This reverts commit dd66f235ecf2ff67819917ee07bcb0ea13a1b17b. This changed the core servers API without doing it as an API extension, so it's not an acceptable change as written. Change-Id: I3787060583de1371e366647d38d69f37746317d5
* Merge "Include list of attached volumes with instance info"Jenkins2013-05-155-3/+16
|\
| * Include list of attached volumes with instance infoOleg Bondarev2013-05-085-3/+16
| | | | | | | | | | | | Fixes bug 1112998 Change-Id: I1c3eb578339aabbcfed107043f39e30daf633c4a
* | Allow a floating IP to be associated to a specific fixed IPPhil Day2013-05-102-0/+11
|/ | | | | | | | | | | | | | | | | | | | | | | The current floating IP API extension only accepts the instance ID and the floating address to be assigned. Where the instance is connected to more than one network the behaviour is to associated the floating IP with the first fixed IP of the instances (and to log a warning) This change introduces a new extension which wehn loaded adds a fixed IP address as an optional parameter, allowing the floating IP to be associated with a specific fixed IP. Without this extension, or without the optional parameters, the API behaviour is unchanged. If specified the fixed IP must be associated with the instance. DocImpact Implements blueprint multi-nic-floating-ip-assignment Change-Id: I9241137ad794cdf7f452ed84e9445f0e11fdd44e
* Add an extension to show the mac address of a ip in server(s)Zhi Yan Liu2013-04-126-6/+20
| | | | | | | | | | | This extension adds the OS-EXT-IPS-MAC:mac_addr param so that users can associate the mac address to the ip of the server in one API call. Implement bp: os-ext-ips-mac-api-extension DocImpact Change-Id: I01d0b3aa804b5218853a4bb568c85e31b87d04e4 Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
* Add an extension to show the network id of a virtual interfaceZhi Yan Liu2013-04-082-0/+11
| | | | | | | | | | This extension adds the OS-EXT-VIF-NET:net_id param so that users can determine vif plunged into which network now. DocImpact Change-Id: I56bef5c45f7f545aa5e9b13760dff1c802da0f8f Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
* Merge "Add an extension to show image size."Jenkins2013-02-212-2/+13
|\
| * Add an extension to show image size.Andrew Laski2013-02-192-8/+19
| | | | | | | | | | | | | | | | | | | | Adds image size data that is returned from Glance into the API response. This becomes really useful for users when they take a snapshot and want to track the storage used by it. Since this information is already being pulled by Nova we should display it. DocImpact Change-Id: I8a2d4001c21bcc54cac1a2992034dfc9fbe39d7e
* | Merge "Add support for network adapter hotplug."Jenkins2013-02-202-4/+15
|\ \ | |/ |/|
| * Add support for network adapter hotplug.Dan Smith2013-02-192-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes it possible to add/del instance interface other than booting time. Implement bp:network-adapter-hotplug Originally from change Ibee003a9ec6cc9b3fd275417caccd0c67f6c871f Co-authored-by: Yaguang Tang <heut2008@gmail.com> Co-authored-by: Édouard Thuleau <edouard.thuleau@orange.com> Change-Id: I4f8f677af58afcb928379e5cf859388d1da45d51
* | Default SG rules for the Security Group "Default"Morgan Fainberg2013-02-192-0/+11
|/ | | | | | | | | | | | | | | | | | | | | | Added in the API os-security-group-default-rules This allows create, delete, list, and get (of individual rules) for rules that will be pre-populated into the Security Group "default" that is populated in all projects on creation. These rules will not be applied retroactively, as it is designed to allow the creation of a "reasonable" base-line set of sg rules. The new rules live in a separate table that mirrors the relevant structures of the security_group_rules table. Added unit tests/API samples for the new API calls Related to bp default-rules-for-default-security-group DocImpact Change-Id: I7ab51e68aff562bb869538197a0eca158fc3220c
* API extension for accessing instance_actionsAndrew Laski2013-02-132-0/+11
| | | | | | | | | | | | | | | Adds a new API extension for accessing the recorded actions and events on an instance. Usage is documented with api samples. Additionally it modified the db api to retrieve actions by request_id since the api does not return the db id. This extension is the first consumer of that method so there's no issue of changing behaviour elsewhere. Blueprint instance-actions DocImpact Change-Id: I74109586cc762a7f51d2b114896cf071ee0671cb
* Simplify and optimize az server output extension.Vishvananda Ishaya2013-02-124-10/+8
| | | | | | | | | | | Displaying two different az results to users is confusing, so just return the az that the instance is actually in. Also, cache the result from looking up the az by host for an hour to avoid making lots of expensive db requests. DocImpact Change-Id: Ib39bf94c608874695aab00e61035e64f9594a985
* Add an extension to show the type of an ip.Vishvananda Ishaya2013-02-126-45/+59
| | | | | | | | | | | | | There is currently no way to differentiate a fixed ip from a floating ip in the servers list. This extension adds the OS-EXT-IPS:type param so that users can determine if it is a fixed address or a floating address. Fixes bug 1117784 DocImpact Change-Id: I8709a4f2f6792faa3d8e0cdcd330d751ef6633ae
* Extension for rebuild-for-haKravchenko Pavel2013-02-072-0/+11
| | | | | | | | | | | | | | Adds an extension for blueprint rebuild-for-ha Evacuation of VM from a failed host for HA. New api supports recreate/rebuild modes. With shared storage, VM is recreated on the target from disk. Otherwise, rebuild from original image is performed. DocImpact Change-Id: Id7e3e68dbaaf74e9314440d98195a92454078fd9 Co-authored-by: Oshrit Feder <oshritf@il.ibm.com>
* Add REST API to show availability_zone of instance.gtt1162013-02-036-21/+36
| | | | | | | | | | | | | Implement one workitem for bp:show-availability-zone This show the availability zone and availability zone of its host in API: GET /servers/details, GET /server/{uuid}. When create instance if "availability_zone" doesn't specified, the "availability_zone" of the instance will be None. But actually the instance is in a zone which its host is in. So I think show both of them will be fine. Change-Id: I2d742ee2d291b514bf783fa79293785cca8ea2a5
* Add REST api to manage bare-metal nodesArata Notsu2013-01-232-0/+11
| | | | | | | | | * create/delete/list/show bare-metal nodes * add/remove interfaces to/from bare-metal nodes blueprint general-bare-metal-provisioning-framework Change-Id: I1e76f7e3f7f74087e844cfb23dc92154f4c3e127
* Merge "Cells: Add cells API extension"Jenkins2013-01-152-0/+14
|\
| * Cells: Add cells API extensionChris Behrens2013-01-152-0/+14
| | | | | | | | | | | | | | | | | | | | | | Enables cells-related functionality such as adding neighbor cells, listing neighbor cells, and showing the capabilities of the local cell. Implements blueprint nova-compute-cells DocImpact Change-Id: Iacc1e68721a7867aeaf233903cbe6d18f09ad96e
* | Renames the new os-networks extensionMatt Dietz2013-01-152-8/+8
|/ | | | | | | | | | | | Merging the new os-networks extension upstream broke what was considered a 'released' extension. This patch returns everything to normal and renames the os-networks extension to os-tenant-networks DocImpact Implements: blueprint tenant-networks Change-Id: I04b17d08c5760fd73736124b36cab0d383767020