Fix bug in get_l2xc_interfaces(), and add tests for it

This commit is contained in:
Pim van Pelt
2022-03-22 13:15:21 +00:00
parent 7ae82c297c
commit 907412f49c
4 changed files with 32 additions and 5 deletions

View File

@ -63,3 +63,11 @@ interfaces:
l2xc: GigabitEthernet3/0/1
GigabitEthernet3/0/1:
l2xc: GigabitEthernet3/0/0
GigabitEthernet3/0/2:
sub-interfaces:
100:
description: "This interface connects one-way to Gi3/0/2.200. Strange, but valid."
l2xc: GigabitEthernet3/0/2.200
200:
description: "This interface does not connect back to Gi3/0/2.100. Strange, but valid."