|
OpenSDN source code
|
#include <routing_policy_match.h>


Public Types | |
| typedef std::vector< std::string > | CommunityRegexStringList |
| typedef std::vector< contrail::regex > | CommunityRegexList |
Public Member Functions | |
| MatchExtCommunity (const std::vector< std::string > &communities, bool match_all) | |
| virtual | ~MatchExtCommunity () |
| virtual bool | Match (const BgpRoute *route, const BgpPath *path, const BgpAttr *attr) const |
| virtual std::string | ToString () const |
| virtual bool | IsEqual (const RoutingPolicyMatch &community) const |
| bool | match_all () const |
| const ExtCommunity::ExtCommunityList & | communities () const |
| const CommunityRegexStringList & | regex_strings () const |
| const CommunityRegexList & | regexs () const |
| bool | Find (const ExtCommunity::ExtCommunityValue &community) const |
Public Member Functions inherited from RoutingPolicyMatch | |
| virtual | ~RoutingPolicyMatch () |
| bool | operator() (const BgpRoute *route, const BgpPath *path, const BgpAttr *attr) const |
| virtual bool | operator== (const RoutingPolicyMatch &match) const |
| virtual bool | operator!= (const RoutingPolicyMatch &match) const |
Private Member Functions | |
| bool | MatchAll (const BgpAttr *attr) const |
| bool | MatchAny (const BgpAttr *attr) const |
| const ExtCommunity::ExtCommunityList | ExtCommunityFromString (const std::string &comm) |
Private Attributes | |
| bool | match_all_ |
| ExtCommunity::ExtCommunityList | to_match_ |
| CommunityRegexStringList | to_match_regex_strings_ |
| CommunityRegexList | to_match_regexs_ |
Definition at line 77 of file routing_policy_match.h.
| typedef std::vector<contrail::regex> MatchExtCommunity::CommunityRegexList |
Definition at line 80 of file routing_policy_match.h.
| typedef std::vector<std::string> MatchExtCommunity::CommunityRegexStringList |
Definition at line 79 of file routing_policy_match.h.
| MatchExtCommunity::MatchExtCommunity | ( | const std::vector< std::string > & | communities, |
| bool | match_all | ||
| ) |
|
virtual |
Definition at line 218 of file routing_policy_match.cc.
|
inline |
Definition at line 90 of file routing_policy_match.h.
|
private |
| bool MatchExtCommunity::Find | ( | const ExtCommunity::ExtCommunityValue & | community | ) | const |
|
virtual |
Implements RoutingPolicyMatch.
Definition at line 340 of file routing_policy_match.cc.

|
virtual |
Implements RoutingPolicyMatch.
Definition at line 310 of file routing_policy_match.cc.

|
inline |
Definition at line 89 of file routing_policy_match.h.
|
private |
|
private |
|
inline |
Definition at line 93 of file routing_policy_match.h.
|
inline |
Definition at line 96 of file routing_policy_match.h.
|
virtual |
Implements RoutingPolicyMatch.
Definition at line 318 of file routing_policy_match.cc.

|
private |
Definition at line 105 of file routing_policy_match.h.
|
private |
Definition at line 106 of file routing_policy_match.h.
|
private |
Definition at line 107 of file routing_policy_match.h.
|
private |
Definition at line 108 of file routing_policy_match.h.