#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.
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.
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::TrafficAction |
( |
| ) |
|
|
inline |
virtual TrafficAction::~TrafficAction |
( |
| ) |
|
|
inlinevirtual |
Action TrafficAction::action |
( |
| ) |
const |
|
inline |
std::string TrafficAction::ActionToString |
( |
enum Action |
at | ) |
|
|
static |
virtual bool TrafficAction::Compare |
( |
const TrafficAction & |
rhs | ) |
const |
|
pure virtual |
bool TrafficAction::IsDrop |
( |
| ) |
const |
bool TrafficAction::operator== |
( |
const TrafficAction & |
rhs | ) |
const |
|
inline |
void TrafficAction::SetActionSandeshData |
( |
std::vector< ActionStr > & |
actions | ) |
|
|
virtual |
const uint32_t TrafficAction::DROP_FLAGS = ((1 << DENY)) |
|
static |
const uint32_t TrafficAction::IMPLICIT_DENY_FLAGS = ((1 << IMPLICIT_DENY)) |
|
static |
const std::string TrafficAction::kActionAlertStr = "alert" |
|
static |
const std::string TrafficAction::kActionHbsStr = "hbs" |
|
static |
const std::string TrafficAction::kActionLogStr = "log" |
|
static |
const uint32_t TrafficAction::PASS_FLAGS = ((1 << PASS)) |
|
static |
The documentation for this class was generated from the following files: