Sergey
4c682e170c
Run black -l 120 on all Python files to unify the style ( #939 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-06-15 18:25:48 +03:00
Guillaume HOUDMON
2deadf069a
Add quadlet file mode option to specify file permission ( #867 )
...
* Add quadlet file mode option
Signed-off-by: ghoudmon <guillaume@houdmon.com>
* Fix file mode only change test
Signed-off-by: ghoudmon <guillaume@houdmon.com>
---------
Signed-off-by: ghoudmon <guillaume@houdmon.com>
2024-10-22 15:20:26 +03:00
Sergey
ca8267c83b
Add new options for podman_network ( #856 )
...
Fix #846
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-09-29 20:44:58 +03:00
Sergey
7a1d668e0e
Update inspection info about objects in modules ( #819 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-08-16 19:26:35 +03:00
Sergey
9142efd82a
Add multiple subnets for networks ( #762 )
...
Improve idempotency.
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-05-28 18:36:52 +03:00
Sergey
2887be7289
Add route, dns and ipam_driver to podman_network ( #761 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-05-27 21:59:14 +03:00
Sagi Shnaidman
35cdaa1365
Release 1.13.0 version
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-04-22 21:20:28 +03:00
Sagi Shnaidman
4bfbabe727
Add more quadlet examples in docs
2024-04-22 21:20:28 +03:00
Sergey
1476ebe685
Add quadlet support for Podman modules ( #722 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-04-22 01:13:04 +03:00
Andreas Seidl
eab26e5eba
Fix idempotency for podman_network ( #699 ) ( #700 )
...
* Fix idempotency for podman_network when explicitly definining disable_dns parameter for Podman driver other than type bridge
Signed-off-by: andreas.seidl <andreas.seidl@r-kom.de>
2024-01-11 14:13:32 +02:00
Pablo Méndez Hernández
ea51855a4c
Add support for setting underlying interface in podman_network ( #677 )
...
It may be desirable to set a different interface than the default one
(for example, a different bridge).
In the case of a macvlan interface, it can be used instead of setting
`opt.parent`.
Signed-off-by: Pablo Méndez Hernández <pablomh@redhat.com>
2023-11-29 17:31:49 +02:00
Chris Xiao
e463004db7
Fix #656 : Do not force network removal by default ( #660 )
...
* fix #656 : do not force network removal by default
* Remove `-f` flag when removing network with `podman network rm`, so
that containers using the network won't be removed by default.
* Add `force` option (default False) to `podman_network`, which uses `-f`
and removes containers using the network
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
* set default=False for `force`
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
---------
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
2023-10-31 12:28:41 +02:00
Sergey
a1a667b726
Fix network DNS enable idempotency issue ( #650 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2023-09-28 11:42:54 +03:00
Sergey
1bfa6396a5
Fix pylint issues for CI ansible-test ( #550 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2023-02-14 16:22:36 +02:00
Sergey
877581e31f
Add missing options to podman network ( #535 )
...
Fix #534
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2023-01-01 18:20:51 +02:00
Sergey
bd0f6f9bc4
Improve networks idempotency for v4 ( #471 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-09-02 19:33:16 +03:00
Sergey
2577f5b0f5
Remove distutils as deprecated ( #437 )
...
Fix #422
The distutils package is deprecated and slated for removal in Python 3.12
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-06-12 22:54:03 +03:00
Sergey
25b9516488
Allow specify podman_network options MTU and VLAN separately ( #435 )
...
Before that it didn't work when only one option set.
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-06-08 19:37:06 +03:00
Sergey
98c516292f
Fix internal networks idempotency ( #421 )
...
Remove logic with internal and dns, since Podman supports it in
recent versions.
Fix #350
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-04-28 00:56:22 +03:00
Axel Dahlberg
4a7d64bb43
fix(network) fix issue when missing plugins entry ( #392 )
...
Signed-off-by: Axel Dahlberg <git@valleymnt.com>
2022-03-14 13:41:28 +02:00
Sergey
95a402b869
Fix ipv6=false issue ( #250 )
...
Pass boolean to ipv6 option in command line.
2021-05-03 01:44:57 +03:00
Sergey
46020ecf80
Convert IPv6 to shorten form ( #232 )
2021-04-02 03:01:50 +03:00
Sergey
b098abb00f
Fix idempotency for rootless networks from v3 ( #231 )
...
Rootless network will always have DNS enabled.
Fix #212
2021-04-02 02:36:40 +03:00
Sergey
5b133ee898
Fix internal networks and DNS plugin for v3 ( #210 )
2021-02-24 08:28:19 +02:00
Sagi Shnaidman
6f8df336bc
Add support of network options like MTU, VLAN
2020-12-20 16:50:54 +02:00
Sagi Shnaidman
04c7e18bc3
Add IPv6 to network
...
Fix CI for podman network.
Make 'subnet' required for ip-range or gateway.
Add IPv6 subnets.
2020-12-20 16:50:54 +02:00
Eric L
baf459ec23
Correct IP range example for podman_network ( #149 )
...
the IP range must be in CIDR notation not IP1-IP2, at least according to man page
of podman-network-create
Co-authored-by: Eric L <ewl+git@lavar.de>
2020-11-23 14:16:32 +02:00
Sébastien CATHERINE
978e328420
Update podman_network.py ( #123 )
...
Fix doc
2020-10-12 01:19:57 +03:00
Sergey
f03362429b
Check if dnsname plugin installed for CNI ( #118 )
...
If dnsname plugins is not in specified set of paths, it's not
installed. If it's not installed, then the default values of
disable-dns will be True (as dns is disabled).
2020-10-07 13:05:50 +03:00
Holger Hees
1bd3b70de6
fix diff calculation for lower/upper cases ( #115 )
...
* fix diff calculation
* fix formatting
* fix formatting
* removed unused import statements
* add missing requirement doc
2020-10-07 11:50:43 +03:00
Sergey
c97a56a0a2
Add podman_network module ( #107 )
...
And add release 1.3.0
2020-09-03 01:38:25 +03:00