OpenSDN source code
|
#include <routing_policy_action.h>
Public Types | |
enum | CommunityUpdateOp { ADD, REMOVE, SET } |
Public Member Functions | |
UpdateExtCommunity (const std::vector< std::string > &communities, std::string op) | |
virtual | ~UpdateExtCommunity () |
virtual void | operator() (BgpAttr *out_attr) const |
std::string | ToString () const |
virtual bool | IsEqual (const RoutingPolicyAction &community) const |
const ExtCommunity::ExtCommunityList & | communities () const |
![]() | |
virtual | ~RoutingPolicyUpdateAction () |
bool | terminal () const |
bool | accept () const |
![]() | |
virtual | ~RoutingPolicyAction () |
virtual bool | operator== (const RoutingPolicyAction &action) const |
virtual bool | operator!= (const RoutingPolicyAction &action) const |
Private Attributes | |
ExtCommunity::ExtCommunityList | communities_ |
CommunityUpdateOp | op_ |
Definition at line 118 of file routing_policy_action.h.
Enumerator | |
---|---|
ADD | |
REMOVE | |
SET |
Definition at line 120 of file routing_policy_action.h.
UpdateExtCommunity::UpdateExtCommunity | ( | const std::vector< std::string > & | communities, |
std::string | op | ||
) |
|
inlinevirtual |
Definition at line 127 of file routing_policy_action.h.
|
inline |
Definition at line 131 of file routing_policy_action.h.
|
virtual |
Implements RoutingPolicyAction.
Definition at line 189 of file routing_policy_action.cc.
|
virtual |
Implements RoutingPolicyUpdateAction.
Definition at line 157 of file routing_policy_action.cc.
|
virtual |
Implements RoutingPolicyAction.
Definition at line 174 of file routing_policy_action.cc.
|
private |
Definition at line 136 of file routing_policy_action.h.
|
private |
Definition at line 137 of file routing_policy_action.h.