Age | Commit message (Collapse) | Author |
|
|
|
The new naming convention is: <ifname>v<VRID>
where <ifname> is the name of the underlying physical interface or
VLAN and <VRID> is the virtual router ID.
For example: eth0v235, eth7.4000v199.
|
|
Code of the form:
for $i qw(a b c)
causes the warning:
Use of qw(...) as parentheses is deprecated
|
|
|
|
|
|
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.
|
|
Remove reference to unused Switch (Bug 6888).
Use mkdir perl function rather than calling system
|
|
Bug 7533
Remove unimplemented hook for enterprise MIB.
Several years ago developer added hook to SNMP config but it was
never completed or released.
|
|
This fix solves the problem with indirection. We introduce a symlink
in /live/image/boot pointing to the current default system image. The
pygrub config file in /boot/grub/menu.lst points to the kernel and
initrd files in the default image by using this symlink in the
pathname.
Every time we add, delete or change the default system image, we need
to change this symlink to point to the new default image.
|
|
Previously, the install-image program was adding a line to
/etc/inittab in the image being installed. This change adds a console
entry to the Vyatta config file instead. Because of that entry, the
system automatically generates a console entry for hvc0 in
/etc/inittab at boot time.
I also removed the code in install-image that added a line to
/etc/fstab to mount /proc/xen. This is no longer necessary because
the /etc/init.d/xe-linux-distribution startup script now mounts
/proc/xen.
|
|
|
|
|
|
|
|
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).
|
|
Previously, the user could only select the running config file, which
includes any changes the user may have made and saved, plus system
generated changes such as the MAC addresses of ethernet interfaces.
This change allows them to select that file or the system's default
config file.
|
|
(cherry picked from commit c78c504b6a63b2af51ae02f51cf1c447dd945818)
|
|
(cherry picked from commit d891558527fdc077b8c0b37c24cb8b17a2ae7043)
|
|
|
|
interface in the working config before allowing an address to be set on an interface, allows for swapping addresses in the same commit
|
|
|
|
In order to allow username and password parameters in the
corresponding op mode command, we allow username and password to be
specified on the install-image command line.
|
|
|
|
1. Fix thread_per_core -- now a global variable
2. Add documentation about where still broken with offline cpus
3. Break out hamming weight function (might be used to fix #2)
Tested on UP, 4 core x 2 thread, 8 socket (virt) and Multiqueue
and single queue NIC.
|
|
Change to using sysfs to read cpu topology. This makes code more
robust and follow the standard practice of other utilities.
As an added benefit, irq-affinty now handles offline cpu's and
other cases where cpu numbers are not fully populated.
|
|
|
|
On a UP system, there is no "physical-id" in /proc/cpuinfo.
|
|
Rather than reinventing existing code, use library.
|
|
Some single-queue NICs use the multiqueue IRQ naming format
(e.g. eth0-rx-0). We need to select the CPU assignements for these
IRQs using the same algorithm that we use for single-queue NICs using
the standard naming format (e.g. eth0).
|
|
|
|
|
|
|
|
For routing and other applications it is helpful to provide some
mechanism to reserve some set of CPU's and not assign interface
IRQ's to them.
Uses environment variable VYATTA_IRQAFFINITY_BANNED_CPUS
as mechanism similar to irqbalance(8).
|
|
|
|
left over from conversion to new grub.
|
|
|
|
|
|
Multiqueue setup was broken ixgbe because of s/assign/assing/
|
|
|
|
/opt/vyatta/etc/config
|
|
|
|
The script was looking up hostname and setting $LOGFILE, but
these parts are never used in current code.
|
|
|
|
|
|
Bug 7063
Need to convert MAC octets from hex to numeric before doing
math operations.
|
|
Bug 7062
The irq's on Netxen NIC are named:
eth0[0] eth0[1] eth0[2] ...
This confuses the auto IRQ affinity script.
|
|
|
|
The 'terminal' config statement is replaced by terminal_input and
terminal_output.
|
|
Need to pass correct offset for start of root partition
|
|
On tiny disks, then it doesn't make sense to waste space by offsetting
root partition. On big disks, it doesn't hurt and it allows for running
on SSD.
|
|
Bug 7032 (reprise)
Since there are various forms of multi-queue naming, it is better
to just go with the simplest pattern which is to take all the irq's
of form ethX-... and sort them.
|