summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2010-11-24Remove unused net_setStephen Hemminger
Part of earlier effort to use less sudo. Not currently used.
2010-11-240.18.40debian/0.18.40Bob Gilligan
2010-11-24Bind mount /opt/vyatta/etc/config to /config.Bob Gilligan
2010-11-230.18.39debian/0.18.39Stig Thormodsrud
2010-11-23Add COMMIT_VIA environment variable.Stig Thormodsrud
2010-11-220.18.38debian/0.18.38An-Cheng Huang
2010-11-22fix for bug 6459An-Cheng Huang
* don't throw away "unsaved" state when doing "discard".
2010-11-220.18.37debian/0.18.37Stig Thormodsrud
2010-11-22Add warning if using "commit confirm" instead of "commit-confirm".Stig Thormodsrud
2010-11-22export backend sessionChanged() through perl APIAn-Cheng Huang
2010-11-190.18.36debian/0.18.36Stig Thormodsrud
2010-11-19Simplify check for if there are changes to commit after load/merge.Stig Thormodsrud
2010-11-190.18.35debian/0.18.35Stig Thormodsrud
2010-11-19Fix 6434: load asks to use 'commit' to make changes active even when nothing ↵Stig Thormodsrud
has changed