Age | Commit message (Collapse) | Author |
|
This reverts commit 18e2864769226e39479cf3fc3be2dc5ec67acac1.
Revert while investigating failure in vyos-configtest.
|
|
|
|
|
|
Remove ConfigLoad.pm due to its legacy reference to XorpConfigParser,
all dependent scripts:
vyatta-boot-config-loader
vyatta-config-loader.pl
vyatta-load-config.pl
(rewritten or obviated), and references in logrotate, Makefile.am, and
vyos-router (vyatta-boot-config-loader was kept as a fallback when
initially introducing vyos-boot-config-loader.py).
|
|
|
|
When running make -jN, make would fail randomly with higher numbers of N. "cli_parse.h not found". This fixes the error.
|
|
Remove redundant my_commit check
Do not show output on serial-getty (double output issue)
|
|
* Add a systemd vyos.target and split the vyatta-router
init script to multiple systemd scripts.
* remove ref to cloud-init
* Remove vyatta-router init and rename vyatta-router to vyos-initialize.
* Install files to correct dirs
* try to fix systemd boot issues
* Update script names
run config load in background to not block systemd
* Prevent cat: write error: Broken pipe
* Rework vyos startup
* add systemd to Makefile.am
* Update script name
* Fix inclusion of getty conf
* Fix indentation
|
|
Do not use a shared library, since nothing else depends, or should depend on it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from shell scripts.
|
|
|
|
perl only allows a require to be done once. If it is done in two
included modules the module or function in the module used second
doesn't have the data in the required file in its scope. To prevent
this I created a third module that contains the functions that require
'sys/ioctl.ph' so that there is no longer a conflict.
|
|
successful (complete) commits for all commit methods.
|
|
to manage chunks. Command interpreter is now in vyatta-cfg-run and common functions have been moved to vyatta-op
|
|
Also rotate the config related log files under /var/log/vyatta so that
they don't fill up the root filesystem.
|
|
* do NOT reinvent the wheel (directory traversal, sorting, script execution, etc.) when the functionality is already provided by the system.
* eliminate hard-coded hook directory in various feastures. everyone should obtain the directory path from the config backend.
|
|
(cherry picked from commit 1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538)
|
|
|
|
|
|
|
|
* extend output/assert mechanism and simplify code.
* when handling internal error, automatically detect perl context and croak if the library is used from perl.
|
|
Perl versions of commonly used backquote escapes.
|
|
* 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%.
|
|
|
|
The scripts in /etc/bash_completion.d are not named with number
like init files. Also completion script should not be marked executable.
|
|
Part of earlier effort to use less sudo. Not currently used.
|
|
* add parser to package build.
* add prefix, error handling, etc.
* fix handling of empty and 1-char values in lex.
* add API function.
|
|
* change showCfg to use new code.
* remove old files.
|
|
* separate data from algorithm.
* prepare for unified input/output framework.
|
|
|
|
|
|
* replace the original ConfigOutput perl module.
* simplify logic and fix bugs in original code.
|
|
* unify node sorting implementation into the backend library.
* allow future implementation of per-node, customized sorting policy.
|
|
|
|
|
|
|
|
|
|
|
|
The entitlement bug can be fixed https://bugzilla.vyatta.com/show_bug.cgi?id=5354 by adding a hook into this directory.
|
|
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)
|
|
Less chance of name collision, and useful for /proc as well.
|