5 #ifndef vnsw_agent_interface_ksync_h
6 #define vnsw_agent_interface_ksync_h
8 #include <net/ethernet.h>
10 #include <boost/asio.hpp>
11 #include <boost/bind.hpp>
20 #include "vrouter/ksync/agent_ksync_types.h"
24 uint32_t vrf_id, uint32_t &ifindex, uint32_t &fd,
27 uint32_t vrf_id, uint32_t ifindex, uint32_t fd);
62 virtual std::string
ToString()
const;
63 virtual int AddMsg(
char *buf,
int buf_len);
64 virtual int ChangeMsg(
char *buf,
int buf_len);
65 virtual int DeleteMsg(
char *buf,
int buf_len);
141 boost::optional<InterfaceOsParams::IfGuid>
os_guid_;
boost::asio::ip::address_v6 Ip6Address
static const int kDefaultInterfaceMsgSize
bool KSyncEntrySandesh(Sandesh *resp)
InetInterface::SubType sub_type_
void SetKsyncItfSandeshData(KSyncItfSandeshData *data) const
PhysicalInterface::EncapType encap_type_
int Encode(sandesh_op::type op, char *buf, int buf_len)
InterfaceKSyncEntry(InterfaceKSyncObject *obj, const InterfaceKSyncEntry *entry, uint32_t index)
PhysicalInterface::SubType subtype_
virtual int DeleteMsg(char *buf, int buf_len)
bool dhcp_enable_v6() const
Interface::MirrorDirection mirror_direction_
VmInterface::FatFlowExcludeList fat_flow_exclude_list_
const MacAddress & mac() const
VmInterface::HbsIntfType hbs_intf_type_
bool has_service_vlan() const
bool flood_unknown_unicast_
VmInterface::ProxyArpMode proxy_arp_mode_
VmInterface::DeviceType vmi_device_type_
const MacAddress & smac() const
bool drop_new_flows() const
virtual ~InterfaceKSyncEntry()
InterfaceKSyncObject * ksync_obj_
virtual bool Sync(DBEntry *e)
void FillObjectLog(sandesh_op::type op, KSyncIntfInfo &info) const
std::set< MacAddress > aap_mac_list_
uint32_t multicast_vrf_id_
KSyncDBObject * GetObject() const
bool mac_ip_learning_enable_
virtual std::string ToString() const
const MacAddress & pbb_mac() const
bool layer3_forwarding() const
virtual bool IsLess(const KSyncEntry &rhs) const
std::string display_name_
VmInterface::FatFlowList fat_flow_list_
Interface::Transport transport_
bool pbb_interface() const
virtual int AddMsg(char *buf, int buf_len)
virtual KSyncEntry * UnresolvedReference()
DISALLOW_COPY_AND_ASSIGN(InterfaceKSyncEntry)
uint32_t interface_id() const
KSyncEntryPtr qos_config_
VmInterface::VmiType vmi_type_
PhysicalInterface::EncapType encap_type() const
virtual int ChangeMsg(char *buf, int buf_len)
boost::optional< InterfaceOsParams::IfGuid > os_guid_
const string & interface_name() const
std::vector< KSyncEntryPtr > xconnect_list_
virtual KSyncEntry * Alloc(const KSyncEntry *entry, uint32_t index)
DISALLOW_COPY_AND_ASSIGN(InterfaceKSyncObject)
virtual KSyncEntry * DBToKSyncEntry(const DBEntry *e)
DBFilterResp DBEntryFilter(const DBEntry *e, const KSyncDBEntry *k)
InterfaceKSyncObject(KSync *parent)
virtual ~InterfaceKSyncObject()
boost::intrusive_ptr< KSyncEntry > KSyncEntryPtr
void KSyncInterfaceCreate(Interface::Type type, const char *if_name, uint32_t vrf_id, uint32_t &ifindex, uint32_t &fd, MacAddress &mac)
void GetPhyMac(const char *ifname, char *mac)
void KSyncInterfaceDelete(Interface::Type type, const char *if_name, uint32_t vrf_id, uint32_t ifindex, uint32_t fd)