]> git.proxmox.com Git - mirror_ifupdown2.git/commit - addons/vrf.py
addons: vrf: fix check in vrf map initialization when no running vrfs present
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 19 Apr 2016 22:25:23 +0000 (15:25 -0700)
committerRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 19 Apr 2016 22:32:32 +0000 (15:32 -0700)
commit4934af352aae797b7578023484967cb9066c2f6b
tree5bb50046c046d7d533095489e7f755a7a985f20b
parent7b2e838e95d6aafa1113cfe7b3390f2469ea22bc
addons: vrf: fix check in vrf map initialization when no running vrfs present

Ticket: CM-10178
Review: trivial
Testing: tested with failing testcase in the CM

This patch fixes a check in vrf map initialization code which did
not account for running vrfs correctly. This caused the case where
there were no running vrfs but stale map file to fail.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
addons/vrf.py