Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2163

Remove WDA_BILLING, ACC_ALARMS etc. code and definitions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.2
    • TS API
    • None

    Description

      These defines and API was designed for a specific Inktomi customer, which asked for their own set of alarms for their plugin. This is useless IMO, and we should remove it. IF long term we want extensible alarm codes, a different solution should be put in place (one where plugins can register alarms and alarms definitions).

      Please voice your objections to this if you feel that these should stay:

      -#define REC_ALARM_WDA_BILLING_CONNECTION_DIED   100
      -#define REC_ALARM_WDA_BILLING_CORRUPTED_DATA    101
      -#define REC_ALARM_WDA_XF_ENGINE_DOWN            102
      -#define REC_ALARM_WDA_RADIUS_CORRUPTED_PACKETS  103
      -
      -#define REC_ALARM_ACC_ALARMS_START              200
      -#define REC_ALARM_ACC_ALARMS_END                299
      

      and from ts/experimental.h (oxygen was the Inktomi customer I think):

      -  typedef enum
      -    {
      -      TS_SIGNAL_WDA_BILLING_CONNECTION_DIED = 100,
      -      TS_SIGNAL_WDA_BILLING_CORRUPTED_DATA = 101,
      -      TS_SIGNAL_WDA_XF_ENGINE_DOWN = 102,
      -      TS_SIGNAL_WDA_RADIUS_CORRUPTED_PACKETS = 103
      -    } TSAlarmType;
      -
      -  /* ===== Alarm ===== */
      -  /****************************************************************************
      -   *  ??
      -   *  contact: OXYGEN
      -   ****************************************************************************/
      -  tsapi void TSSignalWarning(TSAlarmType code, char *msg);
      

      Attachments

        Activity

          People

            zwoop Leif Hedstrom
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: