Age | Commit message (Collapse) | Author |
|
The CLI begin transaction restrictions make this impossible to
do in a stable manner.
Related to bug 4537
(cherry picked from commit dcebd6d713e76b3e01ba51710693d688e1570cdb)
|
|
Avoid having to run script multiple times.
(cherry picked from commit 61a47e2f6c508330e779ac10e9b9d7cd0303bd5d)
|
|
Move the default import-check enabled from template to command line
option in bgpd. This resolves some of the startup issues.
(cherry picked from commit a1d23a42ef83968222b0744505986db3e02b0ae8)
|
|
(cherry picked from commit 466426dba5880bf469b22172769c552cf6aaaab0)
|
|
I added --name option, but doesn't do what I expected.
|
|
Bug 4391
Quagga allows IP address or interface as update source, so generalize
existing template.
|
|
Templates will ask to start already running daemon, this is okay.
|
|
The watchquagga startup here is no longer used
|
|
There were several problems with the quagga-manager update.
1) can not have multiple end: tags in same tree path
2) can not shutdown bgp without losing policy
3) watchquagga timing races
|
|
No need for check if start checks if already running
|
|
|
|
Need daemon to hold around parameters for start.
|
|
Need daemon to hold around parameters for start.
|
|
Need to do special case IPV6 daemon restart
|
|
|
|
Since peer-group can be undef, make it be last for safety
with arg list.
|
|
Check for remote-as/peer-group was backwards.
|
|
Logic error in earlier change
|
|
Problem introduced when converted to use closures (by me).
Closures don't work if arg check attempts to exit because of
how the exception model works in GetOptions.
Bug 4258
|
|
sysctl command has legacy dotted notation which won't work with names
for vlans (eth1.110). So just write /proc.
|
|
Change to closure would not allow exit to work correctly.
Go back to old way using variables.
Use grep -c to count instances
Also rerun through tidy.
|
|
Need to be super user here. Also ipv6 link filter is not in
kernel yet.
|
|
This only happens if link metrics set but OSPF/RIP not running yet.
|
|
Bug 4061
Enable new kernel link_filter for IPV4 and IPV6
|
|
Make it look nice and tidy
|
|
Although it looks cleaner, the error handling for closures
is different. Exit in closure from GetOptions, only fails the option
not the program.
|
|
Bug 4221
The function net->network() returns a new network object, rather than
the string. Need to use cidr() to get the string representation.
|
|
Don't need extra backslash here.
|
|
The new phased restart requires changes to how restart/reconfig is done.
Zebra should just be start/stop, and other daemons do stop/restart.
|
|
Make it clearer which is which.
|
|
Need to look at exists (after commit) rather than original list
of daemons.
Bug 4192
|
|
Useful hooks for changed, modified, exists, etc...
|
|
This is the one place where mapping from protocols in config
to daemon name needs to occur.
|
|
|
|
Use scripts to do start/stop (instead of disable template).
Integrate reload into new quagga-manager script
|
|
Conflicts:
scripts/vyatta-protocol
|
|
Need to handle ospf and rip property on reload.
Since script is no longer general, make it just for quagga.
|
|
Much cleaner to do sudo once rather than repeatedly
|
|
|
|
Need to restart daemon as well in this script
|
|
1. Shutdown bgp on last neighbor removed
2. use daemon name consistently
3. change options to watchquagga
|
|
If setting up transaction fails, then fail the reload
Use correct tmp file, and remove if successful.
|
|
Also remove debug messages
|
|
Bug 3828
Start protocols from configuration system, and use watchquagga
to restart protocol daemons after failure
|
|
The operator precendence in perl is not same as C.
|
|
|
|
Mode of scripts should be 755
|
|
This is pre-release version of script to reload config.
|
|
Turn on strict and fix perlcritic warnings.
|
|
Turn on strict, then fix a bunch of incorrect messages.
Fix perlcritic warnings and reformat.
|