spiegel_podman/test/e2e
Paul Holzinger 5952486df8
podman network inspect: include running containers
Like docker podman network inspect should output the information of
running container with their ip/mac address on this network.
However the output format is not docker compatible as this cannot
include all the info we have and the previous output was already not
compatible so this is not new.

New example output:
```
[
     {
          ...
          "containers": {
               "7c0d295779cee4a6db7adc07a99e635909413a390eeab9f951edbc4aac406bf1": {
                    "name": "c2",
                    "interfaces": {
                         "eth0": {
                              "subnets": [
                                   {
                                        "ipnet": "10.89.0.4/24",
                                        "gateway": "10.89.0.1"
                                   },
                                   {
                                        "ipnet": "fda3:b4da:da1e:7e9d::4/64",
                                        "gateway": "fda3:b4da:da1e:7e9d::1"
                                   }
                              ],
                              "mac_address": "1a:bd:ca:ea:4b:3a"
                         }
                    }
               },
               "b17c6651ae6d9cc7d5825968e01d6b1e67f44460bb0c140bcc32bd9d436ac11d": {
                    "name": "c1",
                    "interfaces": {
                         "eth0": {
                              "subnets": [
                                   {
                                        "ipnet": "10.89.0.3/24",
                                        "gateway": "10.89.0.1"
                                   },
                                   {
                                        "ipnet": "fda3:b4da:da1e:7e9d::3/64",
                                        "gateway": "fda3:b4da:da1e:7e9d::1"
                                   }
                              ],
                              "mac_address": "f6:50:e6:22:d9:55"
                         }
                    }
               }
          }
     }
]
```

Fixes #14126
Fixes https://issues.redhat.com/browse/RHEL-3153

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-02-28 16:33:26 +01:00
..
build remote,test: remove .dockerignore which is a symlink 2023-11-03 20:39:02 +05:30
cdi build(deps): bump github.com/container-orchestrated-devices/container-device-interface 2023-02-20 14:51:04 +01:00
config Read kube_generate_type from containers.conf 2023-04-11 09:15:05 -04:00
quadlet Quadlet - do not look for line continuation in comment lines 2024-02-08 13:03:33 +02:00
sign e2e: reduce dependency on /tmp for e2e tests 2023-01-26 22:20:15 +09:00
testdata CI: e2e: use distinct ports, not just 5000 2024-02-27 04:30:26 -07:00
attach_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
build_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
checkpoint_image_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
checkpoint_test.go Add a helper for stopping pods and containers in E2E 2024-02-15 09:35:55 -05:00
cleanup_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
commit_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
common_test.go CI: e2e: use distinct ports, not just 5000 2024-02-27 04:30:26 -07:00
config.go new testimage and systemd-image 2024-02-09 05:26:07 -07:00
config_amd64.go new testimage and systemd-image 2024-02-09 05:26:07 -07:00
config_arm64.go new testimage and systemd-image 2024-02-09 05:26:07 -07:00
config_ppc64le.go new testimage and systemd-image 2024-02-09 05:26:07 -07:00
container_clone_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
container_create_volume_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
container_iface_name_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
container_inspect_test.go Add volumes-from support using annotation in kube yaml 2024-02-14 07:31:43 -08:00
containers_conf_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
cp_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
create_staticip_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
create_staticmac_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
create_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
diff_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
events_test.go cmd/podman: remove duplicated event ToHumanReadable() 2024-02-22 12:10:57 +01:00
exec_test.go Add a helper for stopping pods and containers in E2E 2024-02-15 09:35:55 -05:00
exists_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
export_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
farm_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
generate_kube_test.go CI: e2e: use distinct ports, not just 5000 2024-02-27 04:30:26 -07:00
generate_spec_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
generate_systemd_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
healthcheck_run_test.go Add a helper for stopping pods and containers in E2E 2024-02-15 09:35:55 -05:00
history_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
image_scp_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
image_sign_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
images_test.go new testimage and systemd-image 2024-02-09 05:26:07 -07:00
import_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
info_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
init_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
inspect_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
kill_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
libpod_suite_remote_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
libpod_suite_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
load_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
login_logout_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
logs_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
manifest_test.go CI: e2e: use distinct ports, not just 5000 2024-02-27 04:30:26 -07:00
mount_rootless_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
mount_test.go Add a helper for stopping pods and containers in E2E 2024-02-15 09:35:55 -05:00
negative_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
network_connect_disconnect_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
network_create_test.go podman network inspect: include running containers 2024-02-28 16:33:26 +01:00
network_test.go podman network inspect: include running containers 2024-02-28 16:33:26 +01:00
pause_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
play_build_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
play_kube_test.go Comply to Kubernetes specifications for annotation size. 2024-02-20 14:58:35 -08:00
pod_clone_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_create_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_infra_container_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_initcontainers_test.go Add a helper for stopping pods and containers in E2E 2024-02-15 09:35:55 -05:00
pod_inspect_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_kill_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_pause_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_pod_namespaces_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_prune_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_ps_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_restart_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_rm_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_start_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_stats_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_stop_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pod_top_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
port_test.go CI: e2e: use distinct ports, not just 5000 2024-02-27 04:30:26 -07:00
prune_test.go Add a helper for stopping pods and containers in E2E 2024-02-15 09:35:55 -05:00
ps_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pull_test.go CI: e2e: use distinct ports, not just 5000 2024-02-27 04:30:26 -07:00
push_test.go CI: e2e: use distinct ports, not just 5000 2024-02-27 04:30:26 -07:00
quadlet_test.go Merge pull request #21556 from ygalblum/quadlet-comment-line 2024-02-08 19:54:38 +00:00
rename_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
restart_test.go Add a helper for stopping pods and containers in E2E 2024-02-15 09:35:55 -05:00
rm_test.go More test tweaks to avoid "StopSignal ... 10 seconds" warning 2024-02-14 18:27:26 -07:00
rmi_test.go new testimage and systemd-image 2024-02-09 05:26:07 -07:00
run_aardvark_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_apparmor_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_cgroup_parent_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_cleanup_test.go Add a helper for stopping pods and containers in E2E 2024-02-15 09:35:55 -05:00
run_cpu_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_device_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_dns_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_entrypoint_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_env_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_exit_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_memory_test.go Use persist dir for oom file 2024-02-12 09:13:39 -05:00
run_networking_test.go podman network inspect: include running containers 2024-02-28 16:33:26 +01:00
run_ns_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_passwd_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_privileged_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_restart_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_seccomp_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_security_labels_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_selinux_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_signal_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_staticip_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_test.go CI: e2e: use distinct ports, not just 5000 2024-02-27 04:30:26 -07:00
run_transient_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
run_userns_test.go libpod: correctly map UID/GID for existing dirs 2024-02-12 23:04:24 +01:00
run_volume_test.go Add a helper for stopping pods and containers in E2E 2024-02-15 09:35:55 -05:00
run_working_dir_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
runlabel_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
save_test.go CI: e2e: use distinct ports, not just 5000 2024-02-27 04:30:26 -07:00
search_test.go CI: fix search-test flakes 2024-02-20 09:41:56 -07:00
secret_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
start_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
stats_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
stop_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
system_connection_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
system_df_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
system_dial_stdio_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
system_reset_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
system_service_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
systemd_activate_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
systemd_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
tag_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
toolbox_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
top_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
tree_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
trust_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
unshare_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
untag_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
update_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
version_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
volume_create_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
volume_exists_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
volume_inspect_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
volume_ls_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
volume_plugin_test.go Add a helper for stopping pods and containers in E2E 2024-02-15 09:35:55 -05:00
volume_prune_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
volume_rm_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
wait_test.go Bump Go module to v5 2024-02-08 09:35:39 -05:00