summaryrefslogtreecommitdiff
path: root/lib/Vyatta
AgeCommit message (Collapse)Author
2009-07-30Add hw_address method for use in bondingStephen Hemminger
Bonding management needs easy way to find hardware address. Related to Bug 4758 (cherry picked from commit a4404bfb3c4243967a4434707213430d5c4df58e)
2009-07-10Fix 4623: Removing IPSEC VPN config without removing cluster ipsec config ↵Stig Thormodsrud
drops all interfaces. Only use substring if necessary. (cherry picked from commit abfbae9c05c6c7b4bccb2255d91a32ef1bccd1c1)
2009-07-08fixed isActive() api to now support mixed level and passed in relative path ↵slioch
values. (cherry picked from commit f6d95484a2f04633767409a565debe149ef5f56c)
2009-07-08added isActive function in perl code to allow a comparison of activeslioch
(active plus working commited) nodes for comparison. (cherry picked from commit a09624069795b49d12fd5d4be40dd2eb702b97a4)
2009-07-06Merge branch 'kenwood' of http://git.vyatta.com/vyatta-cfg into kenwoodslioch
2009-07-06bugsfixed in active+working node merge for perl api.slioch
2009-07-06updated perl api for new cli to support working node representation. not yet ↵slioch
functional without additional testing.
2009-07-02add function to check if a firewall ruleset isActiveMohit Mehta
2009-06-12add validation for bash special charactersAn-Cheng Huang
2009-06-12Make sure interface name regex are anchoredStephen Hemminger
This solves the problem that 'show interfaces ethernet' also shows pseudo ethernet (peth0) device. The problem was that peth0 matched the regex since it was missing start/end. (cherry picked from commit 77fb131b888bafd815722ebdceb5282b43dbb96d)
2009-06-12add "restrictive_filename" to TypeCheckerAn-Cheng Huang
2009-06-03change default-policy to default-action for zonesMohit Mehta
2009-05-20Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jennerStephen Hemminger
2009-05-18now explicit root merge works up to first multinode with explicit pathslioch
2009-05-16Add wireless device to tableStephen Hemminger
Place holder for future work.
2009-05-15root node support on load merge operation. additional work needed for deeper ↵slioch
merge path support
2009-05-06* don't allow user to change zone-type on the flyMohit Mehta
2009-05-05Fix warnings from using undefined variableStephen Hemminger
Several places in the the listNodes() code would generate warnings if strict warnings enabled because they had constructs like "$path $node" which aren't correct if $path was not defined.
2009-05-05* add flag to print commands to STDOUT for debuggingMohit Mehta
* change prefix and suffix for Vyatta zone chains
2009-04-29Rename virtual-ethernet to pseudo-ethernetStephen Hemminger
Avoid name conflict with veth in Xen.
2009-04-28Extend getIP() to be able to get all addressesStephen Hemminger
Only have one interface for getting addresses.
2009-04-27outlaw adding an interface to a zone that has firewall configured for itMohit Mehta
2009-04-27Fix path to virtual-ethernetStephen Hemminger
And indent net_prefix
2009-04-27Cleanup exports of Vyatta::MiscStephen Hemminger
Remove duplicates from list, and make sure getIP is exported, and that explicit imports are listed.
2009-04-27reindent codeStephen Hemminger
2009-04-24Add support for virtual-ethernetsStephen Hemminger
2009-04-16add function to get zone default-policyMohit Mehta
remove extraneous arguments in function definition
2009-04-10add zone moduleMohit Mehta
2009-04-07add priorities and ranks for zone based firewallMohit Mehta
2009-04-01Add more service priorities so one service can fail without affectingStig Thormodsrud
others.
2009-04-01Change rank value such that tunnels get created before "protocols rip ↵Stig Thormodsrud
interface".
2009-03-31make bridge address a different rank to match new priority scheme.An-Cheng Huang
2009-03-25Move Keepalived.pm from vyatta-cfg-systemStephen Hemminger
There was only one module left in vyatta-cfg-system, and for some of the auth work want to create lib/Vyatta/Auth.
2009-03-23Cleanup description stringStephen Hemminger
Remove trailing newline and any leading whitespace.
2009-03-23Remove #! /usr/bin/perlStephen Hemminger
The modules are not perl executables, they are modules. Fixes lintian warning
2009-03-16isClusterIP() needs to strip off the /mask/interface/bcast.Stig Thormodsrud
2009-03-02Merge branch 'jenner' of 192.168.100.1:git/vyatta-cfg into jennerStephen Hemminger
2009-03-02Ignore /sys/class/net/bonding_mastersStephen Hemminger
Bonding leaves this file in /sys/class/net that confuses scripts.
2009-03-02Add loopback as a type for getInterfacesIPadresses().Stig Thormodsrud
2009-03-02When an IP address is configured on a loopback, ↵Stig Thormodsrud
getInterfacesIPadresses('all') doesn't include them. Include loopback addresses.
2009-03-02Remove duplicate constants.Stig Thormodsrud
2009-03-01Fix bareword error for missing constants.Stig Thormodsrud
Fix $mask usagage in getInterfacesIPadresses().
2009-03-01Fix call to Vyatta::Misc::getIP()Stig Thormodsrud
2009-02-26Fix regex for VIF name extractionStephen Hemminger
Incorrect paren was breaking commands with VIF
2009-02-19Typo in regex for vtunStephen Hemminger
Wouldn't match openvpn tunnels correctly.
2009-02-18Add type check function for firewall IPv6 src/dst address parametersBob Gilligan
2009-02-18Add Vyatta::Interface::get_interfacesStephen Hemminger
Hook to get types listed in net_prefix table.
2009-02-10Add new option for checking name validityStephen Hemminger
Many templates should allow any known interface type, since interface may be created later. So create some generic hooks for validation.
2009-02-08Change order of config loadStephen Hemminger
OSPF and RIP have to be started before interfaces
2009-02-06Force firewall group to be configured before firewall.Stig Thormodsrud