- Mar 11, 2015
-
-
Adam Wujek authored
Second test of $? value was not always result of command "tftp $eth0.ipaddr/wrboot wrboot", but sometimes result of first if statement (in case first tftp was successful). In other words, when there was file wrboot-$eth0.ethaddr on tftp server, script was still fetching and executing wrboot. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Please not that some commits had non backward compatible changes in MIB. However, end result of MIB is backward compatible.
-
Adam Wujek authored
Please not that within this git branch there we non backward compatible changes in MIB. Move branch wrsPtpGlobals, wrsPortsTable and wrsTemperature to previously removed wrsPpsi. Moved branches and objects contain "X" at the end. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Mar 04, 2015
-
-
Adam Wujek authored
Add Not Availavle (NA) value for objects: -ptpPhaseTracking -portLink -portLocked -portSfpError SNMP's recommendation is that valid values should be greater than 0. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Functions wrs_fpopen and wrs_fpclose are not needed anymore. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Read temperatures and threshold levels of temperatures: -fpga -pll -psl -psr Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
-rename since read_hal will read also temperatures -add static to global variables -no need to read_servo before show_unadorned_ports Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
In PPSI remove structure ptpdexp_sync_state_t, which was used by removed call. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Get info about ppsi only from ppsi's shmem. Don't display duplicated data. Remove SHOW_SNMP_GLOBALS, since SNMP doesn't use wr_mon for servo stats anymore. It uses ppsi shmem. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
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
Note threshold level is not implemented in .config. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Create new branch for temperature sensors wrsTemperature (1.3.6.1.4.1.96.100.8) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
HAL at update of fan speed reads Switch's temperature sensors. Sensors read: -FPGA -PLL (was read before to drive PWM for fan) -Power supply left -Power supply right Additionally: -add hal_temp_sensors structure to hal shmem, add current temperature and threshold values (to be implemented in later commits) -increment HAL_SHMEM_VERSION -update hal_shmem.h in ppsi -update dump_shmem with new structure, add specific type for temperature sensors -in hal_ports.c --rename struct wrs_shm_head *head to struct wrs_shm_head *hal_shmem_hdr --remove void *hal_port_shmem as not needed, --make struct hal_shmem_header *hal_shmem extern, defined in hal_main.c Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Replace define I2C_SFP_H with I2C_IO_H It was not possible to include i2c_io.h and i2c_sfp.h at the same time Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
split wrsPtp from wrSwitchMIB 3 (1.3.6.1.4.1.96.100.3) into: --wrsPtpGlobals (wrSwitchMIB 6 (1.3.6.1.4.1.96.100.6)), old wrsPtpGlobals --wrsPortsTable (wrSwitchMIB 7 (1.3.6.1.4.1.96.100.7)), old wrsPtp.ptpPort rename wrsPstats into wrsPstatsTable Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
PTP related objects should be called WR-SWITCH-MIB::ptp* instead of WR-SWITCH-MIB::ppsi*. People need to know it's PTP related, not necessary that the running PTP engine is PPSi. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
To report when invalid SFP configuration is detected and actions has to be taken. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Until now snmpd and wr_mon reported mode only as master or slave. However, mode can be also non-wr or auto. changed: -wr_mon -snmp -MIB -dump_shmem Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Remove note about extra item after wrs tables (bug fixed already) Add example how to print all objects exported by wrs Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Rename portSfpID into portSfpPN, which keeps part number (like AXGE-3454-0531). Add portSfpVN to keep Vendor name (like Axcen). Add portSfpVS to keep Vendor serial number (like AX12030003038). Update MIB. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add to snmp: -portSfpID - PN of SFP inserted into switch port -portSfpInDB - report if inserted SFP is in data base -portSfpGbE - report if inserted SFP is 1GbE, note only 1GbE are supported by FPGA update wrs_dump_shmem to display portSfpInDB and portSfpGbE flags. Update MIB. Fix typo in MIB file (ppsiGrandmaterID -> ppsiGrandmasterID) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
There is no need to report port_locked, peer_id (and later sfp info, etc.) for disabled ports. 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>
-
Adam Wujek authored
Update dump_shmem accordingly. Increment HAL_SHMEM_VERSION due to changes in shw_sfp_caldata structure. Still missing matching based on vendor name and part number. Update hal_shmem.h in ppsi Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Remove spaces from read SFP header -vendor_name -vendor_pn -vendor_serial Don't read SFP header twice at hal_port_insert_sfp in hal_port. Before header was read first in function shw_sfp_read_verify_header, then indirectly by shw_sfp_get_cal_data Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
add to snmpd and MIB: -WR-SWITCH-MIB::ppsiDeltaTxM -WR-SWITCH-MIB::ppsiDeltaRxM -WR-SWITCH-MIB::ppsiDeltaTxS -WR-SWITCH-MIB::ppsiDeltaRxS Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Update needed because wr_mon uses now shmem to get ppsi status. Note that is still uses ipc for enable/disable tracking. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Since there is no more parsing of wr_mon name field is not needed. All data are read from shmem. 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
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
-update snmp do use ppsi's shmem -update WR-SWITCH-MIB.txt -update makefile -removed wr_mon parsing It looks like ppsi's servo state provided in servo_state_name is not current state but previous Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Double values printed by ipc with shmem to verify readings. IPC to be removed soon. No need do update snmp's part of wr_mon since it will be removed (snmp will use shmem directly). Include implementation of shmem locks for read. It was seen that phase setpoint read via shmem sometimes differs from value read via ipc. However it shmem's value is more recent. Assignment of ipc's cur_setpoint in ppsi's servo is done before setting to new value. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
dump_many_fields shall check if pointer to dump is valid. It is simpler than checking if all wrs_shm_follow were successful. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Dump entire struct wr_servo_state_t Add global_ext_data to pp_globals Remove temporary WRS_PPSI_SHMEM_VERSION Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
since this structure is included in ppsi.h Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Changes include: - lift of ppsi commit - temporarly define WRS_PPSI_SHMEM_VERSION in wrs_dump_shmem.c since dumper requires structure updates Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-