From c86909d39e2c3a1ca74372bc377adde63953c76a Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Thu, 27 Jun 2024 10:19:24 +0300 Subject: pppoe-server: T5710: Add option permit any-login --- smoketest/scripts/cli/test_service_pppoe-server.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'smoketest/scripts') diff --git a/smoketest/scripts/cli/test_service_pppoe-server.py b/smoketest/scripts/cli/test_service_pppoe-server.py index 97c63d4cb..34e45a81a 100755 --- a/smoketest/scripts/cli/test_service_pppoe-server.py +++ b/smoketest/scripts/cli/test_service_pppoe-server.py @@ -177,6 +177,17 @@ class TestServicePPPoEServer(BasicAccelPPPTest.TestCase): conf.read(self._config_file) self.assertEqual(conf['pppoe']['pado-delay'], '10,20:200,30:300,-1:400') + def test_pppoe_server_any_login(self): + # Test configuration of local authentication for PPPoE server + self.basic_config() + + self.set(['authentication', 'any-login']) + self.cli_commit() + + # Validate configuration values + config = read_file(self._config_file) + self.assertIn('any-login=1', config) + if __name__ == '__main__': unittest.main(verbosity=2) -- cgit v1.2.3