summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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.
2008-12-06fix comments that got copiedStephen Hemminger
2008-12-06Revert "need full path to linkdetect"Stephen Hemminger
This reverts commit d4952bc1550223dddcd1228d7335ce1fc380f739 because it included local changes as well as bug fix
2008-12-05need full path to linkdetectStephen Hemminger
2008-12-03Add new script to wrap changes to link-detectStephen Hemminger
2008-11-21Convert to new Vyatta::Config hierarchyStephen Hemminger
2008-08-12Remove the perl wrapper for vtysh (no longer needed).Stephen Hemminger
2008-08-12Revert "Replace vyatta-vtysh with vtysh"Stephen Hemminger
This reverts commit 588492cf8a9ddf438b649c6db4986bcab9c22435.
2008-08-11Replace vyatta-vtysh with vtyshStephen Hemminger
2008-08-04Add IPv6 support to bgp cli.Stig Thormodsrud
2008-07-30Replace calls to vyatta-vtysh perl script with vyatta-vtyshStephen Hemminger
No longer need the perl wrapper, the logging and error suppression are now in the command itself. This helps with the speed of route creation with lots of routes.
2008-07-27Fix check_prefix_boundry() to handle IPv6 abreviated addresses.Stig Thormodsrud
2008-07-10Fix 2752: "Unknown command" after "source any" was configured in the second ↵Stig Thormodsrud
rule of an access-list
2008-06-05Fix Bug 3269 system gateway-address conflicts with static defaultMohit Mehta
- route is only deleted from route table if both gateway-address and the static route equivalent to setting a gateway-address are not set
2008-05-17Fix 3266: Syntax validation for as-path-prepend does not allow 32 bit ASNsStig Thormodsrud
Fix 3268 : CLI allows an as-path-prepend of > 24 ASNs but routing engine does not appear to support > 24
2008-04-25Remove linkstatus scriptStephen Hemminger
Watchlink is no longer used/needed