- Nov 03, 2016
-
-
Adam Wujek authored
Kconfig: --add CONFIG_READ_SFP_DIAG_ENABLE libwr: --add the function shw_sfp_update_dom to update only needed values in the future --increase HAL_SHMEM_VERSION due to the changes in structures wrs_dump_shmem --add new fields HAL: --read DOM (Diagnostic Monitoring data) from SFP's eeprom at plug and once per second PPSI: --uplift hal shmem header wrs_sfp_dump: --support reading SFP's DOM from HAL Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 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
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
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 05, 2016
-
-
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>
-
- Aug 30, 2016
-
-
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
It is much more readable to have "port X" than "further port" in the Kconfig. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 12, 2016
-
-
Adam Wujek authored
Description was outdated because ppsi config is generated based on the PORTXX_PARAMS not TIME_XX. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 11, 2016
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
An alternative to "set -o pipefail" in the userspace/rootfs_override/etc/init.d/wrs_auxclk.sh is ${PIPESTATUS[0]}, but this is a bashism. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add startup script /etc/init.d/wrs_throttling.sh for setting up throttling Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
wrs_watchdog will use WRS_LOG_OTHER instead of WRS_LOG_WRSWATCHDOG as a destination for logs. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Improve wrs-user-manual and Kconfig Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jul 07, 2016
-
-
Adam Wujek authored
--Part of changing names of interfaces in WRS from wrX (wr0-17) to wriX (wri1-wri18). --Rename wr0 to wri1 in help Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Feb 12, 2016
-
-
Adam Wujek authored
Hostname can be configured in dot-config to be set via DHCP or statically. Additionally update documentation. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Feb 10, 2016
-
-
Adam Wujek authored
Make default log level as "Warning". By this don't print that SNMP packet was received. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Feb 09, 2016
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Added ZyXEL SFPs to database (not yet fully tested for synch) These SFPs are used in Btrain, if not in database, SNMP shows critical error
-
- Aug 28, 2015
-
-
Grzegorz Daniluk authored
-
- Aug 27, 2015
-
-
Grzegorz Daniluk authored
-
- Aug 26, 2015
-
-
Adam Wujek authored
force-dhcp can be used to retrieve a URL to the dot-config, which is downloaded during boot. try-dhcp the same as above but don't complain about unsuccessful receive of the URL via DHCP to SNMP. Update: --MIB - add tryDhcp and forceDhcp to the wrsConfigSource object; add dhcpError to the wrsBootConfigStatus object --SNMPd - same as the above; don't error in wrsBootConfigStatus when tryDhcp fails --dot-config's script - support new dot-config sources --Kconfig - support new dot-config sources --wrs_failures --wrs-user-manual --wrs_release_defconfig - add new items --create new script for udhcpc to save "filename" configuration field retrieved from DHCP server; it contains the URL to the dot-config to be downloaded. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jul 29, 2015
-
-
Alessandro Rubini authored
The new Kconfig option allows dowloading ppsi.conf at boot time, from TFTP or otherwise. The filename in the URL can include IPADDR and/or MACADDR, so the same configuration string can be used to set up a batch of switches with different configurations. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jul 15, 2015
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jul 10, 2015
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--Add destiantion to watchdog log to Kconfig --update documentation Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jul 08, 2015
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jul 06, 2015
-
-
Adam Wujek authored
--Update /etc/init.d/network script. Keeping lo up prevents monit from restarting dropbear and lighttpd, then finally rebooting system due to exceeded number of maximum application's restarts. --keep lo ocnfiguration in /etc/network/interfaces due to above --Update user manual Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Update Kconfig Update user-manual Update monit's init script Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Update Kconfig Update user-manual Update snmpd's init script Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jun 18, 2015
-
-
Adam Wujek authored
When monit is started from inittab instead of script /etc/init.d/monit.sh it will be respawned after its crash. Support stopping/starting monit by /etc/init.d/monit.sh To stop monit, STOP signal is sent to it. By this, init will not respawn monit, because it is still present in process' list. Add disabling monit in dot-config by option CONFIG_MONIT_DISABLE. When monit is disabled by dot-config, monit.sh will sleep forever, to satisfy init and prevent respawning Update dot-config items in user-manual. Include only *.conf instead of all files from /etc/monit.d/. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- May 12, 2015
-
-
Adam Wujek authored
Added init script /etc/init.d/S70wrs_auxclk to start wrs_auxclk with parameters read from dot-config. Added parameters to Kconfig: --WRSAUXCLK_FREQ --WRSAUXCLK_DUTY --WRSAUXCLK_CSHIFT --WRSAUXCLK_SIGDEL --WRSAUXCLK_PPSHIFT All above are used as parameters to wrs_auxclk, which configure external clock clk2 NOTE: This patch requires new Gateware! wrs_auxclk will hang switch when using gateware from last release of switch. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Apr 24, 2015
-
-
Adam Wujek authored
This patch is to replace previous way of managing ppsi configuration file. Instead of copying proper file based on chosen configuration PTP_* option in dot-config, now ppsi.conf file is assembled based on PORTXX_PARAMS fields in dot-config. --Kconfig: - remove options: - PTP_WR_DEFAULT - PTP_WR_MASTER - PTP_WR_AUTO - PTP_WR_AUTO_UDP - PTP_NONWR_UDP_ALL - add PTP_PORT_PARAMS (to let assembly ppsi.conf file) - keep option PTP_CUSTOM to use user's ppsi configuration file - move PTP_CUSTOM_FILENAME to different position - add property "proto" to PORTXX_PARAMS --remove predefined ppsi configs (not to be used anymore) from /wr/etc/ppsi-config-pool/: - WR_DEFAULT - WR_MASTER - WR_AUTO - WR_AUTO_UDP - NONWR_UDP_ALL --add new script assembly_ppsi_conf.sh to create ppsi.conf file. ppsi.conf file is assembled based on PORTXX_PARAMS fields like port name, proto(col) and role. All master, slave or auto ports are set to use whiterabbit extension --add file /wr/etc/ppsi-pre.conf to keep top of ppsi.conf including global options (later all options may be moved to dot-conf) --modivy apply_dot-config to use assembly_ppsi_conf.sh instead of old way. NOTE: update of documentation is missing Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Apr 21, 2015
-
-
Adam Wujek authored
Objects added: --wrsEndpointStatus --wrsSwcoreStatus --wrsRTUStatus --update MIB --add parameters to Kconfig Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Update: --MIB --Kconfig (update warning temp object name, add info about required hal restart after change treshold levels) --update wrsOSStatus Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Mar 04, 2015
-
-
Adam Wujek authored
Added menu "Management configuration" to Kconfig with: -moved options from "Local Network Configuration": --SNMP_TRAPSINK_ADDRESS --SNMP_TRAP2SINK_ADDRESS --SNMP_RO_COMMUNITY --SNMP_RW_COMMUNITY -added threshold levels: --SNMP_TEMP_THOLD_FPGA --SNMP_TEMP_THOLD_PLL --SNMP_TEMP_THOLD_PSL --SNMP_TEMP_THOLD_PSR Update user manual. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
SFP matching is done by in order: -vendor name, part number, serial -vendor name, part number -part number If .config's entry (i.e. serial) is not empty match will happen only with specific serial. Additionally: -Change default defines in Kconfig -Update user manual with matching info -Remove entry from wrs-todo about matching SFP vendor Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jan 04, 2015
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This commit adds the timing mode to Kconfig, but it is only used in later commits. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-