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

#include <controller_peer.h>

Collaboration diagram for AgentXmppChannel:

Public Member Functions

 AgentXmppChannel (Agent *agent, const std::string &xmpp_server, const std::string &label_range, uint8_t xs_idx)
 
virtual ~AgentXmppChannel ()
 
virtual std::string ToString () const
 
virtual bool SendUpdate (const uint8_t *msg, size_t msgsize)
 
virtual void ReceiveUpdate (const XmppStanza::XmppMessage *msg)
 
virtual void ReceiveEvpnUpdate (XmlPugi *pugi)
 
virtual void ReceiveMulticastUpdate (XmlPugi *pugi)
 
virtual void ReceiveMvpnUpdate (XmlPugi *pugi)
 
virtual void ReceiveV4V6Update (XmlPugi *pugi)
 
virtual void ReceiveInet4MplsUpdate (XmlPugi *pugi)
 
XmppChannelGetXmppChannel ()
 
void ReceiveBgpMessage (std::unique_ptr< XmlBase > impl)
 
void Ready ()
 
void NotReady ()
 
void TimedOut ()
 
void StartEndOfRibTxWalker ()
 
void StopEndOfRibTxWalker ()
 
void EndOfRibTx ()
 
void EndOfRibRx ()
 
void CreateBgpPeer ()
 
void RegisterXmppChannel (XmppChannel *channel)
 
std::string GetXmppServer ()
 
uint8_t GetXmppServerIdx ()
 
std::string GetMcastLabelRange ()
 
Agentagent () const
 
BgpPeerbgp_peer_id ()
 
PeerPtr bgp_peer_id_ref ()
 
std::string GetBgpPeerName () const
 
void UpdateConnectionInfo (xmps::PeerState state)
 
bool ControllerSendEvpnRouteCommon (AgentRoute *route, const Ip4Address *nexthop_ip, std::string vn, const SecurityGroupList *sg_list, const TagList *tag_list, const CommunityList *communities, uint32_t mpls_label, uint32_t tunnel_bmap, const std::string &destination, const std::string &source, const PathPreference &path_preference, bool associate)
 
bool ControllerSendMcastRouteCommon (AgentRoute *route, bool associate)
 
bool ControllerSendIPMcastRouteCommon (AgentRoute *route, bool associate)
 
bool ControllerSendMvpnRouteCommon (AgentRoute *route, bool associate)
 
bool BuildEvpnMulticastMessage (autogen::EnetItemType &item, std::stringstream &node_id, AgentRoute *route, const Ip4Address *nh_ip, const std::string &vn, const SecurityGroupList *sg_list, const TagList *tag_list, const CommunityList *communities, uint32_t label, uint32_t tunnel_bmap, bool associate, const AgentPath *path, bool assisted_replication)
 
void AddMulticastEvpnRoute (const std::string &vrf_name, const IpAddress &source, const IpAddress &group, autogen::EnetItemType *item)
 
void AddEvpnRoute (const std::string &vrf_name, std::string mac_addr, const IpAddress &ip, uint32_t plen, autogen::EnetItemType *item)
 
void AddEvpnEcmpRoute (std::string vrf_name, const MacAddress &mac, const IpAddress &ip, uint32_t plen, autogen::EnetItemType *item, const VnListType &vn_list)
 
template<typename TYPE >
void BuildTagList (const TYPE *item, TagList *tag_list)
 
uint64_t route_published_time () const
 
EndOfRibTxTimerend_of_rib_tx_timer ()
 
EndOfRibRxTimerend_of_rib_rx_timer ()
 
LlgrStaleTimerllgr_stale_timer ()
 
uint64_t sequence_number () const
 
void Unregister ()
 

Static Public Member Functions

static bool IsXmppChannelActive (const Agent *agent, AgentXmppChannel *peer)
 
static bool IsBgpPeerActive (const Agent *agent, AgentXmppChannel *peer)
 
static bool SetConfigPeer (AgentXmppChannel *peer)
 
static void SetMulticastPeer (AgentXmppChannel *old_peer, AgentXmppChannel *new_peer)
 
static void CleanConfigStale (AgentXmppChannel *agent_xmpp_channel)
 
static void XmppClientChannelEvent (AgentXmppChannel *peer, xmps::PeerState state)
 
static void HandleAgentXmppClientChannelEvent (AgentXmppChannel *peer, xmps::PeerState state)
 
static bool ControllerSendCfgSubscribe (AgentXmppChannel *peer)
 
static bool ControllerSendVmCfgSubscribe (AgentXmppChannel *peer, const boost::uuids::uuid &vm_id, bool subscribe)
 
static bool ControllerSendSubscribe (AgentXmppChannel *peer, VrfEntry *vrf, bool subscribe)
 
static bool ControllerSendRouteAdd (AgentXmppChannel *peer, AgentRoute *route, const Ip4Address *nexthop_ip, const VnListType &vn_list, uint32_t label, uint32_t tunnel_bmap, const SecurityGroupList *sg_list, const TagList *tag_list, const CommunityList *communities, Agent::RouteTableType type, const PathPreference &path_preference, const EcmpLoadBalance &ecmp_load_balance, uint32_t native_vrf_id)
 
static bool ControllerSendEvpnRouteAdd (AgentXmppChannel *peer, AgentRoute *route, const Ip4Address *nexthop_ip, std::string vn, uint32_t mpls_label, uint32_t tunnel_bmap, const SecurityGroupList *sg_list, const TagList *tag_list, const CommunityList *communities, const std::string &destination, const std::string &source, const PathPreference &path_preference)
 
static bool ControllerSendMcastRouteAdd (AgentXmppChannel *peer, AgentRoute *route)
 
static bool ControllerSendRouteDelete (AgentXmppChannel *peer, AgentRoute *route, const VnListType &vn_list, uint32_t label, uint32_t tunnel_bmap, const SecurityGroupList *sg_list, const TagList *tag_list, const CommunityList *communities, Agent::RouteTableType type, const PathPreference &path_preference)
 
static bool ControllerSendEvpnRouteDelete (AgentXmppChannel *peer, AgentRoute *route, std::string vn, uint32_t mpls_label, const std::string &destination, const std::string &source, uint32_t tunnel_bmap)
 
static bool ControllerSendMcastRouteDelete (AgentXmppChannel *peer, AgentRoute *route)
 

Protected Member Functions

virtual void WriteReadyCb (const boost::system::error_code &ec)
 

Private Member Functions

void AddFabricVrfRoute (const Ip4Address &prefix_addr, uint32_t prefix_len, const Ip4Address &addr, const VnListType &vn_list, const SecurityGroupList &sg_list, const TagList &tag_list)
 
void PeerIsNotConfig ()
 
InetUnicastAgentRouteTablePrefixToRouteTable (const std::string &vrf_name, const IpAddress &prefix_addr)
 
InetUnicastAgentRouteTablePrefixToRouteMplsTable (const std::string &vrf_name, const IpAddress &prefix_addr)
 
void ReceiveInternal (const XmppStanza::XmppMessage *msg)
 
void AddRoute (std::string vrf_name, IpAddress ip, uint32_t plen, autogen::ItemType *item)
 
void AddMplsRoute (std::string vrf_name, IpAddress ip, uint32_t plen, autogen::ItemType *item)
 
void AddMulticastEvpnRoute (const std::string &vrf_name, const MacAddress &mac, autogen::EnetItemType *item)
 
void AddRemoteMplsRoute (std::string vrf_name, IpAddress ip, uint32_t plen, autogen::ItemType *item, const VnListType &vn_list)
 
void AddRemoteRoute (std::string vrf_name, IpAddress prefix_addr, uint32_t prefix_len, autogen::ItemType *item, const VnListType &vn_list)
 
void AddInetEcmpRoute (std::string vrf_name, IpAddress ip, uint32_t plen, autogen::ItemType *item, const VnListType &vn_list)
 
void AddInetMplsEcmpRoute (std::string vrf_name, IpAddress ip, uint32_t plen, autogen::ItemType *item, const VnListType &vn_list)
 
template<typename TYPE >
ControllerEcmpRouteBuildEcmpData (TYPE *item, const VnListType &vn_list, const EcmpLoadBalance &ecmp_load_balance, const AgentRouteTable *rt_table, const std::string &prefix_str)
 
bool ControllerSendV4V6UnicastRouteCommon (AgentRoute *route, const VnListType &vn_list, const SecurityGroupList *sg_list, const TagList *tag_list, const CommunityList *communities, uint32_t mpls_label, uint32_t tunnel_bmap, const PathPreference &path_preference, bool associate, Agent::RouteTableType type, const EcmpLoadBalance &ecmp_load_balance, uint32_t native_vrf_id)
 
bool BuildTorMulticastMessage (autogen::EnetItemType &item, std::stringstream &node_id, AgentRoute *route, const Ip4Address *nh_ip, const std::string &vn, const SecurityGroupList *sg_list, const TagList *tag_list, const CommunityList *communities, uint32_t label, uint32_t tunnel_bmap, const std::string &destination, const std::string &source, bool associate)
 
bool BuildEvpnUnicastMessage (autogen::EnetItemType &item, std::stringstream &node_id, AgentRoute *route, const Ip4Address *nh_ip, const std::string &vn, const SecurityGroupList *sg_list, const TagList *tag_list, const CommunityList *communities, uint32_t label, uint32_t tunnel_bmap, const PathPreference &path_prefernce, bool associate)
 
bool BuildAndSendEvpnDom (autogen::EnetItemType &item, std::stringstream &ss_node, const AgentRoute *route, bool associate)
 
template<typename TYPE >
bool IsEcmp (const TYPE &nexthops)
 
template<typename TYPE >
void GetVnList (const TYPE &nexthops, VnListType *vn_list)
 

Private Attributes

XmppChannelchannel_
 
std::string channel_str_
 
std::string xmpp_server_
 
std::string label_range_
 
uint8_t xs_idx_
 
PeerPtr bgp_peer_id_
 
uint64_t route_published_time_
 
boost::scoped_ptr
< EndOfRibTxTimer
end_of_rib_tx_timer_
 
boost::scoped_ptr
< EndOfRibRxTimer
end_of_rib_rx_timer_
 
boost::scoped_ptr< LlgrStaleTimerllgr_stale_timer_
 
Agentagent_
 

Detailed Description

Definition at line 46 of file controller_peer.h.

Constructor & Destructor Documentation

AgentXmppChannel::AgentXmppChannel ( Agent agent,
const std::string &  xmpp_server,
const std::string &  label_range,
uint8_t  xs_idx 
)

Definition at line 96 of file controller_peer.cc.

Here is the call graph for this function:

AgentXmppChannel::~AgentXmppChannel ( )
virtual

Definition at line 110 of file controller_peer.cc.

Member Function Documentation

void AgentXmppChannel::AddEvpnEcmpRoute ( std::string  vrf_name,
const MacAddress mac,
const IpAddress ip,
uint32_t  plen,
autogen::EnetItemType *  item,
const VnListType vn_list 
)

Definition at line 964 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::AddEvpnRoute ( const std::string &  vrf_name,
std::string  mac_addr,
const IpAddress ip,
uint32_t  plen,
autogen::EnetItemType *  item 
)

Definition at line 1167 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::AddFabricVrfRoute ( const Ip4Address prefix_addr,
uint32_t  prefix_len,
const Ip4Address addr,
const VnListType vn_list,
const SecurityGroupList sg_list,
const TagList tag_list 
)
private

Definition at line 1119 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::AddInetEcmpRoute ( std::string  vrf_name,
IpAddress  ip,
uint32_t  plen,
autogen::ItemType *  item,
const VnListType vn_list 
)
private

Definition at line 928 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::AddInetMplsEcmpRoute ( std::string  vrf_name,
IpAddress  ip,
uint32_t  plen,
autogen::ItemType *  item,
const VnListType vn_list 
)
private

Definition at line 1793 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::AddMplsRoute ( std::string  vrf_name,
IpAddress  ip,
uint32_t  plen,
autogen::ItemType *  item 
)
private

Definition at line 1817 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::AddMulticastEvpnRoute ( const std::string &  vrf_name,
const IpAddress source,
const IpAddress group,
autogen::EnetItemType *  item 
)
void AgentXmppChannel::AddMulticastEvpnRoute ( const std::string &  vrf_name,
const MacAddress mac,
autogen::EnetItemType *  item 
)
private
void AgentXmppChannel::AddRemoteMplsRoute ( std::string  vrf_name,
IpAddress  ip,
uint32_t  plen,
autogen::ItemType *  item,
const VnListType vn_list 
)
private

Definition at line 1689 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::AddRemoteRoute ( std::string  vrf_name,
IpAddress  prefix_addr,
uint32_t  prefix_len,
autogen::ItemType *  item,
const VnListType vn_list 
)
private

Handle VxLAN routes using methods in VxlanRoutingManager Tunnels, Interfaces and Interface Composites are handled here when route is destined to the Routing VRF instance.

Definition at line 1431 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::AddRoute ( std::string  vrf_name,
IpAddress  ip,
uint32_t  plen,
autogen::ItemType *  item 
)
private

Definition at line 1776 of file controller_peer.cc.

Here is the call graph for this function:

Agent* AgentXmppChannel::agent ( ) const
inline

Definition at line 155 of file controller_peer.h.

BgpPeer* AgentXmppChannel::bgp_peer_id ( )
inline

Definition at line 156 of file controller_peer.h.

PeerPtr AgentXmppChannel::bgp_peer_id_ref ( )
inline

Definition at line 159 of file controller_peer.h.

bool AgentXmppChannel::BuildAndSendEvpnDom ( autogen::EnetItemType &  item,
std::stringstream &  ss_node,
const AgentRoute route,
bool  associate 
)
private

Definition at line 2851 of file controller_peer.cc.

Here is the call graph for this function:

template<typename TYPE >
ControllerEcmpRoute * AgentXmppChannel::BuildEcmpData ( TYPE *  item,
const VnListType vn_list,
const EcmpLoadBalance ecmp_load_balance,
const AgentRouteTable rt_table,
const std::string &  prefix_str 
)
private

Definition at line 1013 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::BuildEvpnMulticastMessage ( autogen::EnetItemType &  item,
std::stringstream &  node_id,
AgentRoute route,
const Ip4Address nh_ip,
const std::string &  vn,
const SecurityGroupList sg_list,
const TagList tag_list,
const CommunityList communities,
uint32_t  label,
uint32_t  tunnel_bmap,
bool  associate,
const AgentPath path,
bool  assisted_replication 
)

Definition at line 2642 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::BuildEvpnUnicastMessage ( autogen::EnetItemType &  item,
std::stringstream &  node_id,
AgentRoute route,
const Ip4Address nh_ip,
const std::string &  vn,
const SecurityGroupList sg_list,
const TagList tag_list,
const CommunityList communities,
uint32_t  label,
uint32_t  tunnel_bmap,
const PathPreference path_prefernce,
bool  associate 
)
private

Definition at line 2758 of file controller_peer.cc.

Here is the call graph for this function:

template<typename TYPE >
void AgentXmppChannel::BuildTagList ( const TYPE *  item,
TagList tag_list 
)

Definition at line 3450 of file controller_peer.cc.

bool AgentXmppChannel::BuildTorMulticastMessage ( autogen::EnetItemType &  item,
std::stringstream &  node_id,
AgentRoute route,
const Ip4Address nh_ip,
const std::string &  vn,
const SecurityGroupList sg_list,
const TagList tag_list,
const CommunityList communities,
uint32_t  label,
uint32_t  tunnel_bmap,
const std::string &  destination,
const std::string &  source,
bool  associate 
)
private

Definition at line 2547 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::CleanConfigStale ( AgentXmppChannel agent_xmpp_channel)
static

Definition at line 1913 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendCfgSubscribe ( AgentXmppChannel peer)
static

Definition at line 2273 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendEvpnRouteAdd ( AgentXmppChannel peer,
AgentRoute route,
const Ip4Address nexthop_ip,
std::string  vn,
uint32_t  mpls_label,
uint32_t  tunnel_bmap,
const SecurityGroupList sg_list,
const TagList tag_list,
const CommunityList communities,
const std::string &  destination,
const std::string &  source,
const PathPreference path_preference 
)
static

Definition at line 3191 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendEvpnRouteCommon ( AgentRoute route,
const Ip4Address nexthop_ip,
std::string  vn,
const SecurityGroupList sg_list,
const TagList tag_list,
const CommunityList communities,
uint32_t  mpls_label,
uint32_t  tunnel_bmap,
const std::string &  destination,
const std::string &  source,
const PathPreference path_preference,
bool  associate 
)

Definition at line 2921 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendEvpnRouteDelete ( AgentXmppChannel peer,
AgentRoute route,
std::string  vn,
uint32_t  mpls_label,
const std::string &  destination,
const std::string &  source,
uint32_t  tunnel_bmap 
)
static

Definition at line 3223 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendIPMcastRouteCommon ( AgentRoute route,
bool  associate 
)

Definition at line 3090 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendMcastRouteAdd ( AgentXmppChannel peer,
AgentRoute route 
)
static

Definition at line 3338 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendMcastRouteCommon ( AgentRoute route,
bool  associate 
)

Definition at line 2990 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendMcastRouteDelete ( AgentXmppChannel peer,
AgentRoute route 
)
static

Definition at line 3353 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendMvpnRouteCommon ( AgentRoute route,
bool  associate 
)

Definition at line 3101 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendRouteAdd ( AgentXmppChannel peer,
AgentRoute route,
const Ip4Address nexthop_ip,
const VnListType vn_list,
uint32_t  label,
uint32_t  tunnel_bmap,
const SecurityGroupList sg_list,
const TagList tag_list,
const CommunityList communities,
Agent::RouteTableType  type,
const PathPreference path_preference,
const EcmpLoadBalance ecmp_load_balance,
uint32_t  native_vrf_id 
)
static

Definition at line 3250 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendRouteDelete ( AgentXmppChannel peer,
AgentRoute route,
const VnListType vn_list,
uint32_t  label,
uint32_t  tunnel_bmap,
const SecurityGroupList sg_list,
const TagList tag_list,
const CommunityList communities,
Agent::RouteTableType  type,
const PathPreference path_preference 
)
static

Definition at line 3292 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendSubscribe ( AgentXmppChannel peer,
VrfEntry vrf,
bool  subscribe 
)
static

Definition at line 2314 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendV4V6UnicastRouteCommon ( AgentRoute route,
const VnListType vn_list,
const SecurityGroupList sg_list,
const TagList tag_list,
const CommunityList communities,
uint32_t  mpls_label,
uint32_t  tunnel_bmap,
const PathPreference path_preference,
bool  associate,
Agent::RouteTableType  type,
const EcmpLoadBalance ecmp_load_balance,
uint32_t  native_vrf_id 
)
private

Definition at line 2376 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::ControllerSendVmCfgSubscribe ( AgentXmppChannel peer,
const boost::uuids::uuid vm_id,
bool  subscribe 
)
static

Definition at line 2224 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::CreateBgpPeer ( )

Definition at line 174 of file controller_peer.cc.

Here is the call graph for this function:

EndOfRibRxTimer * AgentXmppChannel::end_of_rib_rx_timer ( )

Definition at line 2209 of file controller_peer.cc.

EndOfRibTxTimer * AgentXmppChannel::end_of_rib_tx_timer ( )

Definition at line 2205 of file controller_peer.cc.

void AgentXmppChannel::EndOfRibRx ( )

Definition at line 3368 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::EndOfRibTx ( )

Definition at line 3378 of file controller_peer.cc.

Here is the call graph for this function:

std::string AgentXmppChannel::GetBgpPeerName ( ) const

Definition at line 167 of file controller_peer.cc.

std::string AgentXmppChannel::GetMcastLabelRange ( )
inline

Definition at line 153 of file controller_peer.h.

template<typename TYPE >
void AgentXmppChannel::GetVnList ( const TYPE &  nexthops,
VnListType vn_list 
)
private

Definition at line 1770 of file controller_peer.cc.

XmppChannel* AgentXmppChannel::GetXmppChannel ( )
inline

Definition at line 61 of file controller_peer.h.

std::string AgentXmppChannel::GetXmppServer ( )
inline

Definition at line 151 of file controller_peer.h.

uint8_t AgentXmppChannel::GetXmppServerIdx ( )
inline

Definition at line 152 of file controller_peer.h.

void AgentXmppChannel::HandleAgentXmppClientChannelEvent ( AgentXmppChannel peer,
xmps::PeerState  state 
)
static

Definition at line 2193 of file controller_peer.cc.

Here is the call graph for this function:

bool AgentXmppChannel::IsBgpPeerActive ( const Agent agent,
AgentXmppChannel peer 
)
static

Definition at line 1945 of file controller_peer.cc.

Here is the call graph for this function:

template<typename TYPE >
bool AgentXmppChannel::IsEcmp ( const TYPE &  nexthops)
private

Definition at line 1753 of file controller_peer.cc.

bool AgentXmppChannel::IsXmppChannelActive ( const Agent agent,
AgentXmppChannel peer 
)
static

Definition at line 1924 of file controller_peer.cc.

Here is the call graph for this function:

LlgrStaleTimer * AgentXmppChannel::llgr_stale_timer ( )

Definition at line 2213 of file controller_peer.cc.

void AgentXmppChannel::NotReady ( )

Definition at line 2083 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::PeerIsNotConfig ( )
private

Definition at line 2217 of file controller_peer.cc.

Here is the call graph for this function:

InetUnicastAgentRouteTable * AgentXmppChannel::PrefixToRouteMplsTable ( const std::string &  vrf_name,
const IpAddress prefix_addr 
)
private

Definition at line 143 of file controller_peer.cc.

InetUnicastAgentRouteTable * AgentXmppChannel::PrefixToRouteTable ( const std::string &  vrf_name,
const IpAddress prefix_addr 
)
private

Definition at line 126 of file controller_peer.cc.

void AgentXmppChannel::Ready ( )

Definition at line 2027 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::ReceiveBgpMessage ( std::unique_ptr< XmlBase impl)

Definition at line 1843 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::ReceiveEvpnUpdate ( XmlPugi pugi)
virtual

Definition at line 205 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::ReceiveInet4MplsUpdate ( XmlPugi pugi)
virtual

Definition at line 799 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::ReceiveInternal ( const XmppStanza::XmppMessage msg)
private

Definition at line 1902 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::ReceiveMulticastUpdate ( XmlPugi pugi)
virtual

Definition at line 403 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::ReceiveMvpnUpdate ( XmlPugi pugi)
virtual

Definition at line 555 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::ReceiveUpdate ( const XmppStanza::XmppMessage msg)
virtual

Definition at line 1828 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::ReceiveV4V6Update ( XmlPugi pugi)
virtual

Definition at line 673 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::RegisterXmppChannel ( XmppChannel channel)

Definition at line 156 of file controller_peer.cc.

Here is the call graph for this function:

uint64_t AgentXmppChannel::route_published_time ( ) const
inline

Definition at line 204 of file controller_peer.h.

bool AgentXmppChannel::SendUpdate ( const uint8_t *  msg,
size_t  msgsize 
)
virtual

Definition at line 196 of file controller_peer.cc.

Here is the call graph for this function:

uint64_t AgentXmppChannel::sequence_number ( ) const

Definition at line 2005 of file controller_peer.cc.

bool AgentXmppChannel::SetConfigPeer ( AgentXmppChannel peer)
static

Definition at line 1964 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::SetMulticastPeer ( AgentXmppChannel old_peer,
AgentXmppChannel new_peer 
)
static

Definition at line 1988 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::StartEndOfRibTxWalker ( )

Definition at line 3436 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::StopEndOfRibTxWalker ( )

Definition at line 3443 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::TimedOut ( )

Definition at line 2169 of file controller_peer.cc.

Here is the call graph for this function:

std::string AgentXmppChannel::ToString ( ) const
virtual

Definition at line 1906 of file controller_peer.cc.

void AgentXmppChannel::Unregister ( )

Definition at line 116 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::UpdateConnectionInfo ( xmps::PeerState  state)

Definition at line 3407 of file controller_peer.cc.

Here is the call graph for this function:

void AgentXmppChannel::WriteReadyCb ( const boost::system::error_code &  ec)
protectedvirtual

Definition at line 1910 of file controller_peer.cc.

void AgentXmppChannel::XmppClientChannelEvent ( AgentXmppChannel peer,
xmps::PeerState  state 
)
static

Definition at line 1994 of file controller_peer.cc.

Here is the call graph for this function:

Member Data Documentation

Agent* AgentXmppChannel::agent_
private

Definition at line 309 of file controller_peer.h.

PeerPtr AgentXmppChannel::bgp_peer_id_
private

Definition at line 304 of file controller_peer.h.

XmppChannel* AgentXmppChannel::channel_
private

Definition at line 299 of file controller_peer.h.

std::string AgentXmppChannel::channel_str_
private

Definition at line 300 of file controller_peer.h.

boost::scoped_ptr<EndOfRibRxTimer> AgentXmppChannel::end_of_rib_rx_timer_
private

Definition at line 307 of file controller_peer.h.

boost::scoped_ptr<EndOfRibTxTimer> AgentXmppChannel::end_of_rib_tx_timer_
private

Definition at line 306 of file controller_peer.h.

std::string AgentXmppChannel::label_range_
private

Definition at line 302 of file controller_peer.h.

boost::scoped_ptr<LlgrStaleTimer> AgentXmppChannel::llgr_stale_timer_
private

Definition at line 308 of file controller_peer.h.

uint64_t AgentXmppChannel::route_published_time_
private

Definition at line 305 of file controller_peer.h.

std::string AgentXmppChannel::xmpp_server_
private

Definition at line 301 of file controller_peer.h.

uint8_t AgentXmppChannel::xs_idx_
private

Definition at line 303 of file controller_peer.h.


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