This patch adds an option for user to stop container firstly when deleting
the container.
Change-Id: I5e5afb6a7a1b8850fc57cdae6e0e3553d56b1040
Closes-Bug: #1713520
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
This patch adds missing example for container commit.
Change-Id: Iac31e55882b66258aa201b17718d9889834b7766
Depends-on: I250b743d8adc6cd6b41039bb3431eff35c4c030c
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
update html_last_updated_fmt in api-ref/source/conf.py
use the recommended '%Y-%m-%d %H:%M' data time format.
Change-Id: I144d86c8a5e0228d2dddf58d7d8a98f453353ac5
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
Add support for detach a network from a container.
Change-Id: I36d8829ae2c36751b4101d55ee621cb280eae4b7
Partially-Implements: blueprint network-rest-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
The 'addresses' field is a map of ip addresses. In before, it
used docker network name as key, which is hard to be interpreted
by users, since docker network is hiden from end-users. This commit
switches to use neutron network uuid as key. A use case is from our
Heat plugin, which requires neutron network information to do
orchestration.
Change-Id: Ic3e4ee80962cdd777543e5c9c988fc0cdc623dad
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
Add host show api.
I cannot bump the api version to 1.5 as the unit test fail. seem
pecan check the request version to all controller function which
lead to unit test fail.
Change-Id: I4b6afbe3f8126fea5323e5905366955e5b106b93
Partially-Implements: blueprint show-container-engine-info
This patch adds api-ref for list, show, delete, update container.
Change-Id: Ic736b55bc8e71636b63d56e2984ece8301384a99
Partially-Implements: bp zun-api-doc
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.
Change-Id: Ie954a0fb0a0eaf6e23a1bf9a846c4fd665606acc
Closes-Bug:#1693670
This patch adds the decription about service api to api-ref.
Change-Id: I9b5d765fdf9f627b73556e9799bd188e3d9b8505
Partially-Implements: blueprint zun-api-doc
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