diff options
| author | rgirada <rgirada@vmware.com> | 2019-02-04 05:27:56 -0800 |
|---|---|---|
| committer | rgirada <rgirada@vmware.com> | 2019-02-04 05:27:56 -0800 |
| commit | b4897fa52474fd49ae3d4ad0bb2ecf908d2630c0 (patch) | |
| tree | 383f65de1e877fef583fb66015c6738d559e0e43 /zebra/zebra_netns_notify.c | |
| parent | 93d836e6fe498918c0a65217b6e868c47e419c09 (diff) | |
bgpd: Added changes to track route-map usage
Made changes and updated the routemap applied counter in the following flows.
1.Increment when route map attached to a list.
2.Decrement when route map removed / modified from a list.
3.Increment/decrement when route map create/delete callback triggered.
4.Besides ,This counter need not be updated when a route map is got updated.
i.e changing/adding a match value to the existing routemap.
In BGP , same update api called for all three add/delete/update operation .
But this counter have to be updated only for routemap addition.
Addressed this specific change by identifying the routemap operation based
on routemap pointer.
Signed-off-by: RajeshGirada <rgirada@vmware.com>
Diffstat (limited to 'zebra/zebra_netns_notify.c')
0 files changed, 0 insertions, 0 deletions
