Add device-type, to ensure that plan --novpp generates MTU statements
This commit is contained in:
@ -75,7 +75,8 @@ class Validator:
|
||||
|
||||
The purpose is to ensure that the YAML file is both syntactically correct,
|
||||
which is ensured by Yamale, and semantically correct, which is ensured by a set
|
||||
of built-in validators, and user-added validators (see the add_validator() method)."""
|
||||
of built-in validators, and user-added validators (see the add_validator() method).
|
||||
"""
|
||||
|
||||
def __init__(self, schema):
|
||||
self.logger = logging.getLogger("vppcfg.config")
|
||||
|
@ -7,13 +7,16 @@ bondethernets:
|
||||
|
||||
interfaces:
|
||||
GigabitEthernet3/0/0:
|
||||
device-type: dpdk
|
||||
mtu: 9000
|
||||
description: "LAG #1"
|
||||
GigabitEthernet3/0/1:
|
||||
device-type: dpdk
|
||||
mtu: 9000
|
||||
description: "LAG #2"
|
||||
|
||||
HundredGigabitEthernet12/0/0:
|
||||
device-type: dpdk
|
||||
lcp: "ice12-0-0"
|
||||
mac: f2:01:00:12:00:00
|
||||
mtu: 9000
|
||||
@ -34,6 +37,7 @@ interfaces:
|
||||
exact-match: True
|
||||
|
||||
HundredGigabitEthernet12/0/1:
|
||||
device-type: dpdk
|
||||
mtu: 2000
|
||||
description: "Bridged"
|
||||
|
||||
|
Reference in New Issue
Block a user