1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

some more ifquery support (for vxlan devices etc)

Ticket: CM-3784
Reviewed By:
Testing Done: Tested ifquery check/running and sanity
This commit is contained in:
Roopa Prabhu
2014-10-31 11:28:07 -07:00
parent 27f6acf555
commit 9e012f9e8a
5 changed files with 116 additions and 18 deletions

View File

@@ -126,11 +126,14 @@ class mstpctl(moduleBase):
{ 'help' : 'port tree cost',
'required' : False},
'mstpctl-portbpdufilter' :
{ 'help' : 'enable/disable bpdu filter on a port',
{ 'help' : 'enable/disable bpdu filter on a port. ' +
'syntax varies when defined under a bridge ' +
'vs under a port',
'validvals' : ['yes', 'no'],
'default' : 'no',
'required' : False,
'example' : ['mstpctl-portbpdufilter swp1=no swp2=no']},
'example' : ['under a bridge: mstpctl-portbpdufilter swp1=no swp2=no',
'under a port: mstpctl-portbpdufilter yes']},
}}
_port_attrs_map = {'mstpctl-portpathcost' : 'portpathcost',