summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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.
2011-05-02Fix irq-affinity mapping for multiqueue NIC'sStephen Hemminger
Bug 7032 Fix matchinging of irq's named 'eth0-TxRx-0'. And change the code to handle any form of IRQ naming of multiqueue that is eth0-xxx-0.
2011-04-30Yet another better alignment startStephen Hemminger
Parted has magic value '0%' which causes it to choose optimum alignment (2048 on most disks).
2011-04-30Fix alignment of root partitionStephen Hemminger
Redo Bug 7038 The previous change did nothing; the alignment option only reports alignment, it does not change values. Need to manually reserve space before root partition.
2011-04-28Tell parted to align disk partitionStephen Hemminger
Bug 7038 Align the created disk partition for both install-system and initial install-image. Note: can't fix existing systems where disk is already partitioned. They will just have to suffer with poor performance.
2011-04-20Fix Bug 6811 ENH: add a proper post-configuration boot scriptMohit Mehta
* added /config/scripts/vyatta-postconfig-bootup.script that gets called from /etc/rc.local. Users/Support can put in any workarounds in the script for unfixed bugs and enhancements that are not in Vyatta yet. Placing the script under /config makes sure that changes to the script will be preserved for the new image
2011-04-18* run start-up script vyatta-config-reboot-params very early in boot processMohit Mehta
This script executes scripts lying in the following directory: /opt/vyatta/bin/sudo-users/check-params-on-reboot.d Scripts in check-params-on-reboot.d are intended for parameters that require a reboot to take effect after they are set/changed. Because of the reboot requirement, underlying value and related config paramter value can become out-of-sync in couple of cases: 1. change parameter value, don't save config, reboot. Underlying value is different than the value in config file. 2. install new image; when new image boots, underlying value is the default Vyatta shipped value not the value in config file. More info: http://bugzilla.vyatta.com/show_bug.cgi?id=6915#c1 This check-in also adds ipv6_disable_blacklist script in check-params-on-reboot.d to fix the above mentioned problem for 'system ipv6 disable' and 'system ipv6 blacklist'
2011-04-13* Add help and checks for VRRP transition-script nodesMohit Mehta
to push users towards putting scripts in /config/scripts
2011-04-13fix typo in irq-affinityStephen Hemminger
2011-04-13Fix irq naming convention mapping codeStephen Hemminger
The mislabeled commit ddce08161907797fe914ba609b362d812e23fc8a Fix wrong name in get_irq_affinity Was some code to handle Broadcom device IRQ naming convention that was untested. The part that built regex was incorrectly expanding a string with regex characters.
2011-04-13Bonding script typoStephen Hemminger
Was using 'smp_affinity' where code meant 'get_irq_affinity'
2011-04-10Fix wrong name in get_irq_affinityStephen Hemminger
2011-03-30Merge branch 'napa' of 192.168.230.2:vyatta/napa/vyatta-cfg-system into napaStephen Hemminger
2011-03-30Reset irq affinity when adding interface to bond groupStephen Hemminger
Bug 6947 When adding device to bond-group, restore smp affinity
2011-03-25Fix use of uninitialized ospeedStephen Hemminger
If speed can not be determined then ospeed is undef.
2011-03-16Handle irq assignment on multiqueue NICStephen Hemminger
Bug 6845, 6821 Need to avoid using /sys/class/net/ethX/device/irq (or /sys/bus/pci/.../irq) because these don't handle MSI or multiqueue. This also resolves issues with Vmware/ESX.
2011-03-11Speed/duplex setup improvementsStephen Hemminger
Bug 6906 1. Fix parsing of 'Unknown' Speed in regex 2. Don't error if device can not get current speed/duplex 3. Do error if ethtool fails when setting speed/duplex
2011-03-10fix for bug 6081. Warning, but allow commit to proceed if duplicate address ↵Michael Larson
is found.
2011-03-08Fix typo in domain name regexStephen Hemminger
meant to allow any upper (or lower case) in domain name.
2011-03-08Test for ipv6 blacklist when configuring SNMPStephen Hemminger
Bug 6432 Since IPv6 can be disabled several ways and the config may not match the system, use socket to test if IPv6 is disabled.
2011-03-07Fix SNMP ifAlias for more than 10 devicesStephen Hemminger
Bug 6853 Handle OID format when ifIndex is 10 or greater. Needed to fix regex parsing. Also allow symbolic OID.
2011-03-03Fix network name scan for wirelessStephen Hemminger
Bug 6818 The regex to extract wireless name was incorrect. Recode for clarity rather than adding more complex regex.
2011-03-02Fix script to handle more than 10 interfacesStephen Hemminger
Bug 6861 Fix submitted by devolish <ole.myhre@dataoppdrag.no>
2011-03-01Warn if attempting to force mask on multiqueue NICStephen Hemminger
Bug 6845 Warn (and ignore) attempt to assign IRQ directly on multiqueuej NIC.
2011-02-25Workaround Xen NIC addressStephen Hemminger
Bug 6837 Xen does not behave like normal hardware. It assigns a random MAC address (with local bit set).
2011-02-25Change where ipv6 route table size is increasedStephen Hemminger
Can't do it early in boot because ipv6 module may not be loaded.
2011-02-25Validate domain and host nameStephen Hemminger
Bug 6243 More complete validation of host name and domain name
2011-02-25Don't set irq affinity if device is disabledStephen Hemminger
Bug 6784 No point in trying to force affinity if device is offline.
2011-02-22Handle Vmware mulitqueue naming conventionStephen Hemminger
Adapt to irq naming convention in 2.6.37 kernel for vmxnet3 driver.
2011-02-21Handle case of device with no active IRQStephen Hemminger
Bug 6784 Disabled device has no IRQ, so don't change it.
2011-02-18Use standard mechanism to start/stop snmpStephen Hemminger
The net-snmp has snmpd.init script which is installed in standard place. Invoke it with standard mechanism to avoid any security or other problems. Also allows debugging snmpd by changing /etc/default/snmp.
2011-02-03Bugfix 6773: Spread load of single-queue NICs across all CPUs.Bob Gilligan
The initial CPU selection function needs to take hyperthreading into account.
2011-02-01Bugfix 6156: Allow time for renaming to complete before running biosdevnameBob Gilligan
It appears that biosdevname can be confused if interface renaming is being performed by other udev worker processes at the same time that it is running. Since vyatta_net_name does protect the body of its code with a lock, we can be sure that no other renaming will be started in other udev worker processes while this one is running in vyatta_net_name. But renaming being performed by other udev worker processes that were triggered by previous executions of vyatta_net_name may still be in progress. This change gives any interface renaming that was called for by previous invocations of vyatta_net_name a chance to complete before we call biosdevname. (cherry picked from commit 9dd41e8481e84bf80fcb0e9c3d7843c8a0b20059)
2011-01-31Fix grammar error in help string.Robert Bays
(cherry picked from commit a943568e64bca73bb2951e968d0cc752d72874ab)
2011-01-31Fix Bug 6696 Internal error for release/renew dhcp interface under op modeMohit Mehta
* do not execute config-mode actions when called from op-mode (cherry picked from commit c385ddc400788eff46f10fea6b57b593607dc290)
2011-01-26Fix vrrp duplicate generation of last sync-group entry.Stig Thormodsrud
(cherry picked from commit 8529fbe7ed23023e936f5c7cab9663007d0476d3)