summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-06Add some file common file routinesStephen Hemminger
Perl versions of commonly used backquote escapes.
2010-12-06Fix typo in exportStephen Hemminger
2010-12-06Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg into mendocinoStephen Hemminger
2010-12-06Add is_local_address to Misc.pmStephen Hemminger
Commonly needed routine to check if IP address is local.
2010-12-060.18.55debian/0.18.55Michael Larson
2010-12-06handle case for non-commit client with latest error location changes.Michael Larson
2010-12-030.18.54debian/0.18.54An-Cheng Huang
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-030.18.53debian/0.18.53Stig Thormodsrud
2010-12-03Pipe "compare" output through pager.Stig Thormodsrud
2010-12-020.18.52debian/0.18.52Michael Larson
2010-12-02update to errloc. changed reader so that stderr/stdout is printed as it is ↵Michael Larson
received. Also added new -x option to commit to force messages to be printed via the old format.
2010-12-020.18.51debian/0.18.51An-Cheng Huang
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-020.18.50debian/0.18.50An-Cheng Huang
2010-12-02implement load function in new config input/output infrastructure.An-Cheng Huang
* add "commands diff" functionality to config input/output infrastructure. * consolidate similar logic in "commands diff" and "show diff". * add loadFile functionality to cstore using "commands diff". * export loadFile through shell API.
2010-12-01clean up merge argument processingAn-Cheng Huang
2010-12-010.18.49debian/0.18.49Mohit Mehta
2010-12-01move general code for returning a hash of ipaddrs=>interface from Webproxy.pmMohit Mehta
2010-12-010.18.48debian/0.18.48Stephen Hemminger
2010-12-01Simplify failure message handlingStephen Hemminger
1. If sub-init failed then generate failure (not warning) if exit code is -1. 2. Don't need if test to check for disabled load.
2010-12-01Fix default completion in commit modeStephen Hemminger
This adds completion for # se<TAB>
2010-11-300.18.47debian/0.18.47Stephen Hemminger
2010-11-30Use new bash empty command completionStephen Hemminger
In newer version of bash the complete -E is used to do command completion at top level.
2010-11-30Propgate error code from my_commit in command wrapperStephen Hemminger
2010-11-290.18.46debian/0.18.46Stig Thormodsrud
2010-11-29Fix 6362: "show configuration cmds" actually returns set commands for saved ↵Stig Thormodsrud
config.boot instead of running config
2010-11-290.18.45debian/0.18.45An-Cheng Huang
2010-11-29disable activate/deactivate for mendocino as discussed.An-Cheng Huang
2010-11-29add limit check on stdout capture (8192 characters).Michael Larson
2010-11-290.18.44debian/0.18.44Michael Larson
2010-11-29fix for duplicate messages on some system commands.Michael Larson
2010-11-240.18.43debian/0.18.43Michael Larson
2010-11-24implementation of err location support for commit process. commit failures ↵Michael Larson
will now look different (via cli): vyatta@vyatta# commit [ service nat ] NAT configuration error: rule type not specified/valid [ system domain-search domain ] System configuration error. Both 'domain-name' and 'domain-search' are specified, but only one of these mutually exclusive parameters is allowed. [ load-balancing wan ] WARNING: A valid WAN load-balance configuration requires an interface with a nexthop Commit failed Location of error will now be supplied on each failure, with the option to override the script node location.
2010-11-240.18.42debian/0.18.42Stephen Hemminger
2010-11-24Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg into mendocinoStephen Hemminger
2010-11-24use exit code 1 to ease init script usageAn-Cheng Huang
2010-11-24Don't put sh-bang on bash completion scriptStephen Hemminger
The bash completion scripts are special and should not have #! This fixes debian build warning as well.
2010-11-24Rename raid cleanup log fileStephen Hemminger
Standard practice is to use '.log' suffix not _log
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-24Remove ACPI cpufreq hackStephen Hemminger
Now that cpufrequtils package is integrated, no longer need Vyatta specific hack to load cpu frequency modules
2010-11-24Use LSB log status routines correctlyStephen Hemminger
Need to get correct exit status from failed config (or other steps) and call log_end_msg to display that status. The load config step is run in sub-shell therefore can use exec to avoid one fork.
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-24Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg into mendocinoStephen Hemminger
2010-11-240.18.41debian/0.18.41Stephen Hemminger
2010-11-24Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg into mendocinoStephen Hemminger
2010-11-24Merge branch 'mendocino' of vm:rel/vyatta-cfg into mendocinoStephen Hemminger
2010-11-24Rename bash completion scriptStephen Hemminger
The scripts in /etc/bash_completion.d are not named with number like init files. Also completion script should not be marked executable.
2010-11-24update gitignoreStephen Hemminger