19f8bb0b39
add a helper switchd ifupdown script that returns reserved vlan range
...
Ticket:
Reviewed By: CCR-2279
Testing Done: tested ifupdown2 reserved vlan checks
THis patch adds a switchd ifupdown script to return the reserved vlan.
Ifupdown will use this to warn the user when he uses a reserved vlan
(THis patch is a result of wilsons request to have a reserved vlan check
if ifupdown)
(cherry picked from commit 4e693849aba1f1821dba9cfdc567c92baeb23db5)
2014-11-26 13:07:45 -08:00
ad25e7bb98
Misc fixes. Add a --skip-upperifaces option to ifup (given the confusion
...
over ifup handling of upperifaces by default) + some fixes in the
reserved vlan check
Ticket: CM-3346
Reviewed By:
Testing Done: Tested ifupdown sanity.
2014-11-25 10:19:35 -08:00
2da58137d8
Misc fixes + ifreload new option + cleanups + more ifquery support etc
...
Ticket: CM-3346, CM-3784, CM-3841
Reviewed By:
Testing Done: various ifupdown2 tests
2014-11-11 21:58:12 -08:00
1d591e73b5
Include '-' in regex for globs
...
Ticket: CM-3346
Reviewed By:
Testing Done: Sanity test
2014-10-24 20:48:38 -07:00
84ca006f82
First phase checkin for new format for vlan aware bridge
...
Ticket: CM-3346
Reviewed By:
Testing Done: Sanity test + test new bridge format
There are a bunch of open issues with `vlan` interface handling.
Below is the format.
auto swp1
iface swp1
bridge-access 300
mstpctl-pathcost 0
mstpctl-adminedge yes
mstpctl-autoedge yes
mstpctl-p2p yes
mstpctl-bpduguard yes
mstpctl-treeprio 64
mstpctl-network yes
mstpctl-bpdufilter yes
auto swp2
iface swp2
bridge-vids 301
bridge-pvid 302
bridge-pathcost 10
bridge-priority 10
bridge-multicast-router 0
bridge-multicast-fast-leave 1
auto br0
iface br0
bridge-vlan-aware yes
bridge-stp on
bridge-ports swp1 swp2
bridge-vids 2001
auto br0.2001
iface br0.2001
address 10.0.14.2
hwaddress 00:03:00:00:00:12
address-virtual 00:00:5e:00:01:01 11.0.4.1/24
auto br0.2001
vlan br0.2001
bridge-igmp-querier-src 172.16.101.1
2014-10-24 10:11:07 -07:00
15ef32ea14
Move ifupdown2addons into ifupdown2 pacakge
...
Ticket: CM-3864
Reviewed By:
Testing Done: Tested build and install
open item:
- cleanup stale ifupdown2-addons package files
2014-10-09 16:02:46 -07:00