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
Sam Tannous
d3ad131ee8
Make ifupdown2 print meaningful error when interface name length exceeds 15 characters
...
Ticket: CM-5882
Reviewed By: gospo
Testing Done: unit tested
When a user enters an interface name longer than 15 characters,
the error message is not clear about what the problem is.
warning: netlink: Numerical result out of range <<<<<<<<<<<<<<<<
This patch catches the error before netlink gets the call and
prints
error: the following interface names are too long: bond-xconnect.1006
2015-07-02 17:10:04 -04: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
679e656768
more support and fixes to support new format for vlan filtering bridge
...
Ticket: CM-3346
Reviewed By:
Testing Done: Tested with old and new formats
Details of the format are attached to the bug.
2014-10-09 12:58:16 -07:00
Roopa Prabhu
904908bc5f
Documentation cleanup
...
Ticket:
Reviewed By:
Testing Done:
- these changes are mainly related to api doc generation using sphinx
2014-07-22 11:15:56 -07:00