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
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
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
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
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
This patch adds api-ref for list, show, delete, update container.
Change-Id: Ic736b55bc8e71636b63d56e2984ece8301384a99
Partially-Implements: bp zun-api-doc
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