be1faadac3
Fix addons man page for a few mstpctl defaults
...
Ticket: CM-5813
Reviewed By: sashok
Testing Done: build and tested man page
2015-04-27 15:38:07 -07:00
4c773918da
ifupdown2 loses interfaces on second down of swp port
...
Ticket: CM-5693
Reviewed By: roopa
Testing Done: tested bridge and bonds with interfaces with configs
Both bridge and mstpctl modules set priv_flags on interfaces
that have configs (like link-speed) even when used as bridge-ports.
And this collision causes statemanager.ifaceobj_sync() to never get called
because ifaceobj.priv_flags is 1 (we return immediately):
The fix was to create a new iface module_flags array to carry module info.
2015-04-23 20:27:44 -04:00
404cc695a5
Move disable ipv6 error to info in mstpctl module (test scripts are
...
still using mstpctl-ports)
Ticket: CM-4622
Reviewed By:
Testing Done: Tested bridge sanity
2015-01-03 22:35:45 -08:00
f6a0fa151b
Added a few more try-except clauses during bridge config to continue on
...
failures
Ticket: CM-4382
Reviewed By:
Testing Done: Tested with bridge port addition failure example in the
bug report
2014-12-27 20:39:17 -08:00
a070c90ec3
Multiple fixes and cleanup
...
Ticket: CM-3346
Reviewed By:
Testing Done: Tested ifupdown2 sanity
- moved 'admin up' delays that we introduced recently to be
configurable via two ifupdown2.conf attributes
# Let link master (bridges, bonds) own the link state of slaves
link_master_slave=1
# Delay admin state change till the end
delay_admin_state_change=0
- reduced some redundant traversal of dependency trees
- fixed a few bugs in query check
2014-12-17 12:39:38 -08:00
3e6ea735cc
continue passing the object to other modules if one of the modules fails
...
Ticket: CM-4336
Reviewed By:
Testing Done: Tested with the missing port testcase from CM-4336
2014-12-01 14:54:12 -08:00
16d854b461
Fix a few minor ifquery check failures
...
Ticket: CM-3346
Reviewed By:
Testing Done: Tested ifupdown2 sanity and query check failures.
2014-11-19 17:25:26 -08:00
4c39c7b84a
Fix ordering of mstpctl attributes by moving to a OrderedDict
...
Ticket: CM-3737
Reviewed By:
Testing Done: Tested with config given in the bug
2014-11-19 14:42:14 -08:00
d8e3554dde
minor fixes for ifquery and stp handling
...
Ticket: CM-3346
Reviewed By:
Testing Done: Tested ifupdown2 sanity
2014-11-15 15:42:52 -08:00
e759a20abf
Fix defaults for mstpctl-portp2p
...
Ticket: CM-4141
Reviewed By:
Testing Done: Tested ifquery running for mstpctl-portp2p
2014-11-08 06:14:56 -08:00
7adb4b77ab
Fix mstpctl attribute names in ifquery running output
...
Ticket: CM-4141
Reviewed By:
Testing Done: Tested with test case in CM-4141 + sanity testing
2014-11-06 16:10:21 -08:00
19f90a917a
Fix mstpctl port attribute ifquery check
...
Ticket: CM-3346
Reviewed By:
Testing Done: Tested ifquery check mstpctl attributes on bridge port
2014-11-04 11:31:30 -08:00
9e012f9e8a
some more ifquery support (for vxlan devices etc)
...
Ticket: CM-3784
Reviewed By:
Testing Done: Tested ifquery check/running and sanity
2014-10-31 11:28:07 -07:00
07ff144260
Remove stale debug
...
Ticket: CM-3346
Reviewed By:
Testing Done:
2014-10-29 12:57:57 -07:00
98b5ee73fc
misc fixes
...
Ticket: CM-3346
Reviewed By:
Testing Done: ifupdown2 sanity with new bridge driver
2014-10-29 12:51:21 -07:00
e160136944
Bug fixes and some query support
...
Ticket: CM-3346
Reviewed By:
Testing Done: sanity testing and syntax testing for new bridge driver
2014-10-28 16:10:00 -07:00
fe91c3484f
remove code that makes a bridge port inherit stp/mstp/igmp attributes from bridge
...
Ticket: CM-4035
Reviewed By:
Testing Done: Tested ifupdown2 sanity
2014-10-24 14:21:54 -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
d101ece27b
Remove stale mstp adminadge attributes
...
Ticket: CM-3346
Reviewed By: sashok
Testing Done: sanity test
2014-10-09 19:26:10 -07:00
39804250c7
A few more fixes to the vlan aware bridge case
...
Ticket: CM-3346
Reviewed By:
Testing Done: Tested with new and old bridge formats
2014-10-09 19:10:20 -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