5 #ifndef SRC_BGP_ROUTING_INSTANCE_RTARGET_GROUP_H_
6 #define SRC_BGP_ROUTING_INSTANCE_RTARGET_GROUP_H_
22 class ShowRtGroupMemberTableList;
23 class ShowRtGroupInfo;
102 std::vector<ShowRtGroupMemberTableList> *member_list)
const;
106 ShowRtGroupInfo *info,
bool fill_peers,
bool fill_routes)
const;
std::string ToString() const
void FillShowInfoCommon(ShowRtGroupInfo *info, bool fill_peers, bool fill_routes) const
const RtGroupMemberList & GetImportTables(Address::Family family) const
const RtGroupInterestedPeerSet & GetInterestedPeers() const
void NotifyDepRoutes(int part_id)
bool AddExportTable(Address::Family family, BgpTable *tbl)
void FillShowInfo(ShowRtGroupInfo *info) const
void AddInterestedPeer(const BgpPeer *peer, RTargetRoute *rt)
bool AddImportTable(Address::Family family, BgpTable *tbl)
void AddDepRoute(int part_id, BgpRoute *rt)
bool HasInterestedPeer(const std::string &name) const
void FillDependentRoutes(std::vector< std::string > *rtlist) const
RtGroupInterestedPeerSet interested_peers_
InterestedPeerList peer_list_
bool HasImportExportTables() const
bool RemoveExportTable(Address::Family family, BgpTable *tbl)
bool HasInterestedPeers() const
void RemoveInterestedPeer(const BgpPeer *peer, RTargetRoute *rt)
DISALLOW_COPY_AND_ASSIGN(RtGroup)
bool HasDepRoutes() const
RtGroup(const RouteTarget &rt)
bool RemoveImportTable(Address::Family family, BgpTable *tbl)
std::set< BgpRoute * > RouteList
void FillShowPeerInfo(ShowRtGroupInfo *info) const
std::map< const BgpPeer *, RTargetRouteList > InterestedPeerList
std::vector< RouteList > RTargetDepRouteList
void RemoveDepRoute(int part_id, BgpRoute *rt)
bool HasVrfTables(Address::Family family) const
std::set< RTargetRoute * > RTargetRouteList
void FillMemberTables(const RtGroupMembers &rt_members, std::vector< ShowRtGroupMemberTableList > *member_list) const
std::set< BgpTable * > RtGroupMemberList
std::string ToString() const
void FillInterestedPeers(std::vector< std::string > *interested_peers) const
const RtGroupMemberList & GetExportTables(Address::Family family) const
std::map< Address::Family, RtGroupMemberList > RtGroupMembers
void FillShowSummaryInfo(ShowRtGroupInfo *info) const