Skip to content
Snippets Groups Projects
  1. 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
    • Adam Wujek's avatar
      rootfs: don't overwrite dot-config_status in apply_dot-config · 8340388b
      Adam Wujek authored
      
      /etc/init.d/dot-config can save information e.g. that it failed to get
      dot-config form the given URL. However, apply_dot-config called from
      /etc/init.d/dot-config overwrites this information by the result of checking
      the dot-config. The checking of the dot-config has to be done also in
      apply_dot-config, because the webinterface writes down changed dot-config and
      executes only apply_dot-config.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      8340388b
  2. Jul 07, 2016