4 #ifndef SRC_VNSW_AGENT_OVS_TOR_AGENT_OVSDB_CLIENT_OVS_PEER_H_
5 #define SRC_VNSW_AGENT_OVS_TOR_AGENT_OVSDB_CLIENT_OVS_PEER_H_
21 const std::string &dest_vn,
const MacAddress &mac,
26 const std::string &vn_name_,
61 uint32_t
Size()
const;
71 #endif // SRC_VNSW_AGENT_OVS_TOR_AGENT_OVSDB_CLIENT_OVS_PEER_H_
bool Compare(const Peer *rhs) const
boost::asio::ip::address IpAddress
OvsPeer * Allocate(const IpAddress &peer_ip)
OvsPeer(const IpAddress &peer_ip, uint64_t gen_id, OvsPeerManager *manager)
bool operator()(const OvsPeer *lhs, const OvsPeer *rhs)
bool AddOvsRoute(const VrfEntry *vrf, uint32_t vxlan_id, const std::string &dest_vn, const MacAddress &mac, Ip4Address &tor_ip)
DISALLOW_COPY_AND_ASSIGN(OvsPeerManager)
void set_ha_stale_export(bool ha_stale_export)
DISALLOW_COPY_AND_ASSIGN(OvsPeer)
boost::asio::ip::address_v4 Ip4Address
const IpAddress & peer_ip() const
OvsPeerManager(Agent *agent)
void AddOvsPeerMulticastRoute(const VrfEntry *vrf, uint32_t vxlan_id, const std::string &vn_name_, const Ip4Address &tsn_ip, const Ip4Address &tor_ip)
OvsPeerManager * peer_manager_
std::set< OvsPeer *, cmp > OvsPeerTable
void DeleteOvsRoute(VrfEntry *vrf, uint32_t vxlan, const MacAddress &mac)
virtual ~OvsPeerManager()
bool ha_stale_export() const
const Ip4Address * NexthopIp(Agent *agent, const AgentPath *path) const
void DeleteOvsPeerMulticastRoute(const VrfEntry *vrf, uint32_t vxlan_id, const Ip4Address &tor_ip)