Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-23 | added command to view set of actions and nodes applied to system in order. ↵ | slioch | |
The new command flag is "-a" | |||
2009-03-11 | Fix compiler warnings in unionfs | Stephen Hemminger | |
Remove unused variables Remove extra arg from sprintf Fix missing prototype for piecewise_copy. | |||
2009-03-11 | Fix compiler warnings in commit2 | Stephen Hemminger | |
Add headers with prototypes to remove compiler warnings Make some obvious tables const to avoid any bugs. | |||
2009-03-11 | Fix warnings from redefining TRUE | Stephen Hemminger | |
TRUE and FALSE are already defined in glib causing warnings. | |||
2009-03-10 | buggy file exist test--thanx stig for test case to repro. fixes vpn_smoke ↵ | slioch | |
regression failure. | |||
2009-03-09 | added action and location of error to syslog on commit. error message string ↵ | slioch | |
will need to be added later after some reworking of the old node execution code. | |||
2009-03-09 | fix for qos-walkthrough. manage def file during commit--should handle ↵ | slioch | |
general case, just happened to show up on qos-walkthrough (after def files were supported in the new commit). | |||
2009-03-04 | limit unescape command to embedded multinodes--fixes problem in ↵ | slioch | |
qos-walkthrough regression test. haven't tried it but system probably inherently prevents percents from being used in embedded multinodes. | |||
2009-03-04 | modified environment variable setting for action on nodes. | slioch | |
2009-03-03 | fixed -o option on commit. modified empty multinode behavior so action is ↵ | slioch | |
NOT executed if a multinode does not possess a value. Other source cleanup. | |||
2009-03-02 | added fix for nested priority and deletion failure. also priorities should ↵ | slioch | |
not reside on node.tags, but on parent (node name of multinode)--this is to prevent priorities splitting behaviors between different priorities on multinodes. | |||
2009-03-02 | fixed preservation of def file when committing configuration. default leafs | slioch | |
configured by system will now be suppressed via show command (same behavior as with old commit). | |||
2009-02-27 | fixed node walk for delete of nodes--error introduced when adding ordering ↵ | slioch | |
indirection for actions in commit head. Bug found when review policy_bgp regression failure. | |||
2009-02-27 | Added environment variable that can be accessed in executing node.def script ↵ | slioch | |
to check whether commit is in a delete or set action. The environmental variable is "COMMIT_ACTION" the value can either be "SET" or "DELETE". The variable is set for the duration of the call being made to the action in the node.def file. This should allow some simplication of scripts (i.e. such as setting up static routes). | |||
2009-02-26 | new option added to commit to disable partial commit behavior. This allows the | slioch | |
user to support the 'old' cli behavior if desired via the -o flag. | |||
2009-02-26 | handle seg violation if an empty line is found in the priority file. | slioch | |
2009-02-25 | cosmetic changes, and better to not leave interfaces root node under default ↵ | slioch | |
priority. | |||
2009-02-25 | harvesting dead code. | slioch | |
2009-02-25 | nested priority case under interfaces need mkdir with -p option to set | slioch | |
up parent directories before parent priority is visited. | |||
2009-02-24 | replace unionfs synchronization code with piecewise copy. this should fix ↵ | slioch | |
most of the problems related to nested priorities (but not all). also moved node profiling output from debug file to stdout (when enabled by the -c flag). | |||
2009-02-17 | added additional debug output and fixed dumping of trans nodes to screen. ↵ | slioch | |
added default priorities in priorities file. also fixed bug where interface changes could sweep in portions of failed configuration on error. now fixed. | |||
2009-02-17 | added dump transaction support to write to stdout rather than redirected ↵ | slioch | |
/tmp/cfg-stdout.log file. Enable with -s flag on commit to view local session data and associated actions. | |||
2009-02-17 | added generic commit failed message on any portion of the configuration ↵ | slioch | |
failing. To get additional details (i.e. location of failure and actions associated with nodes) run with the -e flag. | |||
2009-01-26 | expose new cli functions in cfg library. | slioch | |
2008-12-23 | alter return check for dirctory copy on successful completion of node ↵ | slioch | |
processing. | |||
2008-12-15 | removed tmp file that shouldn't have been committed. | slioch | |
2008-12-15 | initial checkin of new commit code--building but does not replace original ↵ | slioch | |
commit. New commit may be accessed through my_commit2 binary. | |||
2008-11-13 | Simplify the debug code | Stephen Hemminger | |
dump_log doesn't need allocate whole buffer, just print in steps. | |||
2008-10-28 | Fix 3505: cli crash on delete of ipv6net static route. | Stig Thormodsrud | |
2008-10-07 | fix for regression bug 3758. added additional check requiring opening and ↵ | slioch | |
closing quotes before stripping takes place. | |||
2008-10-06 | fix for bug 3666. strip off leading and trailing quote from default text ↵ | slioch | |
values that are deleted. default values are treated differently from hollywood. The main difference a script writer needs to be aware of is that a deleted node will set the value of the node back to the default value rather than deleting the node. This means that a node that has a default value will always be in existence (if the parent exists) and that a user cannot delete this node. | |||
2008-09-04 | Handle special files in aufs | Stephen Hemminger | |
aufs uses .wh.wh.XXX files for internal state. So ignore them in the commit function. | |||
2008-09-04 | Fix build warnings | Stephen Hemminger | |
Get rid of warnings for push_path discards qualifiers from pointer target type. | |||
2008-08-27 | strip off whitespace in default value parsed from node.def file--fixes ↵ | slioch | |
problem of deleting time-zone value without value. | |||
2008-07-29 | Optimize delete | Stephen Hemminger | |
Use inline code rather than system() function, and optimize allocation to use stack where possible. | |||
2008-07-29 | Optimize commit | Stephen Hemminger | |
Use inline (rather than system), and avoid unneeded allocations. | |||
2008-07-29 | Turn my_wrappers into macros | Stephen Hemminger | |
The my_malloc() etc wrappers can be shrunk by using macros. | |||
2008-07-29 | Avoid overhead of system | Stephen Hemminger | |
Use mkdir and file operations rather than overhead of escaping to system() shell. | |||
2008-07-29 | Avoid needless calls to system() | Stephen Hemminger | |
Add a version of touch and mkdir -p commands coded directly without going out to shell. | |||
2008-07-29 | Add missing include | Stephen Hemminger | |
Pickup definition of bye() to avoid warning. | |||
2008-07-29 | Add annotation to cli functions | Stephen Hemminger | |
Use gcc annotations for noreturn and printf like formats | |||
2008-07-29 | type_to_name returns immutable string | Stephen Hemminger | |
Don't want accidental errors | |||
2008-07-29 | Fix 3505: cli crashes on ipv6net type. | Stig Thormodsrud | |
2008-07-07 | fix for bug 3216. added no escape option to push path for environmental path ↵ | Michael Larson | |
variable. note this is appied to all c code access to the edit env variable. | |||
2008-07-01 | Merge branch 'hollywood' of http://git.vyatta.com/vyatta-cfg into hollywood | Michael Larson | |
2008-07-01 | fix for bug 3377. | Michael Larson | |
2008-06-30 | fix for bug 3403: allocate correct amount of memory for multi-valued nodes. | An-Cheng Huang | |
2008-04-22 | create def file to mark configuration nodes that are created by default, ↵ | Michael Larson | |
rather than a node with a default value created by a user. partial fix for bug 1219. Allows system to differentiate between active def nodes versus user created nodes with def values. | |||
2008-04-16 | modified fix for 2525--fixes problem introduced with last fix (bug 3163) | Michael Larson | |
2008-04-15 | revert fix for 2525 until delete on commit warnings are resolved. | Michael Larson | |