summaryrefslogtreecommitdiff
path: root/templates/interfaces/ethernet
AgeCommit message (Collapse)Author
2011-06-08Move the mtu settings out of the main inteface priority subtree as a failure ↵John Southworth
boundry
2011-05-23don't assume hw-id exists since it can be deletedAn-Cheng Huang
2011-05-10more changes for new commitAn-Cheng Huang
(cherry picked from commit 11baf27c6caf1a0edf2b993fb7066227d02eab7b)
2011-04-13* Add help and checks for VRRP transition-script nodesMohit Mehta
to push users towards putting scripts in /config/scripts
2011-03-11Remove flag file at end of transactionStephen Hemminger
If commit cleans up temp file, no sudo is necessary.
2011-03-11Don't set speed duplex twiceStephen Hemminger
Bug 6778 Both the nodes for speed and duplex both update the device. But only the change only needs to be done once. Changing the values twice causes link bounce and takes some time to resolve.
2010-12-10Fix 6453: After configuring VRRP on interface, VRRP is not active until VRRP ↵Stig Thormodsrud
is manually restared with "restart vrrp" command. - Move all commit checks into script on end node. - Add separate function for conntrack-sync settings. - Do per instance validation at the right priority level. - Verify that the changes file is removed on final transaction.
2010-11-30Add dhcpv6 options for all interfaces that support DHCPStephen Hemminger
DHCPv6 is not restricted to ethernet only anymore.
2010-11-24Fix range checking on bridge port priority is limited to 0-63Stephen Hemminger
Bug 5864 The STP port priority field is limited to a smaller range to allow more ports on the Linux bridge. Linux uses the same mapping as IOS so that in the STP port field there are 10 bits for port id and 6 bits for port priority.
2010-11-23Remove check function from keepalived perl scriptStephen Hemminger
No longer need check-vip option since the type checking is done in template
2010-11-23Improve performance of syntax checks for vrrp addressStephen Hemminger
Use CLI (ipv4,ipv4net) and new address validator to check addresses for VRRP.
2010-11-22Don't allow zero for VRRP priority or VRIDStephen Hemminger
Bug 5673 Enfore restriction on values per RFC 3678
2010-11-22Use script vyatta-address to set interfaceStephen Hemminger
Avoid the overhead of perl compilation of vyatta-interfaces for each address added. Handle the case of deleting address on deleted device cleanly. Clean up dhcpv6 script so it can be used on interfaces other than ethernet.
2010-11-22Replace perl address validation with utilityStephen Hemminger
2010-11-18Add syntax check for bridge interface nameStephen Hemminger
Put in check for brN in bridge-group bridge. And make syntax error for bond-group better
2010-11-17Cleanup bond-group syntax and commit checksStephen Hemminger
Move check for address and state of slave to commit which allows for better error message.
2010-11-17Cleanup bridge port managementStephen Hemminger
Consolidate bridge port management into a single perl script. Done to fix the following bug. Bug 4745 Don't allow interface with address to be added to bridge.
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.