Age | Commit message (Collapse) | Author |
|
Bug 4672
By using ip command instead of sysfs, avoid subshell quoting issues.
(cherry picked from commit 1755bfab4b22cc822f96fb78a1e05392d5f07398)
|
|
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)
|
|
Move the speed/duplex setting into script where we can handle errors
better, and avoid setting speed/duplex twice.
(cherry picked from commit 330470f1f060f579434eb89469f4ed021c95449d)
|
|
More bug 3952 fixes
(cherry picked from commit 2619f6c8fa01ab3ade6dfe6edb6815825c89cfd0)
|
|
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)
|
|
If real device is disabled, then can't bring up VIF.
|
|
Other half of fix for Bug 4369
|
|
Since some interfaces have link-detect and others do not, move
the template from the generic generated templates to the specific
configuration.
|
|
Bug 4249
|
|
Use new kernel field to store description.
|
|
Need to do show=all
|
|
Need 'dev' in argument to ip link
|
|
If interface with VIF is disabled, then it would fail on next boot
when VIF's were created.
|
|
Print message and fail commit if interface is disabled.
|
|
them differently.
|
|
Eliminate checks in template in favor of doing it in one place
in vyatta-interfaces.pl code.
|
|
|
|
Syntax is not the same for 'ip link delete'
|
|
Bug 3779
Simpler to use 'ip link' command.
|
|
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.
|
|
|
|
New script to wrap direct calls to vtysh
|
|
interface has been disabled in CLI
|
|
Only allow devices name ethXXX and check that device exists
Bugfix 3495
|
|
|
|
|
|
|
|
No longer need the perl wrapper for vtysh. The options and logging
have been folded into it.
|
|
|
|
dont't create unnecessary temporary files, use already created file in active config to retrieve mtu value
|
|
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
|
|
Handle case of user changing SMP affinity configuration of an interface.
|
|
Bonding leaves file in /sys/class/net/bonding. Avoid any
problems this causes.
|
|
|
|
|
|
|
|
|
|
- help strings standardized in vyatta-cfg
|
|
- help strings standardized in vyatta-cfg
|
|
- tab gives dhcp if interface hasn't been configured before. handle "<*>" allowed values.
|
|
- tab gives dhcp if interface hasn't been configured before
|
|
Bugfix: 2826
Enforce restrictions on address (must be valid ethernet address),
and only bring interface down/up if already up.
|
|
Only allow setting SMP affinity on multiprocessor machines.
|
|
|
|
- Change ethernet completion
|
|
|
|
Don't allow the bitmask argument of the smp_affinity parameter to
contain more bits than there are CPUs on the system.
|
|
|
|
|
|
Ethtool allows setting speed of 2.5Gb or 10Gb on devices that
support it.
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
|