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:
@ -310,6 +310,13 @@ class vrf(moduleBase):
|
|||||||
except Exception, e:
|
except Exception, e:
|
||||||
self.logger.info('%s' %str(e))
|
self.logger.info('%s' %str(e))
|
||||||
pass
|
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
|
#Example ip rule
|
||||||
#200: from all oif blue lookup blue
|
#200: from all oif blue lookup blue
|
||||||
|
Reference in New Issue
Block a user