5 #ifndef SRC_VNSW_AGENT_OVS_TOR_AGENT_OVSDB_CLIENT_PHYSICAL_PORT_OVSDB_H_
6 #define SRC_VNSW_AGENT_OVS_TOR_AGENT_OVSDB_CLIENT_PHYSICAL_PORT_OVSDB_H_
12 class PhysicalPortEntry;
16 typedef std::map<struct ovsdb_idl_row *, PhysicalPortEntry *>
IdlEntryMap;
24 const std::string &physical_device);
43 const std::string &
name);
51 std::string
ToString()
const {
return "Physical Port";}
57 const std::string &
name()
const;
65 void Encode(
struct ovsdb_idl_txn *);
76 #endif //SRC_VNSW_AGENT_OVS_TOR_AGENT_OVSDB_CLIENT_PHYSICAL_PORT_OVSDB_H_
DISALLOW_COPY_AND_ASSIGN(PhysicalPortTable)
KSyncEntry * UnresolvedReference()
const VlanLSTable & binding_table() const
const std::string & dev_name() const
bool IsLess(const KSyncEntry &) const
void EntryOvsdbUpdate(PhysicalPortEntry *entry)
PhysicalPortTable(OvsdbClientIdl *idl)
std::map< uint32_t, struct ovsdb_idl_row * > VlanStatsTable
std::map< struct ovsdb_idl_row *, PhysicalPortEntry * > IdlEntryMap
VlanStatsTable stats_table_
std::string ToString() const
void set_stale_create_done()
virtual ~PhysicalPortTable()
KSyncEntry * Alloc(const KSyncEntry *key, uint32_t index)
void DeletePortEntry(struct ovsdb_idl_row *row)
IdlEntryMap idl_entry_map_
VlanLSTable binding_table_
void CreatePortEntry(struct ovsdb_idl_row *row, const std::string &physical_device)
const VlanLSTable & ovs_binding_table() const
void Encode(struct ovsdb_idl_txn *)
std::map< uint32_t, LogicalSwitchEntry * > VlanLSTable
void AddBinding(int16_t vlan, LogicalSwitchEntry *ls)
void DeleteBinding(int16_t vlan, LogicalSwitchEntry *ls)
PhysicalPortEntry(PhysicalPortTable *table, const std::string &dev_name, const std::string &name)
void Notify(OvsdbClientIdl::Op, struct ovsdb_idl_row *)
DISALLOW_COPY_AND_ASSIGN(PhysicalPortEntry)
const std::string & name() const
const VlanStatsTable & stats_table() const
PhysicalPortEntry * FindPortEntry(struct ovsdb_idl_row *row)
VlanLSTable ovs_binding_table_