diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-22 22:28:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 22:28:26 +0100 |
commit | c0d70f697905dfa131be6cd9b2d48c07b915123f (patch) | |
tree | 669e68ff0b38a3c2d1f567c3b7185b1ee4d3f54e /smoketest | |
parent | 7d6002b9f8e422c8070413341bbc88db6a4fd8af (diff) | |
parent | f241dbd8dd2d93f126159947a43fd8ee6424f0af (diff) | |
download | vyos-1x-c0d70f697905dfa131be6cd9b2d48c07b915123f.tar.gz vyos-1x-c0d70f697905dfa131be6cd9b2d48c07b915123f.zip |
Merge pull request #2880 from sarthurdev/T5787_disabledbp
dhcp: T5787: Allow disabled duplicates on static-mapping (backport)
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_service_dhcp-server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_service_dhcp-server.py b/smoketest/scripts/cli/test_service_dhcp-server.py index 9e8196d7a..24ae2f4e2 100755 --- a/smoketest/scripts/cli/test_service_dhcp-server.py +++ b/smoketest/scripts/cli/test_service_dhcp-server.py @@ -207,6 +207,8 @@ class TestServiceDHCPServer(VyOSUnitTestSHIM.TestCase): self.cli_set(pool + ['static-mapping', 'dupe1', 'ip-address', inc_ip(subnet, 10)]) with self.assertRaises(ConfigSessionError): self.cli_commit() + self.cli_set(pool + ['static-mapping', 'dupe1', 'disable']) + self.cli_commit() self.cli_delete(pool + ['static-mapping', 'dupe1']) # cannot have mappings with duplicate MAC addresses |