summaryrefslogtreecommitdiff
path: root/templates/interfaces/ethernet
AgeCommit message (Collapse)Author
2010-11-17Add address checks to bondingStephen Hemminger
Need to have same checks as ethernet for valid address on commit.
2010-11-17Remove useless commentStephen Hemminger
Comment was providing no useful information not already present in the template.
2010-11-15Restore IRQ affinity when device is renabledStephen Hemminger
Bug 5698 When interface transistions back to online, the driver may have reacquired IRQ's and the irq affinity script will need to be rerun.
2010-11-12New IRQ affinity script and RPS supportStephen Hemminger
Replace old script with new cleaner script that handles both IRQ affinity and Receive Packet Steering. Instead of two scripts (one for mask and one for auto), do it all with one script. Receive Packet Steering is supported in two ways. If 'auto' is used, then both threads on HT system will be used for receive processing. If explicit mask is given, then two masks can be used to set both IRQ cpus and RPS cpus.
2010-11-11Add more checks on VLANStephen Hemminger
Bug 4695 If ethernet hardware does not allow VLAN's than produce error. Ignore delete if device doesn't exist.
2010-11-08Check speed and duplex settings on Ethernet interfacesStephen Hemminger
Bug 4994 Use ethtool to check for supported speed and duplex values on link.
2010-11-02Remove non-functional commit test on mtu of vifStephen Hemminger
The syntax of parent MTU was wrong. The underlying driver already checks for MTU so the commit check is not needed.
2010-10-29Allow setting MTU of VIFStephen Hemminger
Bug 3531
2010-10-27IRQ affinity updateStephen Hemminger
1. Move scripts to vyatta-cfg-system 2. Use syntax to check for legal values 3. Don't fail on UP
2010-08-17update help text to use val_helpAn-Cheng Huang
2010-07-21Add completion for text fields with limited valuesStephen Hemminger
For all nodes that do 'syntax:expression: $VAR(@) in' add allowed tag to show possible values
2010-07-21Fix help completion textStephen Hemminger
Use ipv4net when Address/prefix expected Use ipv4 where Address expected
2010-07-20Use expression to validate VRRP passwordStephen Hemminger
Use CLI regex to check VRRP password rather than having to escape out to shell.
2010-07-20Use val_help: for interface name helpStephen Hemminger
Use common method for formatting CLI style help when entering interface name. Move loopback name syntax check into CLI expression to avoid overhead of perl here.
2010-07-19Convert VRRP to new CLI help styleStephen Hemminger
Use val_help: for help strings
2010-07-19Convert VRRP preempt to boolStephen Hemminger
This value can only be "true" or "false"; it should be bool type.
2010-07-19Use val_help: features to format betterStephen Hemminger
Previous change did not format val-help tag correctly
2010-07-19Use val_help: for Ethernet interface parametersStephen Hemminger
More consistency fixes.
2010-07-19Use val_help: for interface MTU nodesStephen Hemminger
2010-07-16Remove verbs from all help messagesStephen Hemminger
Per current policy remove verb from all help messages in th is package
2010-07-16Use val_help: for address nodesStephen Hemminger
Use common format for address nodes
2010-07-16Add syntax validation for bridge STP parametersStephen Hemminger
The syntax range for bridge STP values was missing or incorrect. Bug 5864
2010-06-15Remove sudo from brctlStephen Hemminger
Since brctl has cap_net_admin, don't need to use sudo
2010-06-15Remove sudo from ip commandStephen Hemminger
No longer need sudo on ip because of cap_net_admin
2010-05-26Move DHCPv6 client configuration to this package and restructre parameters.Bob Gilligan
2010-05-19Add enable-proxy-arp to vif interface.Stig Thormodsrud
2010-04-27Make interface help completion strings consistentStephen Hemminger
Use same format/syntax over all interface types. Bug 5257
2010-03-29Fix test for UPStephen Hemminger
/sys/devices/system/cpu/present is 0-NN on SMP and 0 on UP.
2010-03-29Ignore setting CPU affinity on UP systemsStephen Hemminger
If only one CPU, then not worth bothering doing any kind of interrrupt affinity.
2010-03-09Bugfix 5021: Make smp_affinity configuration tolerant of failures.Bob Gilligan
2010-02-21Fix 5157: dhcpclient doesn't work when alternative mac address specified on ↵Stig Thormodsrud
bootup
2010-02-18Fix Bug 5064 can't delete bridge group and membership in one commitMohit Mehta
* fix this for eth, eth.vif, bond, bond.vif interfaces * also, bridge-group code for bonding interfaces wasn't changed with commit ec080f99 that re-strucutred bridging code in eth and eth.vifs to fix bug 4708. bridge-group code for bond and bond.vif interfaces is now similar to the fix for 4708
2010-02-16Use template to do syntax checks on ethernet device nameStephen Hemminger
Bug 5256 Going out to perl to repeatedly validate ethernet device name slows down adding VLAN's and other operations with lots of sub-devices.
2010-02-16Check current status (not configured value) when enabling vlan deviceStephen Hemminger
2010-02-16Speed up VIF creationStephen Hemminger
The overhead of compiling perl script repeatedly slows down VIF creation
2010-01-19Bugfix 5162: Make disabling flow control work at boot time.Bob Gilligan
We need to delay disabling flow control in the sequence of events until after the interface address has been set. An additional benefit of adding a "priority" field is that interface configuration will not fail if the attempt to disable flow control fails for some reason.
2009-12-21Move interface support from vyatta-cfg to vyatta-cfg-systemStephen Hemminger
All the other interface types are in vyatta-cfg-system, only loopback and ethernet were in vyatta-cfg
2009-11-30added required keyword to help text.Michael Larson
2009-11-02Fix 5063: committing "set interfaces ethernet <> bridge-group bridge <>" ↵Stig Thormodsrud
got "invalid variable reference (invalid format)" - need extra escape magic to call vyatta-cli-expand-var.pl.
2009-10-31added missed vrrp priorities.slioch
2009-10-15partial fix for bug 4903.slioch
2009-08-04Fix bonding group setupStephen Hemminger
The last change broke bond-group setup.
2009-08-04BONDING: handle change of bond-groupStephen Hemminger
Use similar action to new bridge-group Bug 4768
2009-08-04BONDING: handle change of bond-groupStephen Hemminger
Use similar action to new bridge-group Bug 4768
2009-07-17Change interface state to down, add to bond group, change state to up.Mark O'Brien
(cherry picked from commit ed127b43756dfe852cff453ac8d8a72c01cbefd2)
2009-07-17Convert bonding to use sysfs instead of ifenslaveStephen Hemminger
ifenslave is the old way, and may not be supported in future. Use sysfs instead to add/delete slaves. (cherry picked from commit 0bd1cd12ccb047afce7444f5728fc3bbc3f328a5)
2009-07-17Remove invalid buried templatesStephen Hemminger
These are all templates that do nothing in current config and only contain a useless help: value. (cherry picked from commit d932a2d53618d38a3a5d4c668e18fc5920e0ad6b)
2009-07-14Bugfix 4708: Re-structure to avoid using "update" in non-leaf valueless nodes.Bob Gilligan
This change cleans up the bridging configuration, uses the new COMMIT_ACTION environment variable, and avoids using state files to pass information between templates.
2009-06-14Fix 4579: There is no validation for vrrp virtual-address like the one for ↵Stig Thormodsrud
interfaces address.
2009-04-01Change "syntax" check to "commit" check for virtual interfaces.Stig Thormodsrud
Change to use script for allowed values.