mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-16 05:41:04 +00:00
Fix IF_ETH_REGEX to allow 1/1 and 1/1/1 interfaces (#51438)
This commit is contained in:
committed by
Ganesh Nalawade
parent
042aeba46c
commit
8719866ae8
@@ -132,7 +132,7 @@ from ansible.module_utils.network.onyx.onyx import get_interfaces_config
|
||||
|
||||
|
||||
class OnyxInterfaceModule(BaseOnyxModule):
|
||||
IF_ETH_REGEX = re.compile(r"^Eth(\d+\/\d+|Eth\d+\/\d+\d+)$")
|
||||
IF_ETH_REGEX = re.compile(r"^Eth(\d+\/\d+|\d+\/\d+\/\d+)$")
|
||||
IF_VLAN_REGEX = re.compile(r"^Vlan (\d+)$")
|
||||
IF_LOOPBACK_REGEX = re.compile(r"^Loopback (\d+)$")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user