Fix IF_ETH_REGEX to allow 1/1 and 1/1/1 interfaces (#51438)
This commit is contained in:
parent
042aeba46c
commit
8719866ae8
1 changed files with 1 additions and 1 deletions
|
@ -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+)$")
|
||||
|
||||
|
|
Loading…
Reference in a new issue