Commit Graph

131 Commits (master)

Author SHA1 Message Date
inspurericzhang 1c9b721b5c Replace Chinese punctuation with English punctuation
Curly quotes(Chinese punctuation) usually input from Chinese input method.
When read from english context, it makes some confusion.

Change-Id: Ibca2c0a6236de383097267272f151f30aa4afe74
5 years ago
shangxiaobj 305f6a1254 [api-ref] Unify the format of the error response code in files
Unify the format of the error response code in server_networks.inc
and server_states.inc to make them same with the others.
They may be missed when changing.

Change-Id: Id8c13b80f51ee2e9eb53345993a431f9020223fb
5 years ago
Zuul 2cee9e9107 Merge "Add admin_password support" 6 years ago
Zuul 4be116f70e Merge "Add port group mode to manageable servers" 6 years ago
Xinran eeabfedc54 Add admin_password support
Mogan should support to inject an admin password into a bare metal server.

DocImpact
APIImpact

Change-Id: Id3487b7aea699353aedd49a51d9a5a2e250943b9
Implements: bp admin-password-support
6 years ago
Zhenguo Niu c8755c58ea Add port group mode to manageable servers
Mode of the port group is useful when listing manageable servers.

Change-Id: I5a13aa953e40d49f2d136c7d80de11975b796548
Closes-Bug: #1727895
6 years ago
Xinran 05cc14d399 Pagination support for server list API
We should support to return a list of servers according to users' requirements.
In this patch, marker, limit, sort_key and sort_dir were added in server list
API.
- marker is used to display a list of servers after marker
- limit is used to determinate the maximum number of servers to display
- sort_key is used to sort the returned server list by specified key value
- sort_dir is used to select a sort direction

DocImpact
APIImpact

Change-Id: Id70e965794c82a0a29e53d4364f65b0f39042c7c
Closes-Bug: #1726665
6 years ago
liusheng 7619e9f057 Normalize API samples json files
Some of the API sample json files include different indent spaces, it is
better to nomalize them with 4 spaces indent.

Change-Id: I7f22de6cef8998c7ae2d1d793b1fcad55334dca3
6 years ago
liusheng 185e6e9302 Drop the getting server state API
This API is redundant because all the status can be displayed in server
response.

Change-Id: I5013d6746d2f6c4380563f319b3bd1fba7671bd6
Closes-Bug: #1717406
6 years ago
liusheng 244f31f88c Add *locked* field in server response
Closes-Bug: #1717405
Change-Id: I946879f9505b0fc91e1726b61b5ee235427ac0e0
6 years ago
Jenkins 5164bc9c22 Merge "Revise some API docs" 6 years ago
Jenkins 766e41cfb7 Merge "Fix two issues in API sample files" 6 years ago
Zhenguo Niu 52e8f17990 Revise some API docs
Change-Id: I8a7f0a241614f2a31ebdcc304ff4143d33af5517
6 years ago
liusheng f5e10b228b Fix two issues in API sample files
Change-Id: Ibd636ca79d6f8188b88f43280575f02cdd2142a1
Closes-Bug: #1717146
6 years ago
Jenkins d88fd1008a Merge "Disable flavor traits on API side" 6 years ago
Zhenguo Niu b55a988327 Disable flavor traits on API side
As we can't support traits now when talking to placement, so
disable it to avoid to confuse users.

Change-Id: Ib739f0cae03bf12b1c7ae1af7c3a9ec94b40cce1
6 years ago
Zhenguo Niu 6ef4231093 Correct typos on docs
Change-Id: I1ad352c7eec94b0c4a781f9d2dec8f4e18821ce6
6 years ago
Zhenguo Niu a4b1ee741f Return node name with server API object
Currently we support to list compute nodes and aggregate nodes
with names, but server show will return the node uuid always,
which makes the admins have to go to ironic to get the relationship
between name and uuid, so this changes to return node name.

Change-Id: I6f1e5d0f9cfe277fe952d21b38ebfe68dde4f745
Closes-Bug: #1715036
6 years ago
Tao Li 26508fd131 Manage existing BMs: Part-2
Add the adopt baremetal node API.

Change-Id: I1897129930bface6a6c4a179e02d6107ff3811af
Implements: bp manage-existing-bms
6 years ago
Zhenguo Niu 93da16d88f Revert "Return node(name or uuid) with server instead of node_uuid"
This reverts commit 5124ae1d44.

Change-Id: I0ff6f7e22afbe8833bbc6044b8b7f5c768c9b940
6 years ago
Zhenguo Niu 028b28594f Add root disk partitions support
This adds root disk partitons support to allow users to specify
root, ephemeral, and swap size.

Implements: bp root-disk-partitions

Change-Id: I9562f39501c23579ba561f0cd4cbb8ef60674a6b
6 years ago
Zhenguo Niu 7d78b09a01 Add preserve_ephemeral support for rebuilding
Currently we don't support preserving ephemeral partition when
requesting to rebuild, we need to expose the ability to users.

Change-Id: Ia10ab6a8d6dd6beba8837e7d0414dc6984dd2426
Closes-Bug: #1714852
6 years ago
Zhenguo Niu 5124ae1d44 Return node(name or uuid) with server instead of node_uuid
Currently we support to list compute nodes and aggregate nodes
with names, but server show will return the node uuid always,
which make the admins have to go ironic to get the relationship
between name and uuid, so this changes to return node name.

Change-Id: Ia0e5122aa29c4de2e870c5b71c420de49530ba92
Closes-Bug: #1715036
6 years ago
Jenkins 1094e56a45 Merge "Revert "Temporarily remove openstackdocs theme"" 6 years ago
Zhenguo Niu 2fc089fd74 Revert "Temporarily remove openstackdocs theme"
This reverts commit 17c0cf8daf.

Change-Id: I3769a1179746ba15f31f79edbfcad2d23bec044f
6 years ago
Jenkins 5cd5e24a31 Merge "Return key name with server API" 6 years ago
Xinran 3b026239f9 Return key name with server API
Change-Id: Ia8d7c917afc3bae04997161f8bb55c30cd196d60
Closes-Bug: #1712234
6 years ago
Jenkins e03982d000 Merge "support specifying port_id when attaching interface" 6 years ago
Jenkins 4d440df5bc Merge "Add socat console support" 6 years ago
Xinran 817748c6b0 support specifying port_id when attaching interface
Change-Id: I5d3f18a32c357096f5a6090abed1d8d480a93c6f
6 years ago
Jenkins 7228ff5c15 Merge "Temporarily remove openstackdocs theme" 6 years ago
Zhenguo Niu dead07444c Add socat console support
This adds another serial console type socat support.

Change-Id: Ic443d050790aee2ea2e27daf165310f8e292fda7
Implements: bp socat-console
6 years ago
Zhenguo Niu 17c0cf8daf Temporarily remove openstackdocs theme
We should not use that until we are official.

Change-Id: If4cde992531dd3825c4ea66cac2481f9d013be22
6 years ago
Jenkins 30a16bc608 Merge "Add support for scheduler_hints" 6 years ago
Jenkins 2a569c8533 Merge "Return addresses with server API object" 6 years ago
liusheng 6302f74832 Add support for scheduler_hints
Partially Implements: bp support-schedule-hints
Change-Id: I7c482ca0ac1031f0017c6bc832892111ecfb20dc
6 years ago
Zhenguo Niu 7bf7a776fd Return addresses with server API object
Replace server.nics with server.addresses to only return basic
addresses info with server API object, and we also provide an
API to get networks infomation.

Change-Id: If684252f8112e3879f096403d5b9daed2bd5951a
6 years ago
wanghao d577c88d4a Manage existing BMs: Part-1
This patch introduce a new API:
'GET: /manageable_servers' to list the adoptable nodes
from drivers to operators.

As a reference, now we implement api in the Ironic driver.

APIImpact

Implements: bp manage-existing-bms

Change-Id: I56340ce534c3b8d4e855a4c753ecf90a07147d29
6 years ago
liusheng 0a7e49aacc Add affinity_zone field for server object
Partially Implements: bp server-group-api-extension
Change-Id: Id118e661cace434c5a08ed28c65da70fe5bda6b0
6 years ago
Jenkins db41f26426 Merge "Replace server fault_info with fault" 6 years ago
Zhenguo Niu 2f376e39a6 Replace server fault_info with fault
There's no need to change the object field name in
API object.

Change-Id: I4c368d6a2ef9e0f28df8dec23a25dff8a621284c
6 years ago
Xinran 108348ad41 Specify image when do rebuilding
Implements: bp specify-image-during-rebuilding
APIImpact

Change-Id: I83104f4209eb4f67699ea9a721509f704d232af9
6 years ago
liusheng 2dc155534f Add ServerGroup API interfaces
This change adds ServerGroup interfaces

Partially Implements: bp server-group-api-extension

Change-Id: I56647ac7f871aee357b3cf05ab78d31548c96ee3
6 years ago
Jenkins b69a5d5a94 Merge "Add resource aggregates filed to flavor" 6 years ago
liusheng 2b2419f15c Trival-fix: Correct the order of api-ref parameters
Change-Id: Ifdb44ffcbc111cc488ea2c3730af48d7aa2c397a
6 years ago
Xinran 12ddae115e Return node uuid with server for admins
Closes-Bug: #1696378
Change-Id: Iad874b8c1f641722a09c6d06691bb44ad390beef
6 years ago
Zhenguo Niu 902a9ac65b Add resource aggregates filed to flavor
This addes a new aggregates field to flavor including
aggregates metadata key/value pairs. Then we can extract
resources quantitive, qualative and group informations
from flavors.

Change-Id: Ia85ff44fa9aabf2ef172c65c9ba9a3f0ce611b50
6 years ago
Zhenguo Niu a637bfd38a Add aggregate nodes API
* list nodes for the specified aggregates
* add node to an aggregate
* remove node from an aggregate

Change-Id: I78ce523c7ba26860e02dcde84bcb84a6cc0c60ee
6 years ago
Zhenguo Niu 8a8dc20660 Add node list support
This adds support for listing node names from resource providers,
which will only available for admins.

Partially Implements: bp node-aggregate

Change-Id: I414bf176302fc076288e6a6fbfd88a7090541622
6 years ago
Zhenguo Niu 27f3b1832a Add aggregate API
This addes the aggregate APIs and docs

Partially Implements: bp node-aggregate

Change-Id: Iaa8d1de301f09360f7aa36e3a8fe5829e65b55c9
6 years ago