Skip to content
Snippets Groups Projects
  1. Jul 05, 2024
  2. May 08, 2023
  3. May 25, 2020
  4. May 22, 2020
  5. Mar 27, 2020
  6. Mar 04, 2020
  7. Feb 26, 2020
  8. Feb 20, 2020
  9. Jan 08, 2020
  10. Jun 26, 2019
  11. Apr 10, 2019
  12. Feb 19, 2019
  13. Dec 13, 2016
  14. Aug 11, 2016
  15. Jul 20, 2016
  16. Jul 19, 2016
  17. Jul 13, 2016
    • Adam Wujek's avatar
      userspace/snmpd: (no tech change) rename fields in the wrsPortStatusTable_s · a7c0497b
      Adam Wujek authored
      
      Rename fields in the struct wrsPortStatusTable_s to reflect SNMP objects'
      names.
      
      link_up -> wrsPortStatusLink
      port_mode -> wrsPortStatusConfiguredMode
      port_locked -> wrsPortStatusLocked
      sfp_vn[16] -> wrsPortStatusSfpVN[16]
      sfp_pn[16] -> wrsPortStatusSfpPN[16]
      sfp_vs[16] -> wrsPortStatusSfpVS[16]
      sfp_in_db -> wrsPortStatusSfpInDB
      sfp_GbE -> wrsPortStatusSfpGbE
      sfp_error -> wrsPortStatusSfpError
      ptp_tx_count -> wrsPortStatusPtpTxFrames
      ptp_rx_count -> wrsPortStatusPtpRxFrames
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      a7c0497b
  18. Jul 07, 2016
  19. Feb 24, 2016
    • Adam Wujek's avatar
      userspace/snmpd: bugfix 1164, replace time() with monotinic version from libwr · 3a82aacf
      Adam Wujek authored
      
      It was possible that SNMP objects in expert branch don't update.
      It pop-up in following scenario:
      1. slave switch is started with no ntp configured
      2. read via snmp from slave
      3. master switch is started with no ntp configured
      4. slave sync to master and set it's time, by this system clock on slave is set
         to earlier date
      5. read via snmp from slave will end up in the same results in expert branch of
         the MIB.
      
      Our part of SNMP implementation used "time" function for calculating SNMP's
      cache timeouts. When clock is set backwards then cache can be valid for very
      long time.
      
      Monotonic clock is used instead from ulit.c (libwr)
      
      Add util.c to the compilation.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      3a82aacf
  20. Aug 31, 2015
  21. Aug 21, 2015
  22. Aug 20, 2015
  23. Jul 28, 2015
  24. Jul 10, 2015
  25. Jul 09, 2015
  26. Jun 30, 2015