summaryrefslogtreecommitdiff
path: root/templates/interfaces
AgeCommit message (Collapse)Author
2009-12-21Move interfaces to vyatta-cfg-system packageStephen Hemminger
All the other templates and scripts related to interfaces are in vyatta-cfg-system
2009-10-22Fix description setting on vifStephen Hemminger
Bug 5014
2009-10-21move priority after tag nodes.slioch
2009-10-20pushed priorities to node.def'sslioch
2009-10-12Bugfix 2593: Introduce automatic static IRQ affinity balancing for some NICs.Bob Gilligan
This change implements a mechanism for setting the IRQ affinity of NIC interrupts in a way that is optimally balanced. The affinity settings are static, and are set up at configuration time. I've added "auto" as a new legal value to the "interfaces ethernet ethX smp_affinity" configuration parameter. If this value is set, then the system attempts to perform automatic IRQ affinity assignment. At this time, automatic IRQ affinity is supported only for multiqueue NICs that use the igb or bnx2 drivers. Even with these two, differences in the organization of queues and their naming convention necessitate some NIC-specific code. The assignment strategy attempts to assign all queues of all NICs that share the same queue number to the same CPU. This has been shown to be optimal for IP forwarding workloads in 2.6.31 kernels. Setting the value to "auto" for NICs that use other drivers will be a no-op.
2009-09-09Bugfix 4700, 4269: Fix set and commit-time checks for ethernet vif addresses tooBob Gilligan
Also restore "--valid-addr" flag to vyatta-interfaces.pl since it is used outside this package.
2009-09-09Bugfix 4700, 4269: Fix set and commit-time checks of ethernet address valuesBob Gilligan
Changed the the set-time and commit-time check of ethernet interface address values. These checks need to prevent configuring both DHCP and static IPv4 addresses on the same interfac. The previous checks were comparing against the running configuration tree, not the proposed config tree. Now the set-time check is purely a syntax check, and the commit-time check only checks for both DHCP and static IPv4 addresses in the proposed config. The system now allows DHCP and static IPv6 addresses to be configured on the same interface.
2009-09-09Allow empty descriptionStephen Hemminger
Bug 4918
2009-08-19Add ability to disable flow-controlStephen Hemminger
Bug 4419
2009-07-08Use ip command rather than sysfs to set ifaliasStephen Hemminger
Bug 4672 By using ip command instead of sysfs, avoid subshell quoting issues. (cherry picked from commit 1755bfab4b22cc822f96fb78a1e05392d5f07398)
2009-06-12Make sure interface name regex are anchoredStephen Hemminger
Bug 4501 This solves the problem that 'show interfaces ethernet' also shows pseudo ethernet (peth0) device. The problem was that peth0 matched the regex since it was missing start/end. (cherry picked from commit 71fb6be3ac3d7ce3c7f08b1408c8c9a6b9fc0422)
2009-06-12Manage speed duplex in vyatta-interfaces.plStephen Hemminger
Move the speed/duplex setting into script where we can handle errors better, and avoid setting speed/duplex twice. (cherry picked from commit 330470f1f060f579434eb89469f4ed021c95449d)
2009-06-12Allow delete of ethernet settings when device does not existStephen Hemminger
More bug 3952 fixes (cherry picked from commit 2619f6c8fa01ab3ade6dfe6edb6815825c89cfd0)
2009-06-12Handle speed/duplex settings betterStephen Hemminger
Bugs 3952 and 3797 Make the ethtool settings management smarter. Don't try and set a device that has been unplugged (causing commit fail). Don't force autonegotiation if device is already in that mode. (cherry picked from commit ad4f2a101203e71076a3e23a0a2a093326927d45)
2009-06-12Fix update on multi-nodeStephen Hemminger
update tag on loopback is incorrect since address is multi-value node. (cherry picked from commit cd119fead01c35eae68b3383a2ab12fb9f2d4767)
2009-05-21Only bring up VIF if real device is upStephen Hemminger
If real device is disabled, then can't bring up VIF.
2009-05-21Allow creating vlan on disabled deviceStephen Hemminger
Other half of fix for Bug 4369
2009-04-20Move disable-link-detect from vytta-cfg-quagga to hereStephen Hemminger
Since some interfaces have link-detect and others do not, move the template from the generic generated templates to the specific configuration.
2009-03-25Fix update of interface descriptionStephen Hemminger
Bug 4249
2009-03-23Store description in ifaliasStephen Hemminger
Use new kernel field to store description.
2009-03-12Use create rather than update on multi-node (loopback)Stephen Hemminger
2009-03-11Fix argument to show-interfaces to find vifStephen Hemminger
Need to do show=all
2009-03-11Fix vif deleteStephen Hemminger
Need 'dev' in argument to ip link
2009-03-11Block disabling interface with VIFStephen Hemminger
If interface with VIF is disabled, then it would fail on next boot when VIF's were created.
2009-03-11Disable creating vlan on disabled interfaceStephen Hemminger
Print message and fail commit if interface is disabled.
2009-03-09Change tag node to use 'create' instead of 'update' since the cli orders ↵Stig Thormodsrud
them differently.
2009-03-03Use check option to vyatta-interfaces.plStephen Hemminger
Eliminate checks in template in favor of doing it in one place in vyatta-interfaces.pl code.
2009-03-03Use vyatta-interfaces to generate allowed listStephen Hemminger
2009-03-02Fix delete of VIFStephen Hemminger
Syntax is not the same for 'ip link delete'
2009-03-02Use iproute link to setup vifStephen Hemminger
Bug 3779 Simpler to use 'ip link' command.
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.
2008-12-05Need full path to link-detectStephen Hemminger
2008-12-03Use vyatta-link-detectStephen Hemminger
New script to wrap direct calls to vtysh
2008-11-19Fix Bug 3917 dhcp brings interface up for lease acquire/renew even though ↵Mohit Mehta
interface has been disabled in CLI
2008-10-21Bugfix: 3807: Typo in config template for interfaces/loopback.Bob Gilligan
2008-10-15Enforce restrictions on loopback nameStephen Hemminger
Add allowed completion and check type of device.
2008-10-15enforce syntax restrictions on ethernet device namesStephen Hemminger
Only allow devices name ethXXX and check that device exists Bugfix 3495
2008-08-12Vtysh is not in sbindirStephen Hemminger
2008-08-12Change back to vyatta-vtyshStephen Hemminger
2008-08-11Replace vyatta-vtysh with vtyshStephen Hemminger
2008-07-30Use vtysh directlyStephen Hemminger
No longer need the perl wrapper for vtysh. The options and logging have been folded into it.
2008-07-29Add ipv6 address to comp_help.Stig Thormodsrud
2008-07-23Fix bug 3318Mohit Mehta
dont't create unnecessary temporary files, use already created file in active config to retrieve mtu value
2008-07-23Fix Bug 3318 ENHANCEMENT REQUEST: Option to NOT Accept DHCP MTU Offers Below ↵Mohit Mehta
Specified Value - only request for dhcp-option interface-mtu from a dhcp-server for an ethernet interface using dhcp to get IP - do not request for interface-mtu for other interfaces that use dhcp i.e. ethernet vifs and bridges - request for interface-mtu from dhcp-server for ethernet interfaces, only if ethernet mtu not set in CLI
2008-06-19Bugfix: 3355Bob Gilligan
Handle case of user changing SMP affinity configuration of an interface.
2008-05-14Avoid any problems with non-device entries in /sys/class/netStephen Hemminger
Bonding leaves file in /sys/class/net/bonding. Avoid any problems this causes.
2008-04-21Merge branch 'glendale' into hollywoodrbalocca
2008-04-18fix for bug 3177Robert Bays
2008-04-14Merge branch 'glendale' into hollywoodrbalocca
2008-04-14Fix 3034: Loopback interface controlled by "ethernet lo"Stig Thormodsrud