summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_container.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-01-02 16:14:49 +0200
committerGitHub <noreply@github.com>2023-01-02 16:14:49 +0200
commitde1fa852c38b8eff22cf0c1a34abd13379c0705c (patch)
tree0a6140f5b0133580edfc34cf5a50531e98a6e975 /smoketest/scripts/cli/test_container.py
parenta3ab7f00d5714973bb8f75ab84c1023371c77ee2 (diff)
parentb672b435eef2e47a7a730b34cbfb923230fd5251 (diff)
downloadvyos-1x-de1fa852c38b8eff22cf0c1a34abd13379c0705c.tar.gz
vyos-1x-de1fa852c38b8eff22cf0c1a34abd13379c0705c.zip
Merge pull request #1734 from c-po/equuleus
smoketest: container: T578: adjust to podman 3.0.1 JSON output
Diffstat (limited to 'smoketest/scripts/cli/test_container.py')
-rwxr-xr-xsmoketest/scripts/cli/test_container.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_container.py b/smoketest/scripts/cli/test_container.py
index 902156ee6..49978151c 100755
--- a/smoketest/scripts/cli/test_container.py
+++ b/smoketest/scripts/cli/test_container.py
@@ -102,7 +102,7 @@ class TestContainer(VyOSUnitTestSHIM.TestCase):
self.cli_commit()
n = cmd_to_json(f'sudo podman network inspect {net_name}')
- json_subnet = n['subnets'][0]['subnet']
+ json_subnet = n['plugins'][0]['ipam']['ranges'][0][0]['subnet']
c = cmd_to_json(f'sudo podman container inspect {cont_name}')
json_ip = c['NetworkSettings']['Networks'][net_name]['IPAddress']