1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

addons: vrf: move ip -6 fib rule for local table

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

patch to move ip -6 fib rule for local table after vrf rules

Signed-off-by: Nikhil <nikhil@cumulusnetworks.com>
This commit is contained in:
Nikhil
2016-03-21 12:39:18 -07:00
parent e607276995
commit c61672da44

View File

@ -310,6 +310,13 @@ class vrf(moduleBase):
except Exception, e:
self.logger.info('%s' %str(e))
pass
if rule in self.ip6_rule_cache:
try:
self.exec_command('ip -6 rule del pref 0')
self.exec_command('ip -6 rule add pref 32765 table local')
except Exception, e:
self.logger.info('%s' %str(e))
pass
#Example ip rule
#200: from all oif blue lookup blue