Felix Fontein
3bb41ccb8e
docker_* tests: check API version ( #48620 )
...
* Check minimal API and docker-py versions for all docker_* tests.
* Improve docker_swarm creation/destruction for tests.
* Fail when conditions aren't met.
* Don't hardcode address for advertise_addr.
2018-11-19 10:01:40 +00:00
Felix Fontein
891687284f
docker_* modules: improve diff ( #48546 )
...
* Add difference tracking tool
* Improve --diff mode for docker_container.
* Improve diffs of sets by ordering the sets.
* Rewrite imports, get rid of HAS_DOCKER_PY_x variables and use docker_version instead.
* Rename container -> active (more generic).
* Add --diff for docker_volume. Change old diff output.
* Add --diff for docker_network. Change old diff output.
* Add --diff for docker_swarm_service.
* Add changelog.
* Add entry for porting guide on docker_network and docker_volume.
2018-11-19 09:59:54 +00:00
Felix Fontein
afded1c778
Use force_kill instead of stop_timeout to fasten container cleanup. ( #48733 )
2018-11-16 12:37:12 +00:00
Dave Bendit
d7686e1bc0
[docker_network] Add handling for Python booleans in driver_options ( #48105 )
...
Fixes #26708
2018-11-06 14:39:45 +00:00
Felix Fontein
8eb656de8b
Fixing idempotency test. ( #48038 )
2018-11-05 12:55:27 +00:00
Stephan Müller
00bab2d24d
[docker_network] add ipv6 support ( #47492 )
...
* [docker_network] add ipv6 support
* docker_network: review ipam_options
* docker_network: fix requirements
* docker_network: fix deprecation notice
* docker_network: add minimum docker version change
* docker_network: remove trailing whitespace
* docker_network: revert rename of network_four #discussion_r228707101
* docker_network: refactor IPAM config comparison #discussion_r228707255, #discussion_r228707280
* docker_network: correct spelling of IPv4 and IPv6 #discussion_r228707114, #discussion_r228707138
* docker_network: manually remove networks #discussion_r228709051
* docker_network: refactor enable_ipv6 condition #discussion_r228707317
* docker_network: add mutually_exclusive #discussion_r228707185
* docker_network: fix iprange #discussion_r228709072
* docker_network: add auxiliary addresses in examples and tests
* docker_network: link to docker docs #discussion_r228707018
* docker_network: remove list default #discussion_r228707060, #discussion_r228709091
* docker_network: introduce params syntax for create_network() #discussion_r228709031
* docker_network: beautify code
* docker_network: resolve change requests
* docker_network: add yaml header
* docker_networking: fix get_ip_version
* docker_network: extend CIDR test
* docker_network: use backported unittest2 for python 2.6
* docker_network: migrate unittest to pytest
2018-11-02 08:59:16 +10:00
Felix Fontein
2dab10f1ec
docker_network: adding/updating tests ( #47775 )
...
* Add substring test (fixes #32927 ).
* Extend idempotency tests (fixes #32580 ).
2018-10-29 17:34:00 -04:00
Dave Bendit
6ca88ab75d
docker_network: Adding basic integration test for overlay network ( #47772 )
...
Fixes #19271
2018-10-29 17:29:50 -04:00
Dave Bendit
29b4b36501
Adding "internal" option to "docker_network" module ( #35370 )
...
Fixes #27065
2018-10-23 07:49:26 +01:00
Felix Fontein
131efcff9d
docker_network: add basic integration tests ( #46137 )
...
* Adding very basic integration tests for docker_network.
* Fixing some details (review comments).
2018-10-19 08:42:27 +01:00