Route updates for default route in ip_fabric vrf should not be done
In k8s, network policy is enabled between pod-network and ip-fabric
network. When logical router is enabled for pod-network for snat,
default route would be injected in pod-network. Due to the policy,
it is updated to ip-fabric vrf which inturn causes host unreachablity.
Some routes in ip-fabric vrf specific to nodes which have to be
protected from being updated by bgp peers. Added code to ignore
updates for default route, vhost route, vhost subnet route in
ip-fabric vrf.
Reviewed: https:/ /review. opencontrail. org/43329 github. com/Juniper/ contrail- controller/ commit/ 86ddbbe2fa62d7a 028f1014b69a185 879d90ce19
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.1
commit 86ddbbe2fa62d7a 028f1014b69a185 879d90ce19
Author: Yuvaraja Mariappan <email address hidden>
Date: Mon May 28 02:29:29 2018 -0700
Route updates for default route in ip_fabric vrf should not be done
In k8s, network policy is enabled between pod-network and ip-fabric
network. When logical router is enabled for pod-network for snat,
default route would be injected in pod-network. Due to the policy,
it is updated to ip-fabric vrf which inturn causes host unreachablity.
Some routes in ip-fabric vrf specific to nodes which have to be
protected from being updated by bgp peers. Added code to ignore
updates for default route, vhost route, vhost subnet route in
ip-fabric vrf.
Change-Id: I22bba1be610689 6b07c7d07d95d81 0eebb079ea1
Closes-bug: #1735590