]> git.proxmox.com Git - mirror_frr.git/commit
tools: improve frr-reload delete performance for some commands
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 23 Dec 2019 16:18:50 +0000 (08:18 -0800)
committerDon Slice <dslice@cumulusnetworks.com>
Thu, 16 Jan 2020 11:57:56 +0000 (11:57 +0000)
commit6024e562c9ba7853f4b4be6626fc4dc71e27df4f
treed25c0efb3ee34e4c9eeb34ea5f79324fa35b8400
parentd25827acfbeb326d658b88857c8db3a650331605
tools: improve frr-reload delete performance for some commands

Problem seen when deleting many static routes or access-lists due
to frr-reload.py issuing individual vtysh -c commands for every
line. On slow switches, this can take long enough for systemd to
time out the reload process and restart frr.  This fix uses add
logic for static routes, prefix-lists, and access-lists to gang
the changes together.

Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Ticket: CM-27856
tools/frr-reload.py