diff options
author | khramshinr <khramshinr@gmail.com> | 2024-05-13 17:26:55 +0600 |
---|---|---|
committer | khramshinr <khramshinr@gmail.com> | 2024-05-15 13:08:19 +0600 |
commit | 75d553932504c55e710265776e4865a238223e1f (patch) | |
tree | dff2caa2064ff3233b6aefa708eda39df3b6e0b2 /smoketest/scripts/cli/base_accel_ppp_test.py | |
parent | be41ac33f37bbf740d20021c66dc8fd048a68520 (diff) | |
download | vyos-1x-75d553932504c55e710265776e4865a238223e1f.tar.gz vyos-1x-75d553932504c55e710265776e4865a238223e1f.zip |
T5756: L2TP RADIUS backup and weight settings
Diffstat (limited to 'smoketest/scripts/cli/base_accel_ppp_test.py')
-rw-r--r-- | smoketest/scripts/cli/base_accel_ppp_test.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/base_accel_ppp_test.py b/smoketest/scripts/cli/base_accel_ppp_test.py index 383adc445..ab723e707 100644 --- a/smoketest/scripts/cli/base_accel_ppp_test.py +++ b/smoketest/scripts/cli/base_accel_ppp_test.py @@ -367,6 +367,27 @@ class BasicAccelPPPTest: ] ) + self.set( + [ + "authentication", + "radius", + "server", + radius_server, + "backup", + ] + ) + + self.set( + [ + "authentication", + "radius", + "server", + radius_server, + "priority", + "10", + ] + ) + # commit changes self.cli_commit() @@ -379,6 +400,8 @@ class BasicAccelPPPTest: self.assertEqual(f"acct-port=0", server[3]) self.assertEqual(f"req-limit=0", server[4]) self.assertEqual(f"fail-time=0", server[5]) + self.assertIn('weight=10', server) + self.assertIn('backup', server) def test_accel_ipv4_pool(self): self.basic_config(is_gateway=False, is_client_pool=False) |