Roopa Prabhu
fc5e1735c0
ifupdown: add new ifupdownflags class to carry ifupdown flags
...
Ticket: cleanup
Reviewed By:
Testing Done: Tested ifupdown sanity
This gets rid of some ugly previous flag handling which was
passed through modules. This creates a global instance of
flags that all addon modules and helper modules can use.
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
2016-04-14 22:30:53 -07:00
Julien Fortin
a4a53f4b45
fixing: ifupdown2 (subprocesses) lives on after control-c + Parsing cmd string with shlex.split instead of string.split
...
Ticket: CM-9905
Reviewed By: CCR-4363
Testing Done: ^C ifupdown2 while ifreload-ing interfaces test files (~500ifaces) + smoke tests
2016-04-10 18:55:56 +02:00
Roopa Prabhu
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
Roopa Prabhu
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