mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Add validvals to addons, to be used by iface/ifedit wrapper
Ticket: CM-8669 Reviewed By: Julien Testing Done: <DETAILED DESCRIPTION (REPLACE)>
This commit is contained in:
committed by
Julien Fortin
parent
198ded6a35
commit
c6370b563b
@@ -24,9 +24,11 @@ class vlan(moduleBase):
|
||||
'attributes',
|
||||
'attrs' : {
|
||||
'vlan-raw-device' :
|
||||
{'help' : 'vlan raw device'},
|
||||
{'help' : 'vlan raw device',
|
||||
'validvals' : ['<interface>' ,]},
|
||||
'vlan-id' :
|
||||
{'help' : 'vlan id'}}}
|
||||
{'help' : 'vlan id',
|
||||
'validrange' : ['0', '4096']}}}
|
||||
|
||||
|
||||
def __init__(self, *args, **kargs):
|
||||
|
Reference in New Issue
Block a user