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


Public Types | |
| typedef std::set< uint32_t > | CommunityList |
| typedef std::vector< std::string > | CommunityRegexStringList |
| typedef std::vector< contrail::regex > | CommunityRegexList |
Public Member Functions | |
| MatchCommunity (const std::vector< std::string > &communities, bool match_all) | |
| virtual | ~MatchCommunity () |
| 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 CommunityList & | communities () const |
| const CommunityRegexStringList & | regex_strings () const |
| const CommunityRegexList & | regexs () 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 |
Private Attributes | |
| bool | match_all_ |
| CommunityList | to_match_ |
| CommunityRegexStringList | to_match_regex_strings_ |
| CommunityRegexList | to_match_regexs_ |
Definition at line 48 of file routing_policy_match.h.
| typedef std::set<uint32_t> MatchCommunity::CommunityList |
Definition at line 50 of file routing_policy_match.h.
| typedef std::vector<contrail::regex> MatchCommunity::CommunityRegexList |
Definition at line 52 of file routing_policy_match.h.
| typedef std::vector<std::string> MatchCommunity::CommunityRegexStringList |
Definition at line 51 of file routing_policy_match.h.
| MatchCommunity::MatchCommunity | ( | const std::vector< std::string > & | communities, |
| bool | match_all | ||
| ) |
|
virtual |
Definition at line 75 of file routing_policy_match.cc.
|
inline |
Definition at line 61 of file routing_policy_match.h.
|
virtual |
Implements RoutingPolicyMatch.
Definition at line 178 of file routing_policy_match.cc.

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

|
inline |
Definition at line 60 of file routing_policy_match.h.
|
private |
|
private |
|
inline |
Definition at line 62 of file routing_policy_match.h.
|
inline |
Definition at line 65 of file routing_policy_match.h.
|
virtual |
Implements RoutingPolicyMatch.
Definition at line 156 of file routing_policy_match.cc.

|
private |
Definition at line 71 of file routing_policy_match.h.
|
private |
Definition at line 72 of file routing_policy_match.h.
|
private |
Definition at line 73 of file routing_policy_match.h.
|
private |
Definition at line 74 of file routing_policy_match.h.