OpenSDN source code
HbsAction Class Reference

#include <traffic_action.h>

Inheritance diagram for HbsAction:
Collaboration diagram for HbsAction:

Public Member Functions

 HbsAction ()
 
 ~HbsAction ()
 
virtual bool Compare (const TrafficAction &rhs) const
 
- Public Member Functions inherited from TrafficAction
 TrafficAction ()
 
 TrafficAction (Action action, TrafficActionType type)
 
virtual ~TrafficAction ()
 
bool IsDrop () const
 
Action action () const
 
TrafficActionType action_type () const
 
virtual void SetActionSandeshData (std::vector< ActionStr > &actions)
 
bool operator== (const TrafficAction &rhs) const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (HbsAction)
 

Additional Inherited Members

- Public Types inherited from TrafficAction
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 Public Member Functions inherited from TrafficAction
static std::string ActionToString (enum Action at)
 
- Static Public Attributes inherited from TrafficAction
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))
 

Detailed Description

Definition at line 185 of file traffic_action.h.

Constructor & Destructor Documentation

◆ HbsAction()

HbsAction::HbsAction ( )
inline

Definition at line 187 of file traffic_action.h.

◆ ~HbsAction()

HbsAction::~HbsAction ( )
inline

Definition at line 188 of file traffic_action.h.

Member Function Documentation

◆ Compare()

virtual bool HbsAction::Compare ( const TrafficAction rhs) const
inlinevirtual

Implements TrafficAction.

Definition at line 189 of file traffic_action.h.

Here is the call graph for this function:

◆ DISALLOW_COPY_AND_ASSIGN()

HbsAction::DISALLOW_COPY_AND_ASSIGN ( HbsAction  )
private

The documentation for this class was generated from the following file: