diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-06-09 07:22:42 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-06-09 07:39:53 +0000 |
commit | 8d76a69b1b0f70e10fbfdde4e2b9e1ab442632e6 (patch) | |
tree | 6ababbea743f288b8a82e56f877103a8f3cc8838 /configd/src/apps/sentinel/outward-check.h | |
parent | baac9f2eb87de12980f1586d35f9b1c71648bf06 (diff) |
classify CONN_FAIL results using corner probes
Diffstat (limited to 'configd/src/apps/sentinel/outward-check.h')
-rw-r--r-- | configd/src/apps/sentinel/outward-check.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configd/src/apps/sentinel/outward-check.h b/configd/src/apps/sentinel/outward-check.h index 11faee1d707..d8803e22a02 100644 --- a/configd/src/apps/sentinel/outward-check.h +++ b/configd/src/apps/sentinel/outward-check.h @@ -27,7 +27,7 @@ struct OutwardCheckContext { ~OutwardCheckContext(); }; -enum class CcResult { UNKNOWN, CONN_FAIL, REVERSE_FAIL, REVERSE_UNAVAIL, ALL_OK }; +enum class CcResult { UNKNOWN, AFFIRMED_DOWN, CONN_FAIL, UNREACHABLE_UP, REVERSE_FAIL, REVERSE_UNAVAIL, ALL_OK }; class OutwardCheck : public FRT_IRequestWait { private: @@ -42,6 +42,7 @@ public: void RequestDone(FRT_RPCRequest *req) override; bool ok() const { return _result == CcResult::ALL_OK; } CcResult result() const { return _result; } + void classifyResult(CcResult value); }; } |