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


Public Types | |
| enum | MatchProtocolType { Unspecified = 0 , BGP , XMPP , StaticRoute , ServiceChainRoute , AggregateRoute , Interface , InterfaceStatic , ServiceInterface , BGPaaS } |
| typedef std::vector< MatchProtocolType > | PathSourceList |
Public Member Functions | |
| MatchProtocol (const std::vector< std::string > &protocols) | |
| virtual | ~MatchProtocol () |
| 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 |
| const PathSourceList & | protocols () 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 Attributes | |
| PathSourceList | to_match_ |
Definition at line 111 of file routing_policy_match.h.
| typedef std::vector<MatchProtocolType> MatchProtocol::PathSourceList |
Definition at line 125 of file routing_policy_match.h.
| Enumerator | |
|---|---|
| Unspecified | |
| BGP | |
| XMPP | |
| StaticRoute | |
| ServiceChainRoute | |
| AggregateRoute | |
| Interface | |
| InterfaceStatic | |
| ServiceInterface | |
| BGPaaS | |
Definition at line 113 of file routing_policy_match.h.
|
explicit |
|
virtual |
Definition at line 530 of file routing_policy_match.cc.
|
virtual |
Implements RoutingPolicyMatch.
Definition at line 577 of file routing_policy_match.cc.

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

|
inline |
Definition at line 132 of file routing_policy_match.h.
|
virtual |
Implements RoutingPolicyMatch.
Definition at line 565 of file routing_policy_match.cc.

|
private |
Definition at line 137 of file routing_policy_match.h.