- Sep 26, 2016
-
-
Adam Wujek authored
Add to Kconfig: --RTU_HP_MASK_ENABLE --RTU_HP_MASK_VAL Update wrs_vlans: --add parameter --hpmask --read RTU_HP_MASK_* from dot-config --print hpmask with plist add a new minipc call rtud_export_hp_mask for HP mask Update wrs-user-manual Update wrs-developer-manual Update webinterface Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
remove --debug flag support -v/-q flags for more/less verbose output Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It was not possible to pass parameters when vid 0 was the first one specified wrs1#wrs_vlans --rvid 0 --rdrop 1 --rvid 1 --rdrop 1 wrs_vlans: missing "--rvid <vid>" before rtu cmd However, it was possible if any other vid was specified before: wrs1#wrs_vlans --rvid 1 --rdrop 1 --rvid 0 --rdrop 1 Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Update vlan.sh init script to let wrs_vlans to read configuration from the dot-config. Remove vlan_config.sh since it is not used anymore. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Changes: --add "--file|-f" parameter to read VLAN configuration from dot-config --"--debug" can take parameter --print VLAN configuration to be applied if debug enabled Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Specify vlans for ppsi in dot-config's field PORTXX_PARAMS. Use ppsi_vlans for that, with a colon separated list. PORTXX_PARAMS="...,ppsi_vlans=1:2:9" Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Keep all VLAN related configuration in the Kconfig_vlans.in. Source this file in the Kconfig Also copy it to the target. Kconfig_vlans.in is generated by a command: userspace/host_tools/gen_vlan_kconf.sh > Kconfig_vlans.in Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Sep 23, 2016
-
-
Adam Wujek authored
Since the Kconfig for VLANs contains repetable options, it is more convenient to generate it automatically, than write it by hand. To use this tool, simply redirect the output to the file Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add a support of sourcing another file in Kconfig Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
rtu deals with frames not packets. Fix printouts. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
PHP code of the web interface was updating values of "upload_max_filesize" and "post_max_size" in the /etc/php.ini. Besides it is extremely bad idea to do that, such changes to take place require restart of lighttpd, which was never performed. Luckily after the update of /etc/php.ini it was also copied to flash at the location /usr/etc/php.ini. Because of this update via webinterface worked only when: --firmware.php was opened via web browser --restart of a switch was performed The fix contains a patch to set these values in the php.ini and remove the update of php.ini by php code. Set maximum upload limit size to 30M in php.ini. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Following changes were made in this commit: --Add quotas to the arrays in the file var/www/data/wrs-data.php --Change CONFIG_PORT00_PARAMS to CONFIG_PORT01_PARAMS in the var/www/endpointcalibration.php. It looks like it was missed during interface renaming. --Change "file" into "firmware" in the firmware input form --Remove the help when mouse hovers over the form. The help wasn't filled anyway (remove title="'.$row["help"].). --fix part of the shell_exec command: awk '{print $NF}' escape the $ --use index 0..5 in the sfpcalibration.php --remove unlink after calling "rename" function Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Sep 05, 2016
-
-
Adam Wujek authored
Implement [Feature: 1363] support of a custom script to be run at boot
-
Adam Wujek authored
Add the following objects to wrsBootStatusGroup: --wrsCustomBootScriptSource --wrsCustomBootScriptSourceUrl --wrsCustomBootScriptStatus Update wrsOSStatusGroup.wrsBootSuccessful to use information from the above objects. Update wrs_failures Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
This will allow users to have special configuration (that is not possible to achieve by just using dot-config) without a need to manually handle custom script. The script can be used from /wr/bin/custom_boot_script.sh or downloaded during the boot. It is not possible to execute a script which was downloaded during the previous boot. But a script can be written in such way to copy itself to /wr/bin/custom_boot_script.sh. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add a minipc calls added at commits: [Feature: 1055] userspace/tools: add unrec command to rtu_stat [Feature: 1055] userspace/tools: add learning command to rtu_stat Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
no technical change Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 31, 2016
-
-
Adam Wujek authored
Use default hostname "wrs" when CONFIG_HOSTNAME_STATIC = y, but CONFIG_HOSTNAME_STRING is not defined. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 30, 2016
-
-
Adam Wujek authored
Length should be 128, not 64. Bug introduced by: a51052af userspace/snmpd: remove protocol from wrsConfigSource object Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Improve documentation of throttling's settings in the dot-config. In the wrs-user-manual and in the Kconfig. Supplements: Merge branch 'greg-throttling' Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Allow to specify hostname in the dot-config URL and in PPSI URL. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Before, some were without @t{}, some used @i{}. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It is much more readable to have "port X" than "further port" in the Kconfig. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--add struct shw_sfp_header sfp_header_raw to the struct hal_port_calibration. --Increase HAL_SHMEM_VERSION to 9 due to the above --add a parameter to the wrs_sfp_dump to dump eeprom directly from the SFP or saved data from HAL Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
stop explicitly snmpd before reboot to avoid messages: Jan 1 00:54:23 snmpd[1290]: read_config_store open failure on /var/lib/snmp/snmpd.conf Otherwise snmpd was stopped after unmount of filesystems. Stop monit to avoid possible respawn of processes during shutting down. remove "null" from the line in /etc/inittab null::shutdown:/etc/init.d/rcK to get printouts to the console. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
The change of parameter names was done due to change of interfaces names (from wrX to wriX+1) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Changes: --add edges of table --change colors parameters --print proto and extenstion (collumn "Pro") Everything except many configured vlans should fit into 80char terminal Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It looks like this script was forgotten when changing names of interfaces from wrX to wriX+1 Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
add the follwing fields to the wrs_dump_shmem: --struct pp_instance: --t5 /* *the* stamps */ --t6 /* *the* stamps */ --t4_cf /* peer delay */ --t6_cf /* peer delay */ --struct wr_servo_state: --t5 --t6 remove: --struct pp_instance: --log_min_delay_req_interval modify: --struct pp_instance: --role from unsigned char to int --proto from unsigned char to int Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 22, 2016
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 15, 2016
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 12, 2016
-
-
Adam Wujek authored
Bug introduced in the commit: userspace/libwr: move defines of rtu entry type to libwr Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Move files from /wr/etc (flash) to /etc (ramdisk) to avoid flash writes. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-