Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-02 | Merge branch 'jenner' of 192.168.100.1:git/vyatta-cfg into jenner | Stephen Hemminger | |
2009-03-02 | Ignore /sys/class/net/bonding_masters | Stephen Hemminger | |
Bonding leaves this file in /sys/class/net that confuses scripts. | |||
2009-03-02 | Add loopback as a type for getInterfacesIPadresses(). | Stig Thormodsrud | |
2009-03-02 | When an IP address is configured on a loopback, ↵ | Stig Thormodsrud | |
getInterfacesIPadresses('all') doesn't include them. Include loopback addresses. | |||
2009-03-02 | Remove duplicate constants. | Stig Thormodsrud | |
2009-03-01 | Fix bareword error for missing constants. | Stig Thormodsrud | |
Fix $mask usagage in getInterfacesIPadresses(). | |||
2009-03-01 | Fix call to Vyatta::Misc::getIP() | Stig Thormodsrud | |
2009-02-26 | Fix regex for VIF name extraction | Stephen Hemminger | |
Incorrect paren was breaking commands with VIF | |||
2009-02-19 | Typo in regex for vtun | Stephen Hemminger | |
Wouldn't match openvpn tunnels correctly. | |||
2009-02-18 | Add type check function for firewall IPv6 src/dst address parameters | Bob Gilligan | |
2009-02-18 | Add Vyatta::Interface::get_interfaces | Stephen Hemminger | |
Hook to get types listed in net_prefix table. | |||
2009-02-10 | Add new option for checking name validity | Stephen Hemminger | |
Many templates should allow any known interface type, since interface may be created later. So create some generic hooks for validation. | |||
2009-02-08 | Change order of config load | Stephen Hemminger | |
OSPF and RIP have to be started before interfaces | |||
2009-02-06 | Force firewall group to be configured before firewall. | Stig Thormodsrud | |
2009-02-05 | Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jenner | Stephen Hemminger | |
2009-02-05 | Fix boolean error | Stephen Hemminger | |
Earlier commit d8922b367e5d45dc8bb2b5dfba59d9473c3403e8 broke isChanged. | |||
2009-02-04 | Add type checking functions for 16- and 32-bit hexadecimal values. | Bob Gilligan | |
2009-02-04 | Vyatta::Config - parseTmpl convert to 3 arg open | Stephen Hemminger | |
2009-02-04 | Vyatta::Config - exists simplification | Stephen Hemminger | |
No need for if (-d node) { return ... can just use use return ( -d node ) | |||
2009-02-04 | Vyatta::ConfigOutput - test for exists should not use defined | Stephen Hemminger | |
exists returns a boolean so no need to explicitly check for defined. | |||
2009-02-04 | Vyatta::Config - don't use global handle for opendir | Stephen Hemminger | |
Global file handles are trap waiting to happen. | |||
2009-02-04 | Vyatta::Config - simplify boolean | Stephen Hemminger | |
When returning boolean no need to have if (expr) return 1; else return 0 Also the proper boolean for false is undef not 0. | |||
2009-02-04 | Vyatta::Config - fix perlcritic warnings from dangling return | Stephen Hemminger | |
2009-02-04 | Vyatta::Config::returnValue - change to three argument open | Stephen Hemminger | |
Using three argument open is safer against global handle clash, and accidental scripting. | |||
2009-02-04 | Revert "Cleanup confg library" | Stephen Hemminger | |
Save is broken by this, so do in smaller chunks. | |||
2009-02-03 | Cleanup confg library | Stephen Hemminger | |
Make this code pass perl critic. Mostly by changing it to return proper booleans, and use three argument open. | |||
2009-01-26 | DOMTree: Fix perlcritic warnings | Stephen Hemminger | |
Get rid of these: "return" statement with explicit "undef" at line 333, column 27. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 335, column 35. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 366, column 2. See page 199 of PBP. (Severity: 5) | |||
2009-01-26 | Vyatta::Misc - Fix perl critic warnings | Stephen Hemminger | |
Eliminate warnings about 2 arg open, and non stricture. | |||
2009-01-26 | ConfigOutput: Fix perlcritic warning | Stephen Hemminger | |
Minor fix: Code before strictures are enabled at line 31, column 1. See page 429 of PBP. (Severity: 5) | |||
2009-01-26 | config load: avoid possible bug in getConfigDiff | Stephen Hemminger | |
The map function operates on an alias of the passed list, so any modification of the elements has bad side effects. Make an explicit copy instead: Original warning: Don't modify $_ in list functions at line 410, column 17. See page 114 of PBP. (Severity: 5) | |||
2009-01-26 | config load: fix perlcritic warnings | Stephen Hemminger | |
Fix the easy perlcritc warning about explicit return undef, and use strict | |||
2009-01-26 | Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jenner | Stephen Hemminger | |
2009-01-26 | Cleanup type checker | Stephen Hemminger | |
Use standard getprotoent() rather than manual parsing. Fix perlcritic warnings. | |||
2009-01-21 | Add more IPv6 address and prefix validation functions. | Bob Gilligan | |
2009-01-20 | Fix isIPinInterfaces | Stephen Hemminger | |
fix bug in conversion to Vyatta::Interface by rewriting/refactoring. | |||
2009-01-18 | Fix regression in Vyatta::Misc | Stephen Hemminger | |
Handle requests for interfaces of a specific type | |||
2009-01-13 | Better usage of NetAddr::IP | Stephen Hemminger | |
Only get address once, and don't call new() directly, use in OO style. | |||
2009-01-13 | Ignore IPV6 addresses in getInterfacesIPadresses | Stephen Hemminger | |
This routine is used by DHCP server and needs to ignore IPV6 addresses. NB: Does not fix bogus spellung. | |||
2009-01-12 | Better version of getIPadresses and getInterfacesdebian/0.14.2 | Stephen Hemminger | |
Use new Vyatta::Interface and sysfs to avoid using ifconfig and ip command unnecessarily. | |||
2009-01-12 | Use new interfaces routines | Stephen Hemminger | |
Unify all code that does name -> interface attribute translation into one place. No need to pass interface path to scripts, and handle addresses correctly in DHCP code. Use 'undef' consitently for false in perl code. | |||
2009-01-12 | Simplfy and cleanup misc interfaces | Stephen Hemminger | |
Use regex to identify legal IPV4 address, and get rid of perlcrtic warnings. | |||
2009-01-12 | Use getservbyname to find ports | Stephen Hemminger | |
Rather than reading /etc/services directly, use the standard getservbyname function. This should be more efficient (uses dbm), and will work with other nameservices | |||
2009-01-07 | New Vyatta::Interface infrastructure | Stephen Hemminger | |
Provide generic module to map interface name to configuration and other attributes. This is first step to ripping the special case code out of DHCP, QoS, ... that all have own rules for mapping name to configuration and configuration to name. | |||
2008-12-20 | Fix 3815: FW: Hyphenated port names treated as ranges in firewall rules. | Stig Thormodsrud | |
2008-12-20 | Fix 3626: Not all protocol numbers are accepted in firewall rules. | Stig Thormodsrud | |
2008-12-12 | Fix 3991: Unable to configure DHCP server on a multinetted interfaceZ | Stig Thormodsrud | |
2008-12-01 | "show interfaces" broken. Use new perl hierarchy. | Stig Thormodsrud | |
2008-12-01 | "save" command broken - fix spelling error. | Stig Thormodsrud | |
2008-11-25 | export getPortRuleString | Stephen Hemminger | |
2008-11-24 | Need to fix some stuff from change to Vyatta:: | Stephen Hemminger | |
I wanted to use Vyatta::Config::Output, but the perl part of the autoconf installer is to stupid to handle directory trees, so had to limit it to one directory per package. So name should have been Vyatta::ConfigOutput... |