]> git.proxmox.com Git - mirror_frr.git/commit
tools: Handle deletes of entire interface context as deleting each line
authorDinesh G Dutt <ddutt@cumulusnetworks.com>
Fri, 6 Jan 2017 22:52:25 +0000 (14:52 -0800)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 30 Jan 2017 18:40:53 +0000 (13:40 -0500)
commit768bf950cf94b48576d4ddd974971c126ab68f31
tree96ebc559309b888359091fdfb564c416dfb1d223
parent0bf7cc2888a984883522f07ddeb897fb1fdb9621
tools: Handle deletes of entire interface context as deleting each line

Ticket: CM-14260
Reviewed By: CCR-14260
Testing Done: quagga reload tests (quagga_service, bgp_enhe etc.)

Quagga reload handles deletes of entire context by issuing a "no.." on the
entire context itself instead of deleting each individual line of the context.
However, this doesn't work when the context is "interface" since its not
allowed to do "no interface <ifname>" inside quagga. So special case this by
deleting each individual line of the context.

Signed-off-by: Dinesh Dutt <ddutt@cumulusnetworks.com>
tools/frr-reload.py