summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-05-12 16:27:26 +0200
committerGitHub <noreply@github.com>2024-05-12 16:27:26 +0200
commit2105a8b29a0d616a8640ecc86683f8c9da8b52ea (patch)
tree9cf970944d3c213ee163e55781d0f7cc04ad4a5e /smoketest/scripts
parent4fc9d38edecd5775a8446d8099c89043eedd9b5d (diff)
parent5565f27d15c5e7378e94aae8db8a894a12e25d7b (diff)
downloadvyos-1x-2105a8b29a0d616a8640ecc86683f8c9da8b52ea.tar.gz
vyos-1x-2105a8b29a0d616a8640ecc86683f8c9da8b52ea.zip
Merge pull request #3447 from c-po/evpn-uplink-t6306
ethernet: T6306: add support for EVPN MH uplink/core tracking
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)