vr: create tables before applying egress iptables rules

This fixes the issue that post-upgrade egress rules are not applied
on VR, restarting the network with cleanup used to be the workaround.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2018-05-01 20:06:12 +05:30 committed by Rohit Yadav
parent 6412e50471
commit 77172b9f03
1 changed files with 1 additions and 0 deletions

View File

@ -957,6 +957,7 @@ class IpTablesExecutor:
acls.process()
acls = CsAcl('firewallrules', self.config)
acls.flushAllowAllEgressRules()
acls.process()
fwd = CsForwardingRules("forwardingrules", self.config)