summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2009-05-21Bugfix 4432: Don't validate interface name in "check" sub-command.Bob Gilligan
The "check" sub-command is called by the CLI at "set" time. The interface may not be configured, or may be configured but not "up" at this time. So we don't want to perform any validation on the interface.
2009-05-21add "discard" command to cmd wrapperAn-Cheng Huang
2009-05-21Add script option to check if interface is upStephen Hemminger
Better than reading sysfs directly.
2009-05-20Use the default_smp_affinity /proc file if it is available.Bob Gilligan
2009-05-20Bugfix 4427: Handle multiqueue NICs.Bob Gilligan
Added code to deal with NICs that utilize more than one IRQ. The "set" sub-command of this script will now assign the requested affinity mask to all IRQs that are associated with the NIC.
2009-05-18notes on arbitrary root node loading in merge operations.slioch
2009-05-15root node support on load merge operation. additional work needed for deeper ↵slioch
merge path support
2009-05-15merge option added to load script. "load [configfile] --merge" adds ↵slioch
configuration to current running configuration.
2009-05-01add "load" support in vyatta-cfg-cmd-wrapperAn-Cheng Huang
2009-04-28Use getIP() to check for duplicatesStephen Hemminger
Simpler to use new getIP() for all address fetching
2009-04-28Catch incorrect address formatStephen Hemminger
Don't just silently exit on incorrect address format. At least print an error
2009-04-28Fix bug in is_ip_configuredStephen Hemminger
Bug 4311 Doing grep ($ip, @list) will return whole list since it evaluted $ip as a expression and the result was defined.
2009-04-28DHCP should be checking config not flagsStephen Hemminger
If interface is down (because of release), then renew should still be able restart interface.
2009-04-28Need to convert path to have slashesStephen Hemminger
More convient to do it here.
2009-04-27Merge branch 'jenner' of 192.168.100.1:git/vyatta-cfg into jennerStephen Hemminger
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-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.