#include <traffic_action.h>
|
| enum | TrafficActionType {
SIMPLE_ACTION = 1
, MIRROR_ACTION = 2
, VRF_TRANSLATE_ACTION = 3
, LOG_ACTION = 4
,
ALERT_ACTION = 5
, QOS_ACTION = 6
, HBS_ACTION = 7
} |
| |
| enum | Action {
ALERT = 1
, DENY = 3
, LOG = 4
, PASS = 5
,
MIRROR = 7
, VRF_TRANSLATE = 8
, APPLY_QOS = 9
, TRAP = 28
,
HBS = 10
, IMPLICIT_DENY = 29
, RESERVED = 30
, UNKNOWN = 31
} |
| |
| static std::string | ActionToString (enum Action at) |
| |
| static const std::string | kActionLogStr = "log" |
| |
| static const std::string | kActionAlertStr = "alert" |
| |
| static const std::string | kActionHbsStr = "hbs" |
| |
| static const uint32_t | DROP_FLAGS = ((1 << DENY)) |
| |
| static const uint32_t | PASS_FLAGS = ((1 << PASS)) |
| |
| static const uint32_t | IMPLICIT_DENY_FLAGS = ((1 << IMPLICIT_DENY)) |
| |
Definition at line 94 of file traffic_action.h.
◆ MirrorAction()
| MirrorAction::MirrorAction |
( |
std::string |
analyzer_name, |
|
|
std::string |
vrf_name, |
|
|
IpAddress |
ip, |
|
|
uint16_t |
port, |
|
|
std::string |
encap |
|
) |
| |
|
inline |
◆ ~MirrorAction()
| MirrorAction::~MirrorAction |
( |
| ) |
|
◆ Compare()
◆ DISALLOW_COPY_AND_ASSIGN()
◆ GetAnalyzerName()
| std::string MirrorAction::GetAnalyzerName |
( |
| ) |
|
|
inline |
◆ GetEncap()
| std::string MirrorAction::GetEncap |
( |
| ) |
|
|
inline |
◆ GetIp()
◆ GetPort()
| uint32_t MirrorAction::GetPort |
( |
| ) |
|
|
inline |
◆ SetActionSandeshData()
| void MirrorAction::SetActionSandeshData |
( |
std::vector< ActionStr > & |
actions | ) |
|
|
virtual |
◆ vrf_name()
| std::string MirrorAction::vrf_name |
( |
| ) |
|
|
inline |
◆ analyzer_name_
| std::string MirrorAction::analyzer_name_ |
|
private |
◆ encap_
| std::string MirrorAction::encap_ |
|
private |
◆ m_ip_
◆ port_
| uint16_t MirrorAction::port_ |
|
private |
◆ vrf_name_
| std::string MirrorAction::vrf_name_ |
|
private |
The documentation for this class was generated from the following files: