|
OpenSDN source code
|
#include <rtarget_group.h>

Public Types | |
| typedef std::set< BgpTable * > | RtGroupMemberList |
| typedef std::map< Address::Family, RtGroupMemberList > | RtGroupMembers |
| typedef std::set< BgpRoute * > | RouteList |
| typedef std::vector< RouteList > | RTargetDepRouteList |
| typedef std::set< RTargetRoute * > | RTargetRouteList |
| typedef std::map< const BgpPeer *, RTargetRouteList > | InterestedPeerList |
Private Member Functions | |
| void | FillMemberTables (const RtGroupMembers &rt_members, std::vector< ShowRtGroupMemberTableList > *member_list) const |
| void | FillInterestedPeers (std::vector< std::string > *interested_peers) const |
| void | FillDependentRoutes (std::vector< std::string > *rtlist) const |
| void | FillShowInfoCommon (ShowRtGroupInfo *info, bool fill_peers, bool fill_routes) const |
| DISALLOW_COPY_AND_ASSIGN (RtGroup) | |
Private Attributes | |
| RouteTarget | rt_ |
| RtGroupMembers | import_ |
| RtGroupMembers | export_ |
| RTargetDepRouteList | dep_ |
| InterestedPeerList | peer_list_ |
| RtGroupInterestedPeerSet | interested_peers_ |
Definition at line 61 of file rtarget_group.h.
| typedef std::map<const BgpPeer *, RTargetRouteList> RtGroup::InterestedPeerList |
Definition at line 68 of file rtarget_group.h.
| typedef std::set<BgpRoute *> RtGroup::RouteList |
Definition at line 65 of file rtarget_group.h.
| typedef std::vector<RouteList> RtGroup::RTargetDepRouteList |
Definition at line 66 of file rtarget_group.h.
| typedef std::set<RTargetRoute *> RtGroup::RTargetRouteList |
Definition at line 67 of file rtarget_group.h.
| typedef std::set<BgpTable *> RtGroup::RtGroupMemberList |
Definition at line 63 of file rtarget_group.h.
| typedef std::map<Address::Family, RtGroupMemberList> RtGroup::RtGroupMembers |
Definition at line 64 of file rtarget_group.h.
|
explicit |
Definition at line 24 of file rtarget_group.cc.
| void RtGroup::AddDepRoute | ( | int | part_id, |
| BgpRoute * | rt | ||
| ) |
| bool RtGroup::AddExportTable | ( | Address::Family | family, |
| BgpTable * | tbl | ||
| ) |
Definition at line 55 of file rtarget_group.cc.
| bool RtGroup::AddImportTable | ( | Address::Family | family, |
| BgpTable * | tbl | ||
| ) |
Definition at line 49 of file rtarget_group.cc.
| void RtGroup::AddInterestedPeer | ( | const BgpPeer * | peer, |
| RTargetRoute * | rt | ||
| ) |
|
private |
|
private |
Definition at line 190 of file rtarget_group.cc.
|
private |
Definition at line 184 of file rtarget_group.cc.
|
private |
| void RtGroup::FillShowInfo | ( | ShowRtGroupInfo * | info | ) | const |
|
private |
| void RtGroup::FillShowPeerInfo | ( | ShowRtGroupInfo * | info | ) | const |
| void RtGroup::FillShowSummaryInfo | ( | ShowRtGroupInfo * | info | ) | const |
| const RtGroup::RtGroupMemberList & RtGroup::GetExportTables | ( | Address::Family | family | ) | const |
Definition at line 44 of file rtarget_group.cc.
| const RtGroup::RtGroupMemberList & RtGroup::GetImportTables | ( | Address::Family | family | ) | const |
Definition at line 39 of file rtarget_group.cc.
| const RtGroupInterestedPeerSet & RtGroup::GetInterestedPeers | ( | ) | const |
Definition at line 132 of file rtarget_group.cc.
| bool RtGroup::HasDepRoutes | ( | ) | const |
Definition at line 122 of file rtarget_group.cc.
| bool RtGroup::HasImportExportTables | ( | ) | const |
Definition at line 71 of file rtarget_group.cc.
| bool RtGroup::HasInterestedPeer | ( | const std::string & | name | ) | const |
Definition at line 162 of file rtarget_group.cc.
| bool RtGroup::HasInterestedPeers | ( | ) | const |
Definition at line 158 of file rtarget_group.cc.
| bool RtGroup::HasVrfTables | ( | Address::Family | family | ) | const |
| bool RtGroup::MayDelete | ( | ) | const |
| void RtGroup::NotifyDepRoutes | ( | int | part_id | ) |
| void RtGroup::RemoveDepRoute | ( | int | part_id, |
| BgpRoute * | rt | ||
| ) |
| bool RtGroup::RemoveExportTable | ( | Address::Family | family, |
| BgpTable * | tbl | ||
| ) |
Definition at line 66 of file rtarget_group.cc.
| bool RtGroup::RemoveImportTable | ( | Address::Family | family, |
| BgpTable * | tbl | ||
| ) |
Definition at line 61 of file rtarget_group.cc.
| void RtGroup::RemoveInterestedPeer | ( | const BgpPeer * | peer, |
| RTargetRoute * | rt | ||
| ) |
| const RouteTarget & RtGroup::rt | ( | ) |
Definition at line 103 of file rtarget_group.cc.
|
inline |
|
private |
Definition at line 111 of file rtarget_group.h.
|
private |
Definition at line 110 of file rtarget_group.h.
|
private |
Definition at line 109 of file rtarget_group.h.
|
private |
Definition at line 113 of file rtarget_group.h.
|
private |
Definition at line 112 of file rtarget_group.h.
|
private |
Definition at line 108 of file rtarget_group.h.