summaryrefslogtreecommitdiff
path: root/src/commit2.c
AgeCommit message (Collapse)Author
2009-03-11Fix compiler warnings in commit2Stephen Hemminger
Add headers with prototypes to remove compiler warnings Make some obvious tables const to avoid any bugs.
2009-03-09added 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-09fix 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-04limit 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-04modified environment variable setting for action on nodes.slioch
2009-03-03fixed -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-02-27fixed 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-27Added 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-26new option added to commit to disable partial commit behavior. This allows theslioch
user to support the 'old' cli behavior if desired via the -o flag.
2009-02-24replace 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-17added 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-17added 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-17added 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.
2008-12-23alter return check for dirctory copy on successful completion of node ↵slioch
processing.
2008-12-15initial checkin of new commit code--building but does not replace original ↵slioch
commit. New commit may be accessed through my_commit2 binary.