#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
} |
| |
Definition at line 22 of file traffic_action.h.
◆ Action
| Enumerator |
|---|
| ALERT | |
| DENY | |
| LOG | |
| PASS | |
| MIRROR | |
| VRF_TRANSLATE | |
| APPLY_QOS | |
| TRAP | |
| HBS | |
| IMPLICIT_DENY | |
| RESERVED | |
| UNKNOWN | |
Definition at line 34 of file traffic_action.h.
◆ TrafficActionType
| Enumerator |
|---|
| SIMPLE_ACTION | |
| MIRROR_ACTION | |
| VRF_TRANSLATE_ACTION | |
| LOG_ACTION | |
| ALERT_ACTION | |
| QOS_ACTION | |
| HBS_ACTION | |
Definition at line 24 of file traffic_action.h.
◆ TrafficAction() [1/2]
| TrafficAction::TrafficAction |
( |
| ) |
|
|
inline |
◆ TrafficAction() [2/2]
◆ ~TrafficAction()
| virtual TrafficAction::~TrafficAction |
( |
| ) |
|
|
inlinevirtual |
◆ action()
| Action TrafficAction::action |
( |
| ) |
const |
|
inline |
◆ action_type()
◆ ActionToString()
| std::string TrafficAction::ActionToString |
( |
enum Action |
at | ) |
|
|
static |
◆ Compare()
| virtual bool TrafficAction::Compare |
( |
const TrafficAction & |
rhs | ) |
const |
|
pure virtual |
◆ IsDrop()
| bool TrafficAction::IsDrop |
( |
| ) |
const |
◆ operator==()
| bool TrafficAction::operator== |
( |
const TrafficAction & |
rhs | ) |
const |
|
inline |
◆ SetActionSandeshData()
| void TrafficAction::SetActionSandeshData |
( |
std::vector< ActionStr > & |
actions | ) |
|
|
virtual |
◆ action_
◆ action_type_
◆ DROP_FLAGS
| const uint32_t TrafficAction::DROP_FLAGS = ((1 << DENY)) |
|
static |
◆ IMPLICIT_DENY_FLAGS
| const uint32_t TrafficAction::IMPLICIT_DENY_FLAGS = ((1 << IMPLICIT_DENY)) |
|
static |
◆ kActionAlertStr
| const std::string TrafficAction::kActionAlertStr = "alert" |
|
static |
◆ kActionHbsStr
| const std::string TrafficAction::kActionHbsStr = "hbs" |
|
static |
◆ kActionLogStr
| const std::string TrafficAction::kActionLogStr = "log" |
|
static |
◆ PASS_FLAGS
| const uint32_t TrafficAction::PASS_FLAGS = ((1 << PASS)) |
|
static |
The documentation for this class was generated from the following files: