summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2009-02-27Fix --vif optionStephen Hemminger
When finding allwed VIF, want to show vif id not name.
2009-02-26Handle MTU on all types of interfaceStephen Hemminger
Use new Vyatta::Interface mtu function to handle all interface types with DHCP.
2009-02-26Add option to show VIF for interfaceStephen Hemminger
2009-02-11Remove script for vyatta-cfg-reloadStephen Hemminger
Moved it back over to vyatta-cfg-quagga
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-05Move config reload from quagga to vyatta-cfgStephen Hemminger
More generally useful, and maintaince is better when closer to home
2009-02-03Missing semicolonStephen Hemminger
Mistake in earlier change.
2009-02-03Simplify and add strict checksStephen Hemminger
2009-02-03Replace bare file handle with variableStephen Hemminger
PBP recommends using local variable rather than global file handle.
2009-02-03Simplify logicStephen Hemminger
Use || operator
2009-02-03Reindent load config for clarityStephen Hemminger
Run through perltidy.
2009-01-26save_config: fix perlcritic warningsStephen Hemminger
Use three arg form of open etc.
2009-01-12Use new interfaces routinesStephen 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-12Remove unused functionsStephen Hemminger
htonl and if_nametoindex are not used.
2008-11-24Need 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...
2008-11-21Convert VyattaConfig (et al) to Vyatta::ConfigStephen Hemminger
Use hierarchal directory structure
2008-11-19Fix Bug 3917 dhcp brings interface up for lease acquire/renew even though ↵Mohit Mehta
interface has been disabled in CLI
2008-11-19move submodule to get interface related info to VyattaMiscMohit Mehta
2008-11-17add check for bond vif interface to submoduleMohit Mehta
2008-11-17check dhcp for bond vif interfaces as wellMohit Mehta
2008-11-17move submodules to VyattaMisc.pm so that they can be used elsewhere as wellMohit Mehta
2008-11-14rectify check for bond interfaceMohit Mehta
2008-11-14Check result of system commandsStephen Hemminger
Make sure and check if system commands worked.
2008-11-14Use grep -c rather than running wc commandStephen Hemminger
Grep already has a count option, so use it.
2008-11-14Use perl unlink rather than rmStephen Hemminger
Don't need to run a command to remove a file.
2008-11-14Use perl mkdirStephen Hemminger
Don't need to call out to shell to create directory
2008-11-14Implement touch in perlStephen Hemminger
Use perl to do the touch command.
2008-10-31Fix Bug 3808 - OpenVPN accepts non-existent local-host optionMohit Mehta
Move code to retrieve IP addresses for a specified interface-type to VyattaMisc module
2008-10-30Allow dhcp on bondingStephen Hemminger
Fix some assumptions in the vyatta-interfaces script that prevent using dhcp on bonded devices Bugfix 3835
2008-10-24Fix dhcp on bondingStephen Hemminger
Add more hacks to already fragile code that depends on interface name. When next type is added this needs to be reworked. Bugfix 3835
2008-10-07Fix Bug 3770 vpn pre-shared keys should be obscured in "show configuration"Mohit Mehta
2008-09-17Add entry for upcoming bondingStephen Hemminger
Need to load bonding in correct step.
2008-08-04Move is_ip_v4_or_v6() to VyattaMisc.pm so other scripts can use it.Stig Thormodsrud
2008-07-25Fix Bug 3524 dhcp client doesn't insert default route on system rebootMohit Mehta
- also move temp files for release of dhcp interface to /var/run from /var/lib
2008-07-28fix for bug 1130. disable ctrl-c during load command to prevent partial load.root
2008-07-23Fix Bug 3318 ENHANCEMENT REQUEST: Option to NOT Accept DHCP MTU Offers Below ↵Mohit Mehta
Specified Value - only request for dhcp-option interface-mtu from a dhcp-server for an ethernet interface using dhcp to get IP - do not request for interface-mtu for other interfaces that use dhcp i.e. ethernet vifs and bridges - request for interface-mtu from dhcp-server for ethernet interfaces, only if ethernet mtu not set in CLI
2008-07-22Prioritize vpn ahead of pppo[ea] interfaces.Stig Thormodsrud
2008-06-26removing code to update resolv.conf from here, it is better to call it from ↵Mohit Mehta
dhclient-script
2008-06-26=> Modified VyattaConfig.pm function 'returnOrigValues()' to return empty ↵Mohit Mehta
array when no value is configured => Modified VyattaConfigLoad.pm to give a higher ranking to 'system host-name' than 'interface' so that during boot-up if host is using dhcp client to get an ip for an interface, it can send the host-name if configured => Modified vyatta-interfaces.pl: 1. to request only for dhcp options 'subnet-nask', 'broadcast address', 'routers', 'domain-name-servers' when an interface is configured to get an ip using dhcp. 2. ask for a domain-name only if domain-name is not configured in our CLI 3. do not request dhcp options: 'time-offset', 'interface-mtu' and 'host-name' that were being requested before 4. Update /etc/resolv.conf to remove domain-name and name-server options received from dhcp server for the particular interface that releases dhcp lease either from op-mode or cfg-mode
2008-07-11fix for bug 3441. Selective stripping of the 'def' only needs to occur in ↵Michael Larson
one location. hease enter the commit message for your changes.
2008-07-10Revert "fix for bug 3441. Removed def from listOutputNodes(), which allowed ↵Michael Larson
other code that filters out def file to be removed." Need to spend more time with this fix--'def' is used in locations to suppress non-user specified default values. will reapply revised fix after a bit more vetting. This reverts commit 42d6c942800e2273b77ea92371ffdcb3f183163f.
2008-07-09fix for bug 3441. Removed def from listOutputNodes(), which allowed other ↵root
code that filters out def file to be removed.
2008-07-07fix for bug 3323: skip deletions of nodes with default values when loadingAn-Cheng Huang
a config file.
2008-07-01Partial fix for 3383: check for vyatta-config-version, warn/prompt that it ↵Stig Thormodsrud
appears to be invalid config.
2008-06-30Merge branch 'hollywood' of http://git.vyatta.com/vyatta-cfg into hollywoodMichael Larson
2008-06-30Revert "set load-balancing load order after interfaces are configured on load."Michael Larson
This reverts commit b5b1c71bc95bdaea24f45e5738e9a3a7f8740a4f.
2008-06-30Fix 3396: "commit failed at rank 800" while booting with bgp peer-group.Stig Thormodsrud
2008-06-30set load-balancing load order after interfaces are configured on load.Michael Larson
2008-06-24Fix 2619: Implement something similar to Juniper's "show | display set" ↵Stig Thormodsrud
functionality.
2008-06-24Fix 3143: Unable to save/load config from a remote server.Stig Thormodsrud