You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can maybe narrow it down to the following, in l2_interfaces there is an version check if os_version is set and < "7.0.0", it seems this check doesn't work correctly in Version 24.2.2 (i assume all 24.x.x) and therefore it uses the wrong dot1q config block.
I found the issue in facts and config l2_interfaces.py ... but i'm currently not clear how the Version check is performed.
If i change the os_version check to exact version check, it works fine, but this may only work with 24.2.2:
facts: if os_version and (Version(os_version) > Version("7.0.0") or Version(os_version) == Version("24.2.2")):
config: if os_version and ( Version(os_version) < Version("7.0.0") and Version(os_version) != Version("24.2.2")):
It is a bit irritating, why the version check is in facts checked with > and in config with < to do the correct dot1q commands.
SUMMARY
Replace action with new Subinterfaces (dot1q) doesn't work anymore with 10.1.0/10.2.2 and IOS XR Version 24.2.2/24.2.2 LNT
ISSUE TYPE
COMPONENT NAME
interfaces
l2_interfaces
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
IOS XR Versoin Tested: 24.2.2 (on ASR9K) and 24.2.2 LNT (on NCS 540)
STEPS TO REPRODUCE
EXPECTED RESULTS
Changed and Replaced Configuration to add interface GigabitEthernet0/0/0/17.999 , enable it
and add encapsulation dot1q.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: