summaryrefslogtreecommitdiff
path: root/templates/interfaces/ethernet
AgeCommit message (Collapse)Author
2013-04-12ethernet: deleting device should put in admin downStephen Hemminger
Typo in conditional meant that 'ip li set dev ethN down' never ran.
2012-05-15Move VRRP to its own packageJohn Southworth
2012-04-24vif: remove check for flags when creating VIFStephen Hemminger
Bug 8007 The 3.3 kernel removed sysfs features file (/sys/class/net/ethX/features). Detect vlan failure when added instead.
2012-02-18Fix VRRP templates error string capitalization.Daniil Baturin
2012-02-18Bug #7787: Modify VRRP templates to allow custom script arguments,Daniil Baturin
treat first word as script path and the rest as arguments.
2012-02-09fix path to ethtoolStephen Hemminger
/sbin is not part of default user path. Therefore need to use full path to ethtool.
2012-01-19Enforce length restriction on interface descriptionStephen Hemminger
Bug 7730 Kernel limit on interface description (ifalias) is 256 characters.
2011-12-01Add vrrp interface descriptionJohn Southworth
2011-11-14Remove unnecessary sudo on ethtoolStephen Hemminger
ethtool has capabilties set, therefore no need for sudo.
2011-11-08First pass implementation of support for virtual MAC addressBob Gilligan
This change introduces a new parameter named "interface" under the vrrp-group configuration tree under ethernet interfaces and vlans. If the "interface" parameter is set, keepalived will be configured to bring up a macvlan interface, which will hold the virtual MAC address that is specified in the VRRP spec.
2011-10-10Bugfix 7551: Fix vlan address completion textJohn Southworth
2011-09-27Bugfix 7492: Reset mac address to hw-id when the mac is deletedJohn Southworth
2011-08-11Don't bring ethernet device up if it is disabledStephen Hemminger
If ethernet (or pseudo) is disabled, don't bounce link.
2011-08-05ethernet: avoid needlessly setting mac addressStephen Hemminger
Bug 7408 Only set mac address if it is different, and try first with link up (many drivers allow it). Don't use hw-id as mac address, hw-id is meant for corelating names with addresses (in udev).
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