Merge pull request #12 from najieb/main

Update schema.yaml to allow for DPDK interfaces that have hexadecimal names, such as `GigabitEthernetb/0/0`. h/t najieb for the simple fix.
This commit is contained in:
Pim van Pelt
2023-06-23 00:13:06 +02:00
committed by GitHub

View File

@ -37,7 +37,7 @@ loopback:
bondethernet: bondethernet:
description: str(exclude='\'"',len=64,required=False) description: str(exclude='\'"',len=64,required=False)
mac: mac(required=False) mac: mac(required=False)
interfaces: list(str(matches='.*GigabitEthernet[0-9]+/[0-9]+/[0-9]+'),required=False) interfaces: list(str(matches='.*GigabitEthernet[0-9a-z]+/[0-9]+/[0-9]+'),required=False)
mode: enum('round-robin','active-backup','broadcast','lacp','xor',required=False) mode: enum('round-robin','active-backup','broadcast','lacp','xor',required=False)
load-balance: enum('l2','l23','l34',required=False) load-balance: enum('l2','l23','l34',required=False)
--- ---