summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2009-06-03Use bgpd default import-check flagStephen Hemminger
Move the default import-check enabled from template to command line option in bgpd. This resolves some of the startup issues.
2009-06-03Allow status operations as non-root userStephen Hemminger
2009-05-26Don't use --name optionStephen Hemminger
I added --name option, but doesn't do what I expected.
2009-05-21Allow interface as BGP sourceStephen Hemminger
Bug 4391 Quagga allows IP address or interface as update source, so generalize existing template.
2009-05-08Handle multiple requests to start same daemonStephen Hemminger
Templates will ask to start already running daemon, this is okay.
2009-05-08Remove watchquagga stuffStephen Hemminger
The watchquagga startup here is no longer used
2009-05-07Get rid of update actionStephen Hemminger
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
2009-05-07Redefine quagga-manager check as startStephen Hemminger
No need for check if start checks if already running
2009-04-02Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg-quagga into jennerStephen Hemminger
2009-04-02Don't stop daemon if OSPF/RIP still has parametersStephen Hemminger
Need daemon to hold around parameters for start.
2009-04-02Don't stop daemon if OSPF/RIP still has parametersStephen Hemminger
Need daemon to hold around parameters for start.
2009-04-01Handle ipv6 daemonsStephen Hemminger
Need to do special case IPV6 daemon restart
2009-03-31Fix check-as to not check on a peer-group.Stig Thormodsrud
2009-03-31Swap order of parametersStephen Hemminger
Since peer-group can be undef, make it be last for safety with arg list.
2009-03-31Yet another logic error in vyatta-bgpStephen Hemminger
Check for remote-as/peer-group was backwards.
2009-03-30Fix error checking of remote-asStephen Hemminger
Logic error in earlier change
2009-03-30Fix bgp check scriptStephen Hemminger
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
2009-03-29Fix sysctl setting link_filter on vifStephen Hemminger
sysctl command has legacy dotted notation which won't work with names for vlans (eth1.110). So just write /proc.
2009-03-27Fix some possible issues with policy scriptStephen Hemminger
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.
2009-03-25Fix link_filter settingStephen Hemminger
Need to be super user here. Also ipv6 link filter is not in kernel yet.
2009-03-23Start OSPF/RIP as needed during configStephen Hemminger
This only happens if link metrics set but OSPF/RIP not running yet.
2009-03-23Enable link filteringStephen Hemminger
Bug 4061 Enable new kernel link_filter for IPV4 and IPV6
2009-03-16Reindent perl codeStephen Hemminger
Make it look nice and tidy
2009-03-16Don't use closure in GetOptionsStephen Hemminger
Although it looks cleaner, the error handling for closures is different. Exit in closure from GetOptions, only fails the option not the program.
2009-03-16Fix confusion between net object and stringStephen Hemminger
Bug 4221 The function net->network() returns a new network object, rather than the string. Need to use cidr() to get the string representation.
2009-03-11Remove extra backslashStephen Hemminger
Don't need extra backslash here.
2009-03-10Reload config on restartStephen Hemminger
The new phased restart requires changes to how restart/reconfig is done. Zebra should just be start/stop, and other daemons do stop/restart.
2009-03-09Change argument, configured to originalStephen Hemminger
Make it clearer which is which.
2009-03-09Manage daemon restart correctlyStephen Hemminger
Need to look at exists (after commit) rather than original list of daemons. Bug 4192
2009-02-26Add more options to show-protocolsStephen Hemminger
Useful hooks for changed, modified, exists, etc...
2009-02-25Handle mapping from ospfv3 to ospf6dStephen Hemminger
This is the one place where mapping from protocols in config to daemon name needs to occur.
2009-02-19Allow start if daemon already runningStephen Hemminger
2009-02-18Rework of protocol startupStephen Hemminger
Use scripts to do start/stop (instead of disable template). Integrate reload into new quagga-manager script
2009-02-13Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg-quagga into jennerStephen Hemminger
Conflicts: scripts/vyatta-protocol
2009-02-11Handle reload of interface propertiesStephen Hemminger
Need to handle ospf and rip property on reload. Since script is no longer general, make it just for quagga.
2009-02-05Move sudo from vyatta-protocol to nodesStephen Hemminger
Much cleaner to do sudo once rather than repeatedly
2009-02-05Move reload to vyatta-cfg-reloadStephen Hemminger
2009-02-05Change reload to restartStephen Hemminger
Need to restart daemon as well in this script
2009-02-05Manage daemons betterStephen Hemminger
1. Shutdown bgp on last neighbor removed 2. use daemon name consistently 3. change options to watchquagga
2009-02-05Fix reloadStephen Hemminger
If setting up transaction fails, then fail the reload Use correct tmp file, and remove if successful.
2009-02-04remove pid files on protocol stopStephen Hemminger
Also remove debug messages
2009-02-04Protocol daemon managementStephen Hemminger
Bug 3828 Start protocols from configuration system, and use watchquagga to restart protocol daemons after failure
2009-01-29Fix exists/not exists functionStephen Hemminger
The operator precendence in perl is not same as C.
2009-01-28More work on protocol restartStephen Hemminger
2009-01-28Change mode of script filesStephen Hemminger
Mode of scripts should be 755
2009-01-28add new script for protocol restartStephen Hemminger
This is pre-release version of script to reload config.
2009-01-28utils: turn on strictStephen Hemminger
Turn on strict and fix perlcritic warnings.
2009-01-28policy: turn on strictStephen Hemminger
Turn on strict, then fix a bunch of incorrect messages. Fix perlcritic warnings and reformat.
2009-01-28check-as-prepend: turn on strictStephen Hemminger
And reindent.
2009-01-28bgp: cleanupStephen Hemminger
Turn on strict, and declare variables. Simplify code where possible.