From 1187dc7701a647409504e9228fea90d03fb323a4 Mon Sep 17 00:00:00 2001 From: Avinash Kumar Date: Fri, 25 Sep 2015 09:59:27 -0700 Subject: [PATCH] @2661842 In our direct flow module, take the default action of returning --- eos/inline/types/directflow.h | 2 ++ eos/types/directflow.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/eos/inline/types/directflow.h b/eos/inline/types/directflow.h index b2bcee30..a5dc1a88 100644 --- a/eos/inline/types/directflow.h +++ b/eos/inline/types/directflow.h @@ -626,6 +626,8 @@ operator<<(std::ostream& os, const flow_status_t & enum_val) { os << "FLOW_DELETED"; } else if (enum_val==FLOW_REJECTED) { os << "FLOW_REJECTED"; + } else if (enum_val==FLOW_PENDING) { + os << "FLOW_PENDING"; } else { os << "Unknown value"; } diff --git a/eos/types/directflow.h b/eos/types/directflow.h index c85d7696..b8b5b2d2 100644 --- a/eos/types/directflow.h +++ b/eos/types/directflow.h @@ -346,6 +346,8 @@ enum flow_status_t { FLOW_DELETED, /** Flow not created. */ FLOW_REJECTED, + /** Flow requesting hardware resources. */ + FLOW_PENDING, }; /** Appends a string representation of enum flow_status_t value to the ostream. */ std::ostream& operator<<(std::ostream& os, const flow_status_t & enum_val);