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