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 {
boost::asio::ip::address IpAddress
boost::intrusive_ptr< const AgentQosConfig > AgentQosConfigConstRef
virtual bool Compare(const TrafficAction &rhs) const
DISALLOW_COPY_AND_ASSIGN(AlertAction)
virtual bool Compare(const TrafficAction &rhs) const
DISALLOW_COPY_AND_ASSIGN(HbsAction)
DISALLOW_COPY_AND_ASSIGN(LogAction)
virtual bool Compare(const TrafficAction &rhs) const
DISALLOW_COPY_AND_ASSIGN(MirrorAction)
MirrorAction(std::string analyzer_name, std::string vrf_name, IpAddress ip, uint16_t port, std::string encap)
std::string GetAnalyzerName()
virtual void SetActionSandeshData(std::vector< ActionStr > &actions)
std::string analyzer_name_
virtual bool Compare(const TrafficAction &rhs) const
virtual void SetActionSandeshData(std::vector< ActionStr > &actions)
QosConfigAction(const std::string &qos_config_name)
virtual bool Compare(const TrafficAction &rhs) const
void set_qos_config_ref(const AgentQosConfig *config)
const std::string & name() const
virtual ~QosConfigAction()
const AgentQosConfig * qos_config_ref() const
AgentQosConfigConstRef qos_config_ref_
DISALLOW_COPY_AND_ASSIGN(SimpleAction)
virtual bool Compare(const TrafficAction &rhs) const
SimpleAction(Action action)
static const uint32_t PASS_FLAGS
static std::string ActionToString(enum Action at)
TrafficActionType action_type_
TrafficActionType action_type() const
virtual void SetActionSandeshData(std::vector< ActionStr > &actions)
static const std::string kActionHbsStr
virtual bool Compare(const TrafficAction &rhs) const =0
static const std::string kActionLogStr
static const uint32_t IMPLICIT_DENY_FLAGS
bool operator==(const TrafficAction &rhs) const
TrafficAction(Action action, TrafficActionType type)
static const uint32_t DROP_FLAGS
static const std::string kActionAlertStr
const std::string & vrf_name() const
VrfTranslateAction(const std::string &vrf_name, bool ignore_acl)
virtual void SetActionSandeshData(std::vector< ActionStr > &actions)
virtual bool Compare(const TrafficAction &rhs) const