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,
boost::intrusive_ptr< Interface > InterfaceRef
boost::intrusive_ptr< PhysicalDevice > PhysicalDeviceRef
std::unique_ptr< DBRequestKey > KeyPtr
const boost::uuids::uuid & logical_router_uuid() const
const std::string & name() const
const std::string & display_name() const
boost::uuids::uuid vn_uuid_
InterfaceRef vm_interface_
virtual ~LogicalInterface()
PhysicalDeviceRef physical_device_
virtual bool CmpInterface(const DBEntry &rhs) const
virtual void GetOsParams(Agent *agent)
std::string phy_dev_display_name_
boost::uuids::uuid vm_uuid_
DISALLOW_COPY_AND_ASSIGN(LogicalInterface)
std::string display_name_
PhysicalDevice * physical_device() const
const std::string & phy_intf_display_name() const
VmInterface * vm_interface() const
InterfaceRef physical_interface_
std::string phy_intf_display_name_
virtual bool OnChange(const InterfaceTable *table, const LogicalInterfaceData *data)
const std::string & phy_dev_display_name() const
Interface * physical_interface() const
virtual std::string ToString() const
LogicalInterface(const boost::uuids::uuid &uuid, const std::string &name, const boost::uuids::uuid &logical_router_uuid)
VlanLogicalInterface(const boost::uuids::uuid &uuid, const std::string &name, uint16_t vlan, const boost::uuids::uuid &lr_uuid)
DISALLOW_COPY_AND_ASSIGN(VlanLogicalInterface)
virtual DBEntryBase::KeyPtr GetDBRequestKey() const
virtual ~VlanLogicalInterface()
const Agent * agent() const
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)
virtual ~LogicalInterfaceData()
std::string phy_dev_display_name_
boost::uuids::uuid device_uuid_
std::string display_name_
std::string physical_interface_
std::string phy_intf_display_name_
boost::uuids::uuid vm_interface_
LogicalInterfaceKey(const boost::uuids::uuid &uuid, const std::string &name)
virtual ~LogicalInterfaceKey()
virtual ~VlanLogicalInterfaceData()
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)
virtual InterfaceKey * Clone() const
virtual ~VlanLogicalInterfaceKey()
VlanLogicalInterfaceKey(const boost::uuids::uuid &uuid, const std::string &name)
virtual LogicalInterface * AllocEntry(const InterfaceTable *table) const