diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-10-04 12:11:23 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-10-04 12:11:23 +0200 |
commit | f4e9248d2a24fc4fd0cdc7089aed0193d7a2884f (patch) | |
tree | 4069629e4ff2fb88e44bedde3d6754e80f53a457 /smoketest/scripts/cli/base_accel_ppp_test.py | |
parent | fe6326c96e6e481fc4498c10c493dfd393c3956c (diff) | |
download | vyos-1x-f4e9248d2a24fc4fd0cdc7089aed0193d7a2884f.tar.gz vyos-1x-f4e9248d2a24fc4fd0cdc7089aed0193d7a2884f.zip |
pppoe-server: T2953: rename CLI local-ip to gateway-address
Required to get a common CLI for all services provided by Accel-PPP. Once the
CLI for each service is consitent - Jinja2 templates can be reused together
with get_config_dict().
Diffstat (limited to 'smoketest/scripts/cli/base_accel_ppp_test.py')
-rw-r--r-- | smoketest/scripts/cli/base_accel_ppp_test.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/base_accel_ppp_test.py b/smoketest/scripts/cli/base_accel_ppp_test.py index 94834ad4c..cf401b0d8 100644 --- a/smoketest/scripts/cli/base_accel_ppp_test.py +++ b/smoketest/scripts/cli/base_accel_ppp_test.py @@ -30,6 +30,8 @@ class BasicAccelPPPTest: def setUp(self): self.session = ConfigSession(os.getpid()) + self._gateway = '192.0.2.1' + # ensure we can also run this test on a live system - so lets clean # out the current configuration :) self.session.delete(self._base_path) @@ -46,7 +48,7 @@ class BasicAccelPPPTest: # PPPoE local auth mode requires local users to be configured! self.set(['authentication', 'local-users', 'username', 'vyos', 'password', 'vyos']) self.set(['authentication', 'mode', 'local']) - + self.set(['gateway-address', self._gateway]) def verify(self, conf): self.assertEqual(conf['core']['thread-count'], str(get_half_cpus())) |