summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-07-13Optimize commit loggingStephen Hemminger
Bug 8190 Use perl functions rather than going out to shell
2012-07-13Restore original lock file semanticsStephen Hemminger
Don't fail if lock file already exists
2012-07-110.100.3debian/0.100.3Stephen Hemminger
2012-07-11Minor code cleanupStephen Hemminger
1. Make local functions static 2. Use C standard for function with no-args versus old K&R style 3. Make some arguments const
2012-07-11Don't leak file descriptors to actionStephen Hemminger
Bug 8204 Make sure we don't handle unnecessary file descriptors to child processes. This is done by marking file descriptors as close on exec, and closing pipe before exec.
2012-07-11Log node of commit failureStephen Hemminger
Bug 8192 Put message in log about failed node
2012-06-260.100.2debian/0.100.2Stephen Hemminger
2012-06-26Make dataplane matching less restrictiveStephen Hemminger
Anything starting with dp[0-9] is a dataplane interface
2012-06-220.100.1debian/0.100.1Stephen Hemminger
2012-06-22Add new function to find hash of configured addressesStephen Hemminger
Useful to optimize lookup and resolve issue in Bz 8171
2012-06-22More indentation cleanupStephen Hemminger
Use indent of 4
2012-06-22Make indentation consistentStephen Hemminger
Use indent of 4 and break long lines.
2012-06-210.99.88debian/0.99.88Stephen Hemminger
2012-06-21Simplify name matching regexStephen Hemminger
Turns out that [\d]+ is same as \d+ since \d is the class of all digits and [] is the set operator
2012-06-21Allow dataplane interface name dp0em0Stephen Hemminger
2012-06-21Remove trailing whitespaceStephen Hemminger
Extra whitespace causes git to complain when integrating patches.
2012-06-18ioctl interface improvementsStephen Hemminger
Do some minor enhancements for usability. * export get_terminal_size and get_interface_flags * handle case where /dev/tty is inaccessible * turn on warnings in this code
2012-06-080.99.87debian/0.99.87John Southworth
2012-06-05Fix memory problem on bad config fileJohn Southworth
2012-06-030.99.86debian/0.99.86John Southworth
2012-06-03Fix more load/commit memory leaksJohn Southworth
This fixes some more of the memory leaks in load and commit. Some still exist in the legacy cli_new/cli_parse code. Since that code is supposed to be rewritten such that it interfaces with the rewritten commit code in a clean way, these will not be fixed right now.
2012-05-250.99.85debian/0.99.85John Southworth
2012-05-25Partial bugfix 8111John Southworth
This fixes the biggest memory leak in the config load. There are still a few small ones but they are not as big of a problem since the process is ephemeral.
2012-05-160.99.84debian/0.99.84Saurabh Mohan
2012-05-16Merge branch 'pacifica' of http://git.vyatta.com/vyatta-cfg into pacificaSaurabh Mohan
2012-05-16Support for VTI.Saurabh Mohan
2012-05-150.99.83debian/0.99.83John Southworth
2012-05-15Remove vrrp files from MakefileJohn Southworth
2012-05-15Move VRRP to its own packageJohn Southworth
2012-05-100.99.82debian/0.99.82John Southworth
2012-05-10Fix variable use in last commitJohn Southworth
2012-05-10Bugfix 8079: fix require sys/ioctl.ph confilctsJohn Southworth
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.
2012-05-090.99.81debian/0.99.81John Southworth
2012-05-09Add functions to get calling terminal size to Vyatta::MiscJohn Southworth
2012-05-070.99.80debian/0.99.80John Southworth
2012-05-07Enable snmp support for vrrpJohn Southworth
2012-04-300.99.79debian/0.99.79John Southworth
2012-04-30Match from beginning of the line for multilink deviceJohn Southworth
2012-04-300.99.78debian/0.99.78John Southworth
2012-04-30Bugfix 8017:John Southworth
Make parsing of multilink config options work properly. Multilink interfaces have one allowed vif. They do not show up with the same way as all the other vifs on the system, i.e. <if>.<vif>. In order for scripts using a generic config path parsing mechanism to work with multilink interfaces we must return the path with 'vif 1' appended after 'mlX' e.g. 'interfaces multilink mlX vif 1' is the proper path for options under the 'interface multilink mlX' tree.
2012-04-260.99.77debian/0.99.77John Southworth
2012-04-26Bugfix: 8057 fix call to commit in commit-confirm functionJohn Southworth
2012-04-100.99.76debian/0.99.76Stephen Hemminger
2012-04-10Merge branch 'pacifica' of fiji.vyatta.com:/git/vyatta-cfg into pacificaStephen Hemminger
2012-04-09Use ioctl() to read interface flagsStephen Hemminger
Bug 8006 Interface running state is only visible through ioctl() or netlink. The flag is not exported via sysfs properly.
2012-04-04Fix perlcritic warnings in strip migration commentsStephen Hemminger
2012-03-220.99.75debian/0.99.75John Southworth
2012-03-22adjust pppoe interface detection for non-userlandJohn Southworth
2012-03-22Bugfix 7267: make inodes allocate dynamicallyJohn Southworth
2012-03-030.99.74debian/0.99.74Deepti Kulkarni