salt/tests/support
Erik Johnson 64aa4fbbec
Many improvements to docker network and container states
Much Improved Support for Docker Networking
===========================================

The `docker_network.present` state has undergone a full rewrite, which
includes the following improvements:

Full API Support for Network Management
---------------------------------------

The improvements made to input handling in the
`docker_container.running` state for 2017.7.0 have now been expanded to
docker_network.present`.  This brings with it full support for all
tunable configuration arguments.

Custom Subnets
--------------

Custom subnets can now be configured. Both IPv4 and mixed IPv4/IPv6
networks are supported.

Network Configuration in :py:func:`docker_container.running` States
-------------------------------------------------------------------

It is now possible to configure static IPv4/IPv6 addresses, as well as
links and labels.

Improved Handling of Images from Custom Registries
==================================================

Rather than attempting to parse the tag from the passed image name, Salt
will now resolve that tag down to an image ID and use that ID instead.

Due to this change, there are some backward-incompatible changes to
image management. See below for a full list of these changes.

Backward-incompatible Changes to Docker Image Management
--------------------------------------------------------

Passing image names to the following functions must now be done using separate
`repository` and `tag` arguments:

- `docker.build`
- `docker.commit`
- `docker.import`
- `docker.load`
- `docker.tag`
- `docker.sls_build`

Additionally, the `tag` argument must now be explicitly passed to the
`docker_image.present` state, unless the image is being pulled from a
docker registry.
2017-12-06 12:12:25 -06:00
..
ext Move whatever we need from salttesting to salt. 2017-02-28 22:52:49 +00:00
parser add first kitchen test 2017-10-17 14:59:10 -06:00
__init__.py Moved some test supporting modules to tests/support 2017-02-28 22:52:48 +00:00
case.py Merge branch '2017.7' into 'develop' 2017-11-13 12:27:59 -05:00
cherrypy_testclasses.py Use setUpClass instead of __init__ 2017-04-28 13:33:37 +01:00
copyartifacts.py Add print_function to __future__ import list 2017-10-25 14:54:03 -04:00
cptestcase.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
docker.py Many improvements to docker network and container states 2017-12-06 12:12:25 -06:00
gitfs.py Fix some regressions in recent legacy git_pillar deprecation 2017-09-26 16:12:55 -05:00
helpers.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
mixins.py Merge branch '2017.7' into 'develop' 2017-11-22 12:36:03 -05:00
mock.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
napalm.py import absolute paths 2017-11-29 10:00:41 +11:00
paths.py Merge branch '2017.7' into 'develop' 2017-11-05 20:28:51 -07:00
processes.py Merge pull request #41617 from cro/n_proxy_tests 2017-06-15 12:07:29 -05:00
runtests.py Merge branch '2017.7' into 'develop' 2017-11-05 20:28:51 -07:00
unit.py Complete the salt.utils refactor 2017-10-15 09:43:31 -05:00
xmlunit.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00