summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2011-11-28Display vmac interface name in "show vrrp interfaces ..." commandBob Gilligan
2011-11-28Use new naming convention for VRRP virtual mac interfaces.Bob Gilligan
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.
2011-11-22Fix perl deprecated warning with 5.14Stephen Hemminger
Code of the form: for $i qw(a b c) causes the warning: Use of qw(...) as parentheses is deprecated
2011-11-21Fix dyndns failure caused by commit: 5d27f2ef302dc600ea737e9af4151041aa11a2e0John Southworth
2011-11-09Adding CLI option for domain overrides for DNS forwarding, bug id 4086Gaurav Sinha
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-11-04Cleanup dynamic DNS scriptStephen Hemminger
Remove reference to unused Switch (Bug 6888). Use mkdir perl function rather than calling system
2011-10-07snmp: remove unused enterprise-mib hookStephen Hemminger
Bug 7533 Remove unimplemented hook for enterprise MIB. Several years ago developer added hook to SNMP config but it was never completed or released.
2011-10-12Bugfix 7502: Get "add system image" to work on XenBob Gilligan
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.
2011-09-01Bugfix 7488: Configure Xen PV console hvc0 in Vyatta config file.Bob Gilligan
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.
2011-08-31Bugfix 7469: Add support for installing onto XenBob Gilligan
2011-08-23Bugfix 7461: Fix syntax problem when setting a mac addressJohn Southworth
2011-08-05Merge branch 'oxnard' of nehalam:vyatta/oxnard/vyatta-cfg-system into oxnardStephen Hemminger
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-08-17Bugfix 7350: Allow default config.boot to be selected as config file.Bob Gilligan
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.
2011-08-14Bugfix 7070: Need to provide full path for irq-affinity.pl in system()Bob Gilligan
(cherry picked from commit c78c504b6a63b2af51ae02f51cf1c447dd945818)
2011-08-12Add hook to call a config migration script when upgrading from VSE Demo.Bob Gilligan
(cherry picked from commit d891558527fdc077b8c0b37c24cb8b17a2ae7043)
2011-07-05Move the is_uniq_address function to Interface.pmJohn Southworth
2011-07-01bugfix 6801: check to see if the same address is configured on another ↵John Southworth
interface in the working config before allowing an address to be set on an interface, allows for swapping addresses in the same commit
2011-06-24Make add system image use the new config directory for copying filesJohn Southworth
2011-07-14Bugfix 5856: Add username and password options.Bob Gilligan
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.
2011-05-25alternative fix for bug 6958An-Cheng Huang
2011-05-20irq-affinity: more fixupStephen Hemminger
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.
2011-05-20irq-affinity: use sysfs to read cpu topologyStephen Hemminger
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.
2011-05-20irq-affinity: initialize sockets to 1Stephen Hemminger
2011-05-19irq-affinity: fix handling of UP systemStephen Hemminger
On a UP system, there is no "physical-id" in /proc/cpuinfo.
2011-05-19Use syslog perror for debug optionStephen Hemminger
Rather than reinventing existing code, use library.
2011-05-17Bugfix: 6773 (again). Fix handling of single-queue NICs on MPs.Bob Gilligan
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).
2011-05-17Fix calculation of number of cores on systems with more than one socket.Bob Gilligan
2011-05-17Merge branch 'napa' of http://git.vyatta.com/vyatta-cfg-system into napaBob Gilligan
2011-05-18Fix 5912: "show vrrp" doesn't list sync-groupStig Thormodsrud
2011-05-17irq-affinity: add workaround to avoid some cpu'sStephen Hemminger
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).
2011-05-17Merge branch 'napa' of vm:vyatta/napa/vyatta-cfg-system into napaStephen Hemminger
2011-05-17Fix grub syntax errorStephen Hemminger
left over from conversion to new grub.
2011-05-17Support more than 10 CPUs.Bob Gilligan
2011-05-16eliminate hard-coded commit hook directoryAn-Cheng Huang
2011-05-16smp-affinity: fix typo for assign_multiqueueStephen Hemminger
Multiqueue setup was broken ixgbe because of s/assign/assing/
2011-05-12Merge branch 'napa' of git.vyatta.com:/git/vyatta-cfg-system into napaJohn Southworth
2011-05-12Bugfix 7076: make add system image copy to /config instead of ↵John Southworth
/opt/vyatta/etc/config
2011-05-12Merge branch 'napa' of suva.vyatta.com:/git/vyatta-cfg-system into napaStephen Hemminger
2011-05-12Remove unused parts of rl-system.initStephen Hemminger
The script was looking up hostname and setting $LOGFILE, but these parts are never used in current code.
2011-05-11Fix Bug 7012 make /config available with init-floppyMohit Mehta
2011-05-10support interactive mode for rest api for install image op mode commands.Michael Larson
2011-05-09Convert mac octets from hexStephen Hemminger
Bug 7063 Need to convert MAC octets from hex to numeric before doing math operations.
2011-05-06Support netxen NIC irq naming conventionStephen Hemminger
Bug 7062 The irq's on Netxen NIC are named: eth0[0] eth0[1] eth0[2] ... This confuses the auto IRQ affinity script.
2011-05-05Make ext4 the default file system typeStephen Hemminger
2011-05-04Update grub config to new syntaxStephen Hemminger
The 'terminal' config statement is replaced by terminal_input and terminal_output.
2011-05-04Align install-image partition correctlyStephen Hemminger
Need to pass correct offset for start of root partition
2011-05-03Adjust root partition offset based on disk sizeStephen Hemminger
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.
2011-05-03Make irq affinity handle any irq naming conventionStephen Hemminger
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.