zun/api-ref/source
Hongbin Lu 44dc51f8df Support opening container's port
Introduce an option to expose container's port(s). In particular,
it introduces a parameter 'exposed_ports' on creating container.
The value is in the form: ``{"<port>/<protocol>": {}}``. For
example, it can be ``{"80": {}}`` or ``{"80/tcp": {}}``.
The format is designed to align with docker's option 'ExposedPorts'.

If this parameter is provided, Zun will create a security group
for the container. The security group will be populated a set of
rules to open those exposed ports.

This feature is a managed security group feature (Zun manages the
security group of the container). Obviously, it cannot be used
with the 'security_groups' parameter, in which users are responsible
to manage the security group.

Change-Id: Id713ce602dca8e74089d4a5eea8df41ea8784db4
Partial-Implements: blueprint support-port-bindings
2018-08-20 02:05:08 +00:00
..
samples Add healthcheck to api-ref 2018-08-07 09:44:54 +08:00
conf.py Move openstackdocstheme to extensions in api-ref 2018-03-27 10:13:09 +08:00
containers.inc Support opening container's port 2018-08-20 02:05:08 +00:00
hosts.inc api-ref: add parameters for host APIs 2018-05-03 03:42:12 +00:00
images.inc Add initial Zun API documentation 2017-02-03 05:10:20 +00:00
index.rst Update our project definition 2018-02-04 17:56:32 +00:00
parameters.yaml Support opening container's port 2018-08-20 02:05:08 +00:00
services.inc api-ref: add return code for services APIs 2018-08-06 17:01:37 +08:00
status.yaml Add initial Zun API documentation 2017-02-03 05:10:20 +00:00
urls.inc Update our project definition 2018-02-04 17:56:32 +00:00