5 #ifndef vnsw_agent_nh_ksync_h
6 #define vnsw_agent_nh_ksync_h
8 #include <boost/asio.hpp>
9 #include <boost/bind.hpp>
20 #include "vr_nexthop.h"
51 virtual std::string
ToString()
const;
54 virtual int AddMsg(
char *buf,
int buf_len);
55 virtual int ChangeMsg(
char *buf,
int buf_len);
56 virtual int DeleteMsg(
char *buf,
int buf_len);
60 const int32_t index=-1);
158 #endif // vnsw_agent_nh_ksync_h
InterfaceKSyncEntry * interface() const
virtual int ChangeMsg(char *buf, int buf_len)
std::vector< KSyncEntryPtr > interface_list_
DISALLOW_COPY_AND_ASSIGN(NHKSyncObject)
NHKSyncObject(KSync *ksync)
NHKSyncObject * ksync_obj_
boost::asio::ip::address IpAddress
KSyncEntryPtr crypt_interface_
std::vector< int32_t > encap_valid_list_
int Encode(sandesh_op::type op, char *buf, int buf_len)
bool flood_unknown_unicast_
void FillObjectLog(sandesh_op::type op, KSyncNhInfo &info) const
uint8_t SetEcmpFieldsToUse()
KSyncComponentNHList component_nh_list_
KSyncComponentNH(uint32_t label, KSyncEntry *entry)
static const int MAX_VR_PHY_INTF
NextHop::Type type() const
KSyncEntryPtr pbb_child_nh_
std::vector< ComponentNHKeyPtr > ComponentNHKeyList
virtual bool Sync(DBEntry *e)
virtual std::string ToString() const
bool KSyncEntrySandesh(Sandesh *resp)
bool crypt_path_available_
static const int kNHIndexCount
virtual KSyncEntry * DBToKSyncEntry(const DBEntry *e)
TunnelType::Type transport_tunnel_type_
boost::intrusive_ptr< KSyncEntry > KSyncEntryPtr
std::vector< InterfaceKSyncEntry > InterfaceKSyncEntryList
NHKSyncEntry * nh() const
virtual KSyncEntry * UnresolvedReference()
bool layer2_control_word_
DISALLOW_COPY_AND_ASSIGN(NHKSyncEntry)
void SetKSyncNhListSandeshData(KSyncNhListSandeshData *data) const
static const int kDefaultNhMsgSize
bool is_vxlan_routing() const
virtual KSyncEntry * Alloc(const KSyncEntry *entry, uint32_t index)
std::vector< KSyncEntryPtr > interface_list() const
std::vector< int32_t > encap_valid_list() const
InterfaceKSyncEntry * crypt_interface() const
EcmpHashFields ecmp_hash_fieds_
ComponentNHKeyList component_nh_key_list_
virtual int DeleteMsg(char *buf, int buf_len)
virtual int AddMsg(char *buf, int buf_len)
std::vector< KSyncComponentNH > KSyncComponentNHList
std::vector< MacAddress > dmac_list_
COMPOSITETYPE CompositeType() const
virtual bool IsLess(const KSyncEntry &rhs) const
KSyncDBObject * GetObject() const
void SetEncap(InterfaceKSyncEntry *if_ksync, std::vector< int8_t > &encap, const int32_t index=-1)
NHKSyncEntry(NHKSyncObject *obj, const NHKSyncEntry *entry, uint32_t index)