5 #ifndef __AGENT_TRAFFIC_ACTION_H__
6 #define __AGENT_TRAFFIC_ACTION_H__
12 #include <boost/uuid/uuid.hpp>
13 #include <boost/uuid/uuid_io.hpp>
14 #include <boost/uuid/nil_generator.hpp>
20 #include <agent_types.h>
97 IpAddress ip, uint16_t port, std::string encap) :
139 const std::string&
name()
const {
std::string GetAnalyzerName()
virtual ~QosConfigAction()
virtual bool Compare(const TrafficAction &rhs) const =0
boost::asio::ip::address IpAddress
const AgentQosConfig * qos_config_ref() const
const std::string & vrf_name() const
static const uint32_t DROP_FLAGS
virtual bool Compare(const TrafficAction &rhs) const
const std::string & name() const
DISALLOW_COPY_AND_ASSIGN(AlertAction)
virtual void SetActionSandeshData(std::vector< ActionStr > &actions)
static const std::string kActionLogStr
QosConfigAction(const std::string &qos_config_name)
virtual void SetActionSandeshData(std::vector< ActionStr > &actions)
SimpleAction(Action action)
MirrorAction(std::string analyzer_name, std::string vrf_name, IpAddress ip, uint16_t port, std::string encap)
virtual bool Compare(const TrafficAction &rhs) const
static const std::string kActionHbsStr
boost::intrusive_ptr< const AgentQosConfig > AgentQosConfigConstRef
void set_qos_config_ref(const AgentQosConfig *config)
virtual bool Compare(const TrafficAction &rhs) const
DISALLOW_COPY_AND_ASSIGN(SimpleAction)
static std::string ActionToString(enum Action at)
virtual bool Compare(const TrafficAction &rhs) const
virtual void SetActionSandeshData(std::vector< ActionStr > &actions)
std::string analyzer_name_
TrafficAction(Action action, TrafficActionType type)
virtual bool Compare(const TrafficAction &rhs) const
virtual bool Compare(const TrafficAction &rhs) const
virtual bool Compare(const TrafficAction &rhs) const
DISALLOW_COPY_AND_ASSIGN(LogAction)
TrafficActionType action_type_
bool operator==(const TrafficAction &rhs) const
VrfTranslateAction(const std::string &vrf_name, bool ignore_acl)
static const std::string kActionAlertStr
static const uint32_t IMPLICIT_DENY_FLAGS
DISALLOW_COPY_AND_ASSIGN(MirrorAction)
AgentQosConfigConstRef qos_config_ref_
static const uint32_t PASS_FLAGS
TrafficActionType action_type() const
DISALLOW_COPY_AND_ASSIGN(HbsAction)
virtual void SetActionSandeshData(std::vector< ActionStr > &actions)