summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2009-04-27fix broken call to getIPMohit Mehta
2009-04-27vyatta-interfaces changes for DHCPStephen Hemminger
Need good way to find path to get current MTU.
2009-04-27Handle errors better in show_mtuStephen Hemminger
2009-04-27Add method to show configured mtuStephen Hemminger
2009-04-24Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jennerStephen Hemminger
2009-04-21Merge branch 'jenner' of http://git.vyatta.com/vyatta-cfg into jennerStig Thormodsrud
2009-04-21Add some debug files to help diagnose boot issue with new cli ordering.Stig Thormodsrud
These should be removed before release.
2009-04-20Use undef for falseStephen Hemminger
Standard perl convention is undefined for false rather than 0.
2009-04-20Use getIP rather than call 'ip addr'Stephen Hemminger
Trying to have uniform library to interface state.
2009-04-20Fix vyatta-interfacesStephen Hemminger
Extra comma in options hash list! Get rid of perl function prototype for usage. Perl Best Practices and other books recommend against them. Move up exit to avoid surprises in later code.
2009-04-20add env override for default session idAn-Cheng Huang
2009-04-09Bugfix 4272: Set log level to "notice" so messages are logged by default.Bob Gilligan
2009-04-06for fans of the new priority|commit system, debug output is now enabled on ↵slioch
config boot. -a action is activated and last output is written to /tmp/bar
2009-04-06add "save" command to cfg-cmd-wrapperAn-Cheng Huang
2009-04-03remove rank loading from loadconfig. rank load is disabled--will remove ↵slioch
ordering code (that has no effect) in a future submission.
2009-04-01Add --warn option for vyatta-interfacesStephen Hemminger
For when templates want to check for interface but not die.
2009-03-05Fix is_valid_name() to support any valid interface type (--check all).Stig Thormodsrud
2009-03-04Merge branch 'jenner' of http://git.vyatta.com/vyatta-cfg into jennerStig Thormodsrud
2009-03-04Fix show_interfaces() so that it includes vlans for $type='all'.Stig Thormodsrud
2009-03-03Extend vyatta-interfaces to do device name checkingStephen Hemminger
Have one central place for validity checks.
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