summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2010-12-02change "load" to use new backend loadFile implementation.An-Cheng Huang
* export loadFile through perl API. * "load" operation is now handled by the backend library.
2010-12-02remove comment/activate/deactivate from load-config.pl.An-Cheng Huang
* remove broken comment handling from script. "comment" for load is now handled in the library. * remove activate/deactivate handling from script. need to reimplement pending re-design.
2010-12-01clean up merge argument processingAn-Cheng Huang
2010-11-30Propgate error code from my_commit in command wrapperStephen Hemminger
2010-11-29Fix 6362: "show configuration cmds" actually returns set commands for saved ↵Stig Thormodsrud
config.boot instead of running config
2010-11-24Change config-loader error message handling and loggingStephen Hemminger
Put more information in the log, including timestamp. Put elapsed time in syslog Redirect both stdout and stderr to the log file.
2010-11-24Use exec to get proper exit statusStephen Hemminger
No need to save exit code and then call exit. Use 'exec' to get tail recursion style optimization of shell functions. Also, rename the log file for commit for /tmp/bar to something we might actually want to tell customers about.
2010-11-23Add COMMIT_VIA environment variable.Stig Thormodsrud
2010-11-19Simplify check for if there are changes to commit after load/merge.Stig Thormodsrud
2010-11-19Fix 6434: load asks to use 'commit' to make changes active even when nothing ↵Stig Thormodsrud
has changed
2010-11-19Display serious errors to console and syslogStephen Hemminger
Put regular stuff to /tmp/vyatta-config.log on standard output Keep console open as standard error for messages like "commit failed" Put errors in syslog as well
2010-11-19Fix typo's in logging printfStephen Hemminger
Had wrong version, want to get config command in log, not whole string.
2010-11-19Cleanup config loaderStephen Hemminger
1. Get rid of all perl warnings (and perl critic warnings) 2. use Syslog package rather than running logger 3. put config log in /tmt/vyatta-config-load.log rather than /tmp/bar 4. Don't do another transaction for deactivated nodes unless necessary 5. Use exec as a tail optimization for end step.
2010-11-16remove error flag now that error locations will be exposed by default.Michael Larson
2010-11-09modify formatting options for GUI client on -x option. Set option on GUI ↵Michael Larson
invoked commit.
2010-11-04Fix 6404: change load/merge commands to NOT automatically commit.Stig Thormodsrud
2010-10-27Move irq affinity scripts out of this packageStephen Hemminger
2010-10-08Bugfix 5830: Teach auto affinity script to use new queue naming scheme.Bob Gilligan
The latest version of the ixgbe driver uses a scheme whereby each pair of TX and RX queues is assigned to the same IRQ. Previously, the TX and RX queues could be assigned to IRQs independently. In /proc/interrupts, each pair of queues is named ethX-TxRx-Y, where X is the ethernet interface unit number, and Y is the TX and RX queue number.
2010-10-01add commit wrapper hook that allows errors with location to be written to ↵root
stdout.
2010-08-26switch "save" to use new config output implementation.An-Cheng Huang
2010-08-26switch vyatta-cfg-cmd-wrapper to new config output implementation.An-Cheng Huang
2010-08-10add functions to shell APIAn-Cheng Huang
2010-07-28add new cstore libraryAn-Cheng Huang
2010-07-16Merge branch 'larkspur' of suva.vyatta.com:/git/vyatta-cfg into larkspurStephen Hemminger
2010-07-16Set executable bit on perl scriptsStephen Hemminger
Useful to run them locally
2010-07-16fix for bug 5794. Comments are not allowed on multinode parent.Michael Larson
2010-07-08fix for bug 5803An-Cheng Huang
* fix positional params handling in shell function. * fix argument handling in perl script.
2010-06-30fix for bug 5762.Michael Larson
2010-06-29add option to save w/o default values.Michael Larson
2010-06-25fix for bug 5717.Michael Larson
2010-06-25correct error message when attempting to deactivate a leaf or multi node.Michael Larson
2010-06-232nd part fix for bug 5729.Michael Larson
2010-06-21Script to automatically update help string for each node.def according=
to the inputs
2010-06-21Script to generate Vyatta command help strings from template files=
2010-06-21fix for bug 5716Michael Larson
2010-06-21fix for bug 5708.Michael Larson
disallow leafs and multis from being deactivated in this release.
2010-06-11add support for bnx2x cards to auto smp affinity scriptsRobert Bays
2010-06-11extension to cmd wrapper.Michael Larson
2010-06-09better location for previous fix to bug 5676Michael Larson
2010-06-07fix for bug 5610 and bug 5655.Michael Larson
2010-06-04remove 'done' from end of activate script.Michael Larson
2010-06-04prevent deactivate from being applied to a created node within a single commit.Michael Larson
this simplfies logic on back end that would need to handle the negation (deactivate) and the addition (create) of a node.
2010-06-03 implemented modified notation for pre-commit activate/deactivate. added ↵Michael Larson
check on modified nodes prior to load. modified active directory check.
2010-05-28Remove single quotes except on leaf-node.Stig Thormodsrud
2010-05-27additional fix for boot loading of deactivate nodes.Michael Larson
2010-05-27fix for loading config for deactivated nodes. allows nested deactivates ↵Michael Larson
within a single set of deactivated commands. only preserves the parent deactivated node in this case.
2010-05-26script that will remove migration comments from configuration file. to ↵Michael Larson
remove these comments from the comments in the action configuration the user should: 1) save their current configuration 2) run this script on the saved configuration 3) reload their configuration (which will strip the migration comments from the active configuration tree)
2010-05-25final fix for 5610. fixes loading where node in active config is deactivated ↵Michael Larson
and is active in loaded configuration.
2010-05-21fix for disable nodes loading (bug 5610). Additional checks added on ↵Michael Larson
configuration of disable nodes. requires vyatta-config-migrate package as well. Additional fix required for loading configuration with deactivated nodes that are activated through the loading process.
2010-05-17trap for illegal characters in comment field being set by user and provide ↵Michael Larson
feedback.