summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-05-12 18:43:59 -0500
committerGitHub <noreply@github.com>2024-05-12 18:43:59 -0500
commitcd1feee8c3f806357380b6c73e7c3c0bbe7b6087 (patch)
treef2a7e8e6bde24941a8538f112ced6483c966885f /smoketest/scripts
parentb976dad08782275f3276be1ab62633fa28860fb1 (diff)
parent42ca28f2956fc7a5a1dc591714410d5423d90f73 (diff)
downloadvyos-1x-cd1feee8c3f806357380b6c73e7c3c0bbe7b6087.tar.gz
vyos-1x-cd1feee8c3f806357380b6c73e7c3c0bbe7b6087.zip
Merge pull request #3449 from vyos/mergify/bp/sagitta/pr-34471.4.0-epa3
ethernet: T6306: add support for EVPN MH uplink/core tracking (backport #3447)
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_ethernet.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_ethernet.py b/smoketest/scripts/cli/test_interfaces_ethernet.py
index 8f387b23d..4843a40da 100755
--- a/smoketest/scripts/cli/test_interfaces_ethernet.py
+++ b/smoketest/scripts/cli/test_interfaces_ethernet.py
@@ -354,5 +354,15 @@ class EthernetInterfaceTest(BasicInterfaceTest.TestCase):
out = loads(out)
self.assertFalse(out[0]['autonegotiate'])
+ def test_ethtool_evpn_uplink_tarcking(self):
+ for interface in self._interfaces:
+ self.cli_set(self._base_path + [interface, 'evpn', 'uplink'])
+
+ self.cli_commit()
+
+ for interface in self._interfaces:
+ frrconfig = self.getFRRconfig(f'interface {interface}', daemon='zebra')
+ self.assertIn(f' evpn mh uplink', frrconfig)
+
if __name__ == '__main__':
unittest.main(verbosity=2)