- Aug 11, 2016
-
-
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>
-
Alessandro Rubini authored
This commit adds fiber parameters to Kconfig. To be used to specify fiber-specific alpha values. Use in the next commits. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This commit adds SFP parameters to Kconfig. To be used in place of the sfp_database.conf. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This commit adds port parameters to Kconfig, using the same values we currently have in wrsw_hal.conf (i.e: tx delay = 0, rx delay = 160000 or 161200). These values are used in later commits, where this dot-config stuff is replacing wrsw_hal.conf. The "role=" and "fiber=" values will be used later, but I'd better write them now to avoid excessive edits to this file. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Dec 17, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Dec 15, 2014
-
-
Alessandro Rubini authored
PPSi is not optional, so change Kconfig in order not to run the question. Also, rename "Local" to "Local Network" configuration. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Dec 12, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Dec 11, 2014
-
-
Alessandro Rubini authored
Now /etc/init.d/S20dot-config is able to download a new dot-config file if the user specified an URL at configuration time. We support tftp, http and ftp. Full documentation in next commit. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Sep 30, 2014
-
-
Alessandro Rubini authored
We are now strong with ppsi, remove any reference to ptp-noposix. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Apr 01, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 01, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-