automation-tests/cmd/podman/pods
Paul Holzinger 535818414c
support advanced network configuration via cli
Rework the --network parse logic to support multiple networks with
specific network configuration settings.
--network can now be set multiple times. For bridge network mode the
following options have been added:
  - **alias=name**: Add network-scoped alias for the container.
  - **ip=IPv4**: Specify a static ipv4 address for this container.
  - **ip=IPv6**: Specify a static ipv6 address for this container.
  - **mac=MAC**: Specify a static mac address address for this container.
  - **interface_name**: Specify a name for the created network interface inside the container.

So now you can set --network bridge:ip=10.88.0.10,mac=44:33:22:11:00:99
for the default bridge network as well as for network names.
This is better than using --ip because we can set the ip per network
without any confusion which network the ip address should be assigned
to.
The --ip, --mac-address and --network-alias options are still supported
but --ip or --mac-address can only be set when only one network is set.
This limitation already existed previously.

The ability to specify a custom network interface name is new
Fixes #11534

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-12-14 15:23:39 +01:00
..
create.go support advanced network configuration via cli 2021-12-14 15:23:39 +01:00
exists.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
inspect.go Refactor podman pods to report.Formatter 2021-12-06 10:51:29 -07:00
kill.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
logs.go fix duplicated logs command 2021-11-18 22:57:32 +01:00
pause.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
pod.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
prune.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
ps.go Refactor podman pods to report.Formatter 2021-12-06 10:51:29 -07:00
restart.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
rm.go Add --time out for podman * rm -f commands 2021-10-04 07:07:56 -04:00
start.go InfraContainer Rework 2021-08-26 16:05:16 -04:00
stats.go Refactor podman pods to report.Formatter 2021-12-06 10:51:29 -07:00
stop.go InfraContainer Rework 2021-08-26 16:05:16 -04:00
top.go Scrub podman commands to use report package 2021-06-16 16:53:48 -07:00
unpause.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00