]> git.proxmox.com Git - mirror_ifupdown2.git/commit
Dont follow dependents during down of interfaces as part of ifreload
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sat, 4 Apr 2015 03:47:06 +0000 (20:47 -0700)
committerSam Tannous <stannous@cumulusnetworks.com>
Wed, 3 Jun 2015 17:08:10 +0000 (13:08 -0400)
commit3ac88e15535f8c30fd392a124be0e32e8ba1d1ec
treeb153ce3f15b477891e6e618ca4d97790e820830e
parentf7e2962a925921ac59dade0a62933da290c39eba
Dont follow dependents during down of interfaces as part of ifreload

Testing Done: tested ifreload with example in the bug

ifdown of the bridge svi was following the lowerdev and downing the
bridge. kernel implicitly deletes all svi's on bridge down.
ifup of the bridge usually handles it, but a change done in 2.5.1
was causing it not to. Thinking about this some more, its safe
to not follow dependents on down during a ifreload. This patch does
just that.
(cherry picked from commit 03f7a376aee944b4037b7b7b02a5096e9360f79e)
(cherry picked from commit aac5777ecc7d367ada0681f813fbec7f78fa80ee)
ifupdown2/ifupdown/ifupdownmain.py