Add loopbacks

This commit is contained in:
Pim van Pelt
2022-03-13 10:18:27 +00:00
parent b5d8f03e66
commit edb8e301ff
3 changed files with 25 additions and 0 deletions

View File

@ -1,5 +1,12 @@
interfaces: map(include('interface'),key=str(matches='.*GigabitEthernet[0-9]+/[0-9]+/[0-9]+|BondEthernet[0-9]+'))
bondethernets: map(include('bondethernet'),key=str(matches='BondEthernet[0-9]+'))
loopbacks: map(include('loopback'),key=str(matches='loop[0-9]+'))
---
loopback:
description: str(exclude='\'"',required=False)
lcp: str(max=8,matches='[a-z]+[a-z0-9-]{,7}',required=False)
mtu: int(min=128,max=9216)
addresses: list(ip_interface(),min=1,max=6,required=False)
---
bondethernet:
description: str(exclude='\'"',required=False)