26 Commits

Author SHA1 Message Date
gaofei
d52b59aff0 Replace curly quotes with straight quotes
Change-Id: I3896bb9c44abc0c0c5585726cd1c21d97dbec8a7
2018-01-24 11:00:55 +08:00
miaohb
f558707746 Add api-ref for container execute resize
This patch adds api-ref for container execute resize.

Change-Id: If037734d7e85412ac84ca061c391eaf44c8acb9f
Closes-Bug: #1720926
2017-11-06 23:32:57 -08:00
miaohb
4ba7d8ca5f Add api-ref for container execute
This patch adds api-ref for container execute.

Change-Id: I3b37e13e7e2990d61caabf6d5b455468529b70d8
Closes-Bug: #1720925
2017-11-02 15:28:11 +00:00
Zuul
761d1318b4 Merge "Add api-ref for container kill" 2017-10-31 02:35:56 +00:00
miaohb
257ee4c208 Support stop and delete container
This patch adds an option for user to stop container firstly when deleting
the container.

Change-Id: I5e5afb6a7a1b8850fc57cdae6e0e3553d56b1040
Closes-Bug: #1713520
2017-10-25 18:37:14 -07:00
miaohb
d3c9954506 Add api-ref for container kill
This patch adds api-ref for container kill.

Change-Id: Icd13077d10b44f9d6b3b56599de8c84922055f48
Closes-Bug: #1720927
2017-10-23 00:54:51 -07:00
miaohb
1b1a787767 Add api-ref for container get/put archive
This patch adds api-ref for container get/put archive.

Change-Id: I4e6d5e6b5c22c01e0209e52bd50d531e7b335354
Partially-Implements: bp zun-api-doc
2017-10-16 21:12:57 -07:00
miaohb
df847cc140 Add api-ref for container top
This patch adds api-ref for container top.

Change-Id: I3f548a63afe15fe78ac07e9d61e0987b43677932
Closes-Bug: #1720929
2017-10-15 23:48:11 -07:00
miaohb
ef340fecb1 Add api-ref for container logs
This patch adds api-ref for container logs.

Closes-Bug: #1720924
Change-Id: I652a5a592ecfe0f06e8df594ba4074f285ab891c
2017-10-13 01:49:06 -07:00
junboli
f19f03f4e4 Api-ref: Fix incorrect api params description
It occurs in the following APIs:
 1. Commit a container
 2. Rename a container
 3. Add security group for specified container
 4. Show details of a host

Change-Id: I1c0e4f475bb02209ac18ae92d04899a670779907
Closes-bug: #1722150
2017-10-09 14:09:38 +08:00
Feng Shengqin
5a7a613548 Add auto_remove to api-ref
Change-Id: Icc81502bc6f1d7b65b7c47661f9e07ad65c649d3
2017-09-18 06:50:41 +00:00
Kien Nguyen
2057b668bf Bring hostname option back
Zun already had this option before, but had to remove due to the
Conflict Exception (relate to sandbox). At this time, we made sandbox
optional. Therefore, if use_sandbox option is False, we can use
hostname option. If it is True, raise the Exception to let user know.

This option will help us to implement the
blueprint internal-dns-resolution.

Change-Id: I2f8826fc66e94c0d4452ff32e3bc17700ef6b668
Closes-Bug: #1716849
2017-09-18 09:37:34 +07:00
Madhuri Kumari
aa3c5f1506 Change runtime to string type
The container create parameter `runtime` can be any string like
`runc`; `cor`, `clear` or any value configured in the docker
configuration file. So this patch changes its type from enum
to string.

Change-Id: Ia360f16edacf352e538a0056af0e3683a21c0053
Partial-Implements: blueprint support-secure-container
2017-09-08 12:30:16 +05:30
miaohb
f0632c5435 Add api-ref for container resize
This patch adds api-ref for container resize.

Change-Id: I04feb20ebee1dbd444a228b850551ce7efd45f66
Partially-Implements: bp zun-api-doc
2017-08-31 01:18:28 -07:00
miaohb
6487d22918 Fix error in api-ref about network-detach
This patch fixes error in api-ref about network-detach.

Change-Id: Ie8feb02ffba541817b9d97c3ecc50eec0110276b
Closes-Bug: #1714123
2017-08-30 18:48:56 -07:00
miaohb
f39ad3fbd2 Add api-ref for container commit
This patch adds api-ref for container commit.

Change-Id: Ibcb7846cd9d0c00c385196635d9b9b03c65dba82
Partially-Implements: bp zun-api-doc
2017-08-26 01:10:21 -07:00
Jenkins
3a39188b85 Merge "Add runtime parameter to container API" 2017-08-25 02:47:48 +00:00
Madhuri Kumari
6522a75c51 Add runtime parameter to container API
This commit adds a new parameter `runtime` to
container create and run APIs so that Zun can
support passing multiple runtimes in future.
Currently Zun only supports `runc` tool.

Change-Id: I2795a4555032e52707e0344daa9dc97ad832650b
Partial-Implements: blueprint support-secure-container
2017-08-23 11:38:31 +00:00
miaohb
d8c66a8be3 Fix error in api-ref about host
This patch adds the missing parameter "host_list" in api-ref.

Change-Id: I9dab7333b386675a2d9ae80c17f21e1f970a28c2
Closes-Bug: #1712466
2017-08-22 21:12:25 -07:00
Hongbin Lu
648a9cdaaa Implement create with existing neutron port
Support creating container with existing neutron port. Users
can pass the uuid/name of an existing neutron port via the 'nets'
parameter. If port is specified, Zun will use the existing port
instead of creating a new port.

If a container is deleted, its neutron port will be deleted regardless
of existing or not. A future work is to determine if the port is
pre-existing and avoid deleting existing port.

Closes-Bug: #1702581
Change-Id: I204b4bbe3de9e275690c4a64acdfe557f134b7ee
2017-08-07 15:09:09 +00:00
miaohb
bcca3b9f8c Add api-ref for container stats
This patch adds api-ref for container stats.

Change-Id: I6bdd9973a98983042202b222a2139a03301a8bbb
Partially-Implements: bp zun-api-doc
2017-07-14 08:58:15 +08:00
miaohb
7816f21b98 Add api-ref for more container operations
This patch adds api-ref for container start, stop, pause,
unpause, restart, rename.

Co-Authored-By: Kien Nguyen <kiennt@vn.fujitsu.com>
Co-Authored-By: miaohb <miao.hongbao@zte.com.cn>
Change-Id: Ie761f3332c3650d43515c65b4bc6ed327d90bb80
Partially-Implements: bp zun-api-doc
2017-07-11 06:12:15 +00:00
Madhuri Kumari
cbcad3b982 Add api-ref for container operations
This patch adds api-ref for list, show, delete, update container.

Change-Id: Ic736b55bc8e71636b63d56e2984ece8301384a99
Partially-Implements: bp zun-api-doc
2017-07-04 14:59:56 +05:30
Madhuri Kumari
4c524572af Add api-ref for container create
Change-Id: Ib6df2694bff69cb18cb37f42e7aa7f4809b6ae6f
Partial-Implements: bp zun-api-doc
2017-06-14 14:10:14 +05:30
miaohb
16f83bd01d Add the description about service api to api-ref
This patch adds the decription about service api to api-ref.

Change-Id: I9b5d765fdf9f627b73556e9799bd188e3d9b8505
Partially-Implements: blueprint zun-api-doc
2017-05-31 10:06:35 +08:00
Madhuri Kumari
bd5e2cd32c Add initial Zun API documentation
This patch adds the initial Zun API reference
documents and also add the /v1/services API documents.

Change-Id: I5ae6e313bce7d44fc1e42b982b4446123281c8d8
Partial-Implement: blueprint zun-api-doc
2017-02-03 05:10:20 +00:00