]> 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)
committerNikhil <nikhil@cumulusnetworks.com>
Fri, 22 Apr 2016 18:44:04 +0000 (11:44 -0700)
commit669b422add399208b953b68f02c4589aae9cbf55
tree8ca5289a34619a2f18c23de480088cd0b6592539
parentfdf548b091b556fae722df1416adc0338e1ab057
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,ifupdown,sbin: adding ifquery --with-defaults option

Ticket: CM-7840
Reviewed By: Roopa Prabhu
Testing Done: yes, by installing ifupdown .deb file onto dell-s3000-02

This patch adds a new argument '--with-defaults' to 'ifquery'
when 'ifquery --with-defaults' is executed, running states of all interface
attributes are compared against respective configured attributes from
/etc/network/interfaces file, if configured. Otherwise, compared against
default attributes from policy file

Signed-off-by: Nikhil <nikhil@cumulusnetworks.com>
addons/address.py
addons/bridge.py
addons/ethtool.py
addons/vrf.py
ifupdown/ifupdownmain.py
ifupdown/scheduler.py
sbin/ifupdown2