OpenSDN source code
|
#include <routing_policy.h>
Public Types | |
typedef std::vector < RoutingPolicyAction * > | ActionList |
typedef std::vector < RoutingPolicyMatch * > | MatchList |
Public Member Functions | |
PolicyTerm () | |
~PolicyTerm () | |
bool | terminal () const |
bool | ApplyTerm (const BgpRoute *route, const BgpPath *path, BgpAttr *attr) const |
void | set_actions (const ActionList &actions) |
void | set_matches (const MatchList &matches) |
const MatchList & | matches () const |
const ActionList & | actions () const |
bool | operator== (const PolicyTerm &term) const |
Public Attributes | |
std::string | term_name |
autogen::PolicyMatch | match |
autogen::PolicyAction | action |
Private Attributes | |
MatchList | matches_ |
ActionList | actions_ |
Definition at line 196 of file routing_policy.h.
typedef std::vector<RoutingPolicyAction *> PolicyTerm::ActionList |
Definition at line 198 of file routing_policy.h.
typedef std::vector<RoutingPolicyMatch *> PolicyTerm::MatchList |
Definition at line 199 of file routing_policy.h.
PolicyTerm::PolicyTerm | ( | ) |
Definition at line 555 of file routing_policy.cc.
PolicyTerm::~PolicyTerm | ( | ) |
|
inline |
Definition at line 214 of file routing_policy.h.
|
inline |
Definition at line 211 of file routing_policy.h.
bool PolicyTerm::operator== | ( | const PolicyTerm & | term | ) | const |
|
inline |
|
inline |
bool PolicyTerm::terminal | ( | ) | const |
autogen::PolicyAction PolicyTerm::action |
Definition at line 22 of file policy_config_parser.cc.
|
private |
Definition at line 221 of file routing_policy.h.
autogen::PolicyMatch PolicyTerm::match |
Definition at line 21 of file policy_config_parser.cc.
|
private |
Definition at line 220 of file routing_policy.h.
std::string PolicyTerm::term_name |
Definition at line 20 of file policy_config_parser.cc.