4 #ifndef SRC_VNSW_AGENT_OPER_LOGICAL_PORT_H_
5 #define SRC_VNSW_AGENT_OPER_LOGICAL_PORT_H_
14 class SandeshLogicalInterface;
26 const std::string &
name,
31 virtual std::string
ToString()
const;
59 const std::string &name);
66 const std::string &display_name,
67 const std::string &physical_interface,
70 const std::string &phy_dev_display_name,
71 const std::string &phy_intf_display_name);
84 const std::string &name);
95 const std::string &display_name,
96 const std::string &physical_interface,
99 const std::string &phy_dev_display_name,
100 const std::string &phy_intf_display_name,
110 const std::string &
name, uint16_t
vlan,
123 #endif // SRC_VNSW_AGENT_OPER_LOGICAL_PORT_H_
const std::string & display_name() const
PhysicalDevice * physical_device() const
std::string display_name_
DISALLOW_COPY_AND_ASSIGN(LogicalInterface)
virtual ~VlanLogicalInterfaceData()
virtual DBEntryBase::KeyPtr GetDBRequestKey() const
virtual LogicalInterface * AllocEntry(const InterfaceTable *table) const
VlanLogicalInterfaceKey(const boost::uuids::uuid &uuid, const std::string &name)
std::string phy_intf_display_name_
virtual ~LogicalInterface()
VlanLogicalInterface(const boost::uuids::uuid &uuid, const std::string &name, uint16_t vlan, const boost::uuids::uuid &lr_uuid)
virtual void GetOsParams(Agent *agent)
Interface * physical_interface() const
virtual std::string ToString() const
DISALLOW_COPY_AND_ASSIGN(VlanLogicalInterface)
const boost::uuids::uuid & logical_router_uuid() const
std::unique_ptr< DBRequestKey > KeyPtr
LogicalInterfaceData(Agent *agent, IFMapNode *node, const std::string &display_name, const std::string &physical_interface, const boost::uuids::uuid &vif, const boost::uuids::uuid &device_uuid, const std::string &phy_dev_display_name, const std::string &phy_intf_display_name)
boost::uuids::uuid vn_uuid_
virtual ~LogicalInterfaceData()
virtual InterfaceKey * Clone() const
virtual ~VlanLogicalInterfaceKey()
std::string physical_interface_
virtual ~VlanLogicalInterface()
std::string phy_intf_display_name_
virtual bool CmpInterface(const DBEntry &rhs) const
const Agent * agent() const
const std::string & phy_intf_display_name() const
virtual bool OnChange(const InterfaceTable *table, const LogicalInterfaceData *data)
const std::string & phy_dev_display_name() const
InterfaceRef vm_interface_
PhysicalDeviceRef physical_device_
VmInterface * vm_interface() const
const std::string & name() const
boost::uuids::uuid device_uuid_
boost::intrusive_ptr< Interface > InterfaceRef
boost::intrusive_ptr< PhysicalDevice > PhysicalDeviceRef
std::string phy_dev_display_name_
LogicalInterface(const boost::uuids::uuid &uuid, const std::string &name, const boost::uuids::uuid &logical_router_uuid)
std::string phy_dev_display_name_
VlanLogicalInterfaceData(Agent *agent, IFMapNode *node, const std::string &display_name, const std::string &physical_interface, const boost::uuids::uuid &vif, const boost::uuids::uuid &device_uuid, const std::string &phy_dev_display_name, const std::string &phy_intf_display_name, uint16_t vlan)
InterfaceRef physical_interface_
boost::uuids::uuid vm_uuid_
LogicalInterfaceKey(const boost::uuids::uuid &uuid, const std::string &name)
std::string display_name_
boost::uuids::uuid vm_interface_
virtual ~LogicalInterfaceKey()