1. 28 Oct, 2019 1 commit
    • Maciej Lipinski's avatar
      SNMP: fixed/updated wrsPtpDataTable · b066b6e7
      Maciej Lipinski authored
      The fields in this table were not really filled in after
      substantial changes to the PPSi architecture regarding
      servo (HA-related). Filling in of the fields in this
      table had to be redone. This commit fixes filling in
      most of the fields that were field before. There are still
      some fields that are not filled in, tbd.
      b066b6e7
  2. 19 Jul, 2016 1 commit
    • Adam Wujek's avatar
      userspace/snmpd: (no tech change) rename fields in the wrsPtpDataTable_s · 2391521e
      Adam Wujek authored
      Rename fields in the struct wrsSpllVersionGroup_s to reflect SNMP objects'
      names.
      
      index -> wrsPtpDataIndex
      port_name -> wrsPtpPortName
      gm_id -> wrsPtpGrandmasterID
      my_id -> wrsPtpOwnID
      ppsi_mode -> wrsPtpMode
      servo_state_name -> wrsPtpServoState
      servo_state -> wrsPtpServoStateN
      tracking_enabled -> wrsPtpPhaseTracking
      sync_source -> wrsPtpSyncSource
      clock_offset -> wrsPtpClockOffsetPs
      clock_offsetHR -> wrsPtpClockOffsetPsHR
      skew -> wrsPtpSkew
      rtt -> wrsPtpRTT
      llength -> wrsPtpLinkLength
      servo_updates -> wrsPtpServoUpdates
      delta_tx_m -> wrsPtpDeltaTxM
      delta_rx_m -> wrsPtpDeltaRxM
      delta_tx_s -> wrsPtpDeltaTxS
      delta_rx_s -> wrsPtpDeltaRxS
      n_err_state -> wrsPtpServoStateErrCnt
      n_err_offset -> wrsPtpClockOffsetErrCnt
      n_err_delta_rtt -> wrsPtpRTTErrCnt
      update_time -> wrsPtpServoUpdateTime
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      2391521e
  3. 07 Jul, 2016 1 commit
  4. 09 Jul, 2015 1 commit
  5. 30 Jun, 2015 2 commits
  6. 21 Apr, 2015 2 commits
    • Adam Wujek's avatar
      userspace/snmpd: change order of branches in MIB · 915e2ca2
      Adam Wujek authored
      No technical change.
      
      Change location of branch wrSwitchMIB.wrsStatus from high number (256) to
      low (6), then move wrSwitchMIB.wrsEpertStatus to (7).
      At the beginning wrsStatus branch was placed at high number because objects
      from that branch might use several other objects to calculate their own value.
      For example, there was a risk that query of wrsMainSystemStatus triggers
      cascade of time consuming cache fills and snmpget timeouts. However, practice
      shown that cache filling is significantly shorter that SNMP transfers.
      Additionally, such risk was possible in case of snmpwalk or other method
      querying objects in order.
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      915e2ca2
    • Adam Wujek's avatar
      userspace/snmpd: convert wrsPtpData into table wrsPtpDataTable · 25e1d52d
      Adam Wujek authored
      When switchover is implemented we may have multiple servo instances
      --update MIB
      --add ppsi headers to wrsSnmp.h
      --update Makefile
      --update init.c
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      25e1d52d