summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2012-08-14Rewrite interface prefix matchingStephen Hemminger
Bug 8279 Read network device name prefixes from file.
2012-08-01Add support for vswitchStephen Hemminger
Placeholder for possible future work.
2012-06-26Make dataplane matching less restrictiveStephen Hemminger
Anything starting with dp[0-9] is a dataplane interface
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-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-05-16Merge branch 'pacifica' of http://git.vyatta.com/vyatta-cfg into pacificaSaurabh Mohan
2012-05-16Support for VTI.Saurabh Mohan
2012-05-15Move VRRP to its own packageJohn 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-09Add functions to get calling terminal size to Vyatta::MiscJohn Southworth
2012-05-07Enable snmp support for vrrpJohn Southworth
2012-04-30Match from beginning of the line for multilink deviceJohn 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-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-03-22adjust pppoe interface detection for non-userlandJohn Southworth
2011-12-16Add support for dataplane configStephen Hemminger
2011-12-12Adjust default displayed priority to reflect actual default priorityJohn Southworth
2011-12-06Fix source address display problem in address owner case for vrrpJohn Southworth
2011-12-05Fix typo in vrid split in Interfaces moduleJohn Southworth
2011-12-05Fix bug in vrrp interface handlingJohn Southworth
2011-12-02Add vrrp interface support to Interface libraryJohn Southworth
2011-11-28Merge branch 'oxnard' of http://git.vyatta.com/vyatta-cfg into oxnardBob Gilligan
2011-11-28Return vmac interface configuration state in vrrp_get_config()Bob Gilligan
2011-11-14Bug 7411: exporting isValidPortNumber API from Misc.pm, used in conntrack ↵Gaurav Sinha
for validating ports entered
2011-11-01vrrp restart not working. fix pid filename for 1.2.2Stig Thormodsrud
(cherry picked from commit 9cc533d34fdef09d69f4fccdaaaee0724bf11f2d)
2011-10-12Provide accessor for the net_prefix hashJohn Southworth
2011-07-05Move the is_uniq_address function to Interface.pmJohn Southworth
2011-05-04Fix Bug 7010 Update commands to save/retrieve files from /configMohit Mehta
* use shorter /config path when presenting configuration directory to users
2011-03-10support for fix to bug 6081. return hash of ipv4net, ipv6net networks ↵Michael Larson
assigned to interfaces
2011-02-02cosmetic fix to make error output to match format of other error output ↵Michael Larson
statements.
2011-01-25Fix list_vrrp_sync_group_members() to just include requested group.Stig Thormodsrud
(cherry picked from commit 55e621e5b351913bf735477d00ca554c5a19c4d6)
2011-01-25Fix 6501: "clear vrrp master interface <interface> group <group]id>" ↵Stig Thormodsrud
command doesnt work with sync groups (cherry picked from commit 92a4d11c73fa5bcd18b91a8a5c7e11ec2bf42ed1)
2010-12-20Handle IPv6 in is_local_addressStephen Hemminger
Bug 6590 The code to check for local address has to be smarter to handle IPv6. Introduces dependency on Socket6 module.
2010-12-10Export vrrp_get_primary().Stig Thormodsrud
2010-12-10Return configured address in vrrp_get_config().Stig Thormodsrud
2010-12-10Export inSession to the perl api.Stig Thormodsrud
2010-12-08Fix display of source address in "show vrrp".Stig Thormodsrud
2010-12-08Fix typo in export of is_local_addressStephen Hemminger
2010-12-07Allow _errloc_ to be place on any line in output, not restricted to first line.Michael Larson
2010-12-07Fix return value for address not configure on system.Stig Thormodsrud
2010-12-07Add a method to check whether an IPv4 address is a primary address to ↵Daniil Baturin
Vyatta::Misc
2010-12-06Merge branch 'mendocino' of vm:rel/vyatta-cfg into mendocinoStephen Hemminger
2010-12-06Merge branch 'mendocino' of http://git.vyatta.com/vyatta-cfg into mendocinoMichael Larson
2010-12-06remove env check to inhibit errloc from API.Michael Larson