]> git.proxmox.com Git - mirror_frr.git/commit - tools/frr-reload.py
tools: Don't overwrite Quagga.conf on reload, unless user specified.
authorDinesh G Dutt <ddutt@cumulusnetworks.com>
Fri, 6 Jan 2017 02:49:13 +0000 (18:49 -0800)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 30 Jan 2017 18:40:40 +0000 (13:40 -0500)
commit4b78098d79d97abef352345221c3979efab1c373
tree7dca2f3dbfa2da1dcbe24cab06d2a4f24dd2679e
parent3fa113f00cf15f8248db399b6da7210e8db3ceb4
tools: Don't overwrite Quagga.conf on reload, unless user specified.

Ticket: CM-14059
Reviewed By: CCR-5524
Testing Done: the usual

At some point in the 3.x release cycle, it was decided to overwrite the
user's Quagga.conf configuration file with the output of running config
when the user did a quagga reload. This is problematic for several reasons
such as: losing user-specified comments, upsetting network automation
scripts which think some thing has changed all the time from the specified
config etc.

This patch fixes this issue by not overwriting the Quagga.conf file unless
the user specifies it via an additional option, or the file being used as
input to quagga reload isn't the default configuration file (incl. path).

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