]> git.proxmox.com Git - mirror_ifupdown2.git/commit - ifupdown2/ifupdown/ifupdownmain.py
ifupdownmain: handle more than one upperifaces
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 1 Mar 2016 06:23:24 +0000 (22:23 -0800)
committerRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 1 Mar 2016 06:28:58 +0000 (22:28 -0800)
commitccbeedcdf533391018cd5b92fe4464dced6d8b05
tree3dd18968b11162e19400b074daa48d15c01899cc
parent3fcb15febd084d826aff51e8599ae9c274c10343
ifupdownmain: handle more than one upperifaces

Ticket: CM-9595
Reviewed By:
Testing Done: tested with failing vrf config in CM-9595

due to same upperiface getting processed more than once,
there was an unnecessary refcount inc on the lowerdevice.
This patch aborts processing upperiface if already
processed and also adds a new debug function to
dump lower and uppper ifaces of all interfaces in the
file.
ifupdown/iface.py
ifupdown/ifupdownmain.py