OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ControllerMplsRoute Class Reference

#include <controller_route_path.h>

Inheritance diagram for ControllerMplsRoute:
Collaboration diagram for ControllerMplsRoute:

Public Member Functions

 ControllerMplsRoute (const BgpPeer *peer, const string &vrf_name, const Ip4Address &addr, uint32_t label, const VnListType &dest_vn_list, int bmap, const SecurityGroupList &sg_list, const TagList &tag_list, const PathPreference &path_preference, DBRequest &req, bool ecmp_suppressed, const EcmpLoadBalance &ecmp_load_balance, bool etree_leaf, const MacAddress &rewrite_dmac=MacAddress())
 
 ControllerMplsRoute (const BgpPeer *peer)
 
virtual ~ControllerMplsRoute ()
 
virtual bool AddChangePathExtended (Agent *agent, AgentPath *path, const AgentRoute *rt)
 
virtual string ToString () const
 
const SecurityGroupListsg_list () const
 
const TagListtag_list () const
 
- Public Member Functions inherited from ControllerPeerPath
 ControllerPeerPath (const BgpPeer *peer)
 
 ~ControllerPeerPath ()
 
virtual bool UpdateRoute (AgentRoute *route)
 
- Public Member Functions inherited from AgentRouteData
 AgentRouteData (Type type, bool is_multicast, uint64_t sequence_number)
 
virtual ~AgentRouteData ()
 
virtual AgentPathCreateAgentPath (const Peer *peer, AgentRoute *rt) const
 
virtual bool CanDeletePath (Agent *agent, AgentPath *path, const AgentRoute *rt) const
 
bool AddChangePath (Agent *agent, AgentPath *path, const AgentRoute *rt)
 
bool is_multicast () const
 
uint64_t sequence_number () const
 
 DISALLOW_COPY_AND_ASSIGN (AgentRouteData)
 
- Public Member Functions inherited from AgentData
 AgentData ()
 
virtual ~AgentData ()
 
- Public Member Functions inherited from DBRequestData
virtual ~DBRequestData ()
 

Static Public Member Functions

static ControllerMplsRouteMakeControllerMplsRoute (const BgpPeer *peer, const string &default_vrf, const Ip4Address &router_id, const string &vrf_name, const Ip4Address &tunnel_dest, TunnelType::TypeBmap bmap, uint32_t label, MacAddress rewrite_dmac, const VnListType &dest_vn_list, const SecurityGroupList &sg_list, const TagList &tag_list, const PathPreference &path_preference, bool ecmp_suppressed, const EcmpLoadBalance &ecmp_load_balance, bool etree_leaf)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (ControllerMplsRoute)
 

Private Attributes

string server_vrf_
 
Ip4Address tunnel_dest_
 
TunnelType::TypeBmap tunnel_bmap_
 
uint32_t label_
 
VnListType dest_vn_list_
 
SecurityGroupList sg_list_
 
TagList tag_list_
 
PathPreference path_preference_
 
DBRequest nh_req_
 
bool ecmp_suppressed_
 
EcmpLoadBalance ecmp_load_balance_
 
bool etree_leaf_
 
MacAddress rewrite_dmac_
 

Additional Inherited Members

- Public Types inherited from AgentRouteData
enum  Type { ADD_DEL_CHANGE, ROUTE_PREFERENCE_CHANGE, IPAM_SUBNET }
 
- Public Attributes inherited from AgentRouteData
Type type_
 
bool is_multicast_
 
uint64_t sequence_number_
 
- Static Public Attributes inherited from ControllerPeerPath
static const uint64_t kInvalidPeerIdentifier = 0xFFFFFFFFFFFFFFFFLL
 

Detailed Description

Definition at line 124 of file controller_route_path.h.

Constructor & Destructor Documentation

ControllerMplsRoute::ControllerMplsRoute ( const BgpPeer peer,
const string &  vrf_name,
const Ip4Address addr,
uint32_t  label,
const VnListType dest_vn_list,
int  bmap,
const SecurityGroupList sg_list,
const TagList tag_list,
const PathPreference path_preference,
DBRequest req,
bool  ecmp_suppressed,
const EcmpLoadBalance ecmp_load_balance,
bool  etree_leaf,
const MacAddress rewrite_dmac = MacAddress() 
)
inline

Definition at line 126 of file controller_route_path.h.

Here is the call graph for this function:

ControllerMplsRoute::ControllerMplsRoute ( const BgpPeer peer)
inline

Definition at line 144 of file controller_route_path.h.

virtual ControllerMplsRoute::~ControllerMplsRoute ( )
inlinevirtual

Definition at line 145 of file controller_route_path.h.

Member Function Documentation

bool ControllerMplsRoute::AddChangePathExtended ( Agent agent,
AgentPath path,
const AgentRoute rt 
)
virtual

Implements AgentRouteData.

Definition at line 674 of file controller_route_path.cc.

Here is the call graph for this function:

ControllerMplsRoute::DISALLOW_COPY_AND_ASSIGN ( ControllerMplsRoute  )
private
ControllerMplsRoute * ControllerMplsRoute::MakeControllerMplsRoute ( const BgpPeer peer,
const string &  default_vrf,
const Ip4Address router_id,
const string &  vrf_name,
const Ip4Address tunnel_dest,
TunnelType::TypeBmap  bmap,
uint32_t  label,
MacAddress  rewrite_dmac,
const VnListType dest_vn_list,
const SecurityGroupList sg_list,
const TagList tag_list,
const PathPreference path_preference,
bool  ecmp_suppressed,
const EcmpLoadBalance ecmp_load_balance,
bool  etree_leaf 
)
static

Definition at line 455 of file controller_route_path.cc.

Here is the call graph for this function:

const SecurityGroupList& ControllerMplsRoute::sg_list ( ) const
inline

Definition at line 151 of file controller_route_path.h.

const TagList& ControllerMplsRoute::tag_list ( ) const
inline

Definition at line 152 of file controller_route_path.h.

virtual string ControllerMplsRoute::ToString ( ) const
inlinevirtual

Implements AgentRouteData.

Definition at line 150 of file controller_route_path.h.

Member Data Documentation

VnListType ControllerMplsRoute::dest_vn_list_
private

Definition at line 174 of file controller_route_path.h.

EcmpLoadBalance ControllerMplsRoute::ecmp_load_balance_
private

Definition at line 180 of file controller_route_path.h.

bool ControllerMplsRoute::ecmp_suppressed_
private

Definition at line 179 of file controller_route_path.h.

bool ControllerMplsRoute::etree_leaf_
private

Definition at line 181 of file controller_route_path.h.

uint32_t ControllerMplsRoute::label_
private

Definition at line 173 of file controller_route_path.h.

DBRequest ControllerMplsRoute::nh_req_
private

Definition at line 178 of file controller_route_path.h.

PathPreference ControllerMplsRoute::path_preference_
private

Definition at line 177 of file controller_route_path.h.

MacAddress ControllerMplsRoute::rewrite_dmac_
private

Definition at line 182 of file controller_route_path.h.

string ControllerMplsRoute::server_vrf_
private

Definition at line 170 of file controller_route_path.h.

SecurityGroupList ControllerMplsRoute::sg_list_
private

Definition at line 175 of file controller_route_path.h.

TagList ControllerMplsRoute::tag_list_
private

Definition at line 176 of file controller_route_path.h.

TunnelType::TypeBmap ControllerMplsRoute::tunnel_bmap_
private

Definition at line 172 of file controller_route_path.h.

Ip4Address ControllerMplsRoute::tunnel_dest_
private

Definition at line 171 of file controller_route_path.h.


The documentation for this class was generated from the following files: