summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2014-07-02Bug #251: add dirty hack for taking config from stdinDaniil Baturin
to config-gen-sets script.
2014-04-22Bug #180 save config using scp fails.Hiroyuki Sato
2012-07-13Fix syslog level for commit messagesStephen Hemminger
Bug 8208 The log level should be notice not alert. Also, the script doesn't depend on anything in Vyatta config or other Vyatta perl libaries.
2012-07-13Optimize commit loggingStephen Hemminger
Bug 8190 Use perl functions rather than going out to shell
2012-04-04Fix perlcritic warnings in strip migration commentsStephen Hemminger
2012-03-01Fix curl command in saveJohn Southworth
2012-03-01Bugfix 7555: Allow users to import ssh keys when running 'save'John Southworth
2012-03-01Merge branch 'oxnard' of git.vyatta.com:/git/vyatta-cfg into oxnardJohn Southworth
2012-03-01Bugfix 7555: Allow users to import keys when using the 'load' command from ↵John Southworth
config mode
2012-02-28bug fix for 4718 - enhancement that will log commits in syslog for allDeepti Kulkarni
successful (complete) commits for all commit methods.
2011-07-26Bugfix 7374: remove redundant calls to commit on bootJohn Southworth
2011-07-15Bugfix 7331: better fix for the bugJohn Southworth
(cherry picked from commit fdac525b7596f1b18c201bdcd5923d3e76453ebd)
2011-07-15Don't allow users to set migration commentsJohn Southworth
(cherry picked from commit 9f1ff5427e0f72f2bded287be6e1d4cf442945cb)
2011-07-15Bugfix 7331: Napa timeframe fix for config migration commment bug. Will ↵John Southworth
investigate if this is a viable long term fix or if we want to find another way to ignore migrated comments for oxnard (cherry picked from commit 5aeb46dbdb903a1921bd38e5bfc1acd53cd08c6a)
2011-06-15Bugfix 6767: Move log files from /tmp to /var/log/vyatta.Bob Gilligan
2011-05-04Fix Bug 7010 Update commands to save/retrieve files from /configMohit Mehta
* use shorter /config path when presenting configuration directory to users
2011-04-13fix for bug 6996An-Cheng Huang
* add "ignore-edit" option for config output. * ignore "edit level" when saving config file.
2011-03-08Remove accidental usage of perl prototype in usageStephen Hemminger
Perl prototypes are a misfeature and should not be used.
2010-12-03change boot-time config loading to use new implementation in backend.An-Cheng Huang
* add new boot-time config loading script that uses shell API to access backend directly, bypassing wrapper. * use new loadFile implementation in the backend to perform the actual "load" operation (without "commit"). this reduces the "pre-commit" load time by ~60%.
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