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 would like to match multiple values from the same line, instead of iterating over and over of the same interface object
For example I have the following configurations. for the config line of ip address 192.168.10.254/24 tag 12345 I would need to run the re_match_iter_type() twice to find the IP and the tag for it since only one value is returned. is it possible to return multiple match groups ?
interface Vlan10
description This is my interface for vlan10
no shutdown
vrf member tenant1
no ip redirects
ip address 192.168.10.254/24 tag 12345
no ipv6 redirects
fabric forwarding mode anycast-gateway
ip dhcp relay address 99.99.99.99 use-vrf default
ip dhcp relay address 100.100.100.100 use-vrf default
The text was updated successfully, but these errors were encountered:
I would like to match multiple values from the same line, instead of iterating over and over of the same interface object
For example I have the following configurations. for the config line of
ip address 192.168.10.254/24 tag 12345
I would need to run the re_match_iter_type() twice to find the IP and the tag for it since only one value is returned. is it possible to return multiple match groups ?The text was updated successfully, but these errors were encountered: