|
| 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) |
|
XmppChannel * | GetXmppChannel () |
|
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 () |
|
Agent * | agent () const |
|
BgpPeer * | bgp_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 |
|
EndOfRibTxTimer * | end_of_rib_tx_timer () |
|
EndOfRibRxTimer * | end_of_rib_rx_timer () |
|
LlgrStaleTimer * | llgr_stale_timer () |
|
uint64_t | sequence_number () const |
|
void | Unregister () |
|
|
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) |
|
|
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 () |
|
InetUnicastAgentRouteTable * | PrefixToRouteTable (const std::string &vrf_name, const IpAddress &prefix_addr) |
|
InetUnicastAgentRouteTable * | PrefixToRouteMplsTable (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 > |
ControllerEcmpRoute * | BuildEcmpData (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) |
|
Definition at line 46 of file controller_peer.h.