5 #ifndef ctrlplane_ifmap_server_table_h
6 #define ctrlplane_ifmap_server_table_h
25 const std::string &
name);
55 const std::string &vm_name,
bool subscribe,
bool has_vms);
67 uint64_t sequence_number);
69 uint64_t sequence_number);
74 const std::string &id_name);
76 const std::string &id_name,
80 const std::string &metadata, uint64_t sequence_number,
88 const std::string &vm_name);
90 const std::string &vm_name,
bool has_vms);
IFMapLink * FindLinkNode(IFMapNode *first, IFMapNode *second, const std::string &metadata)
void Notify(IFMapNode *node)
const DBGraph * graph() const
static void RemoveObjectAndDeleteNode(IFMapNode *node, const IFMapOrigin &origin)
IFMapLinkAttr * LocateLinkAttr(IFMapNode *node, IFMapOrigin origin, uint64_t sequence_number)
IFMapObject * LocateObject(IFMapNode *node, IFMapOrigin origin)
IFMapNode * EntryLocate(RequestKey *key, bool *changep)
std::unique_ptr< AutogenProperty > content
static IFMapNode * TableEntryLookup(IFMapServerTable *table, const std::string &id_name)
void IFMapProcVmSubscribe(const std::string &vr_name, const std::string &vm_name)
IFMapServerTable(DB *db, const std::string &name, DBGraph *graph)
IFMapLink * LinkNodeAdd(IFMapNode *first, IFMapNode *second, const std::string &metadata, uint64_t sequence_number, const IFMapOrigin &origin)
void IFMapVmSubscribe(const std::string &vr_name, const std::string &vm_name, bool subscribe, bool has_vms)
IFMapIdentifier * LocateIdentifier(IFMapNode *node, IFMapOrigin origin, uint64_t sequence_number)
void IFMapRemoveVrVmLink(IFMapNode *vr_node, IFMapNode *vm_node)
const std::string & name() const
void IFMapProcVmUnsubscribe(const std::string &vr_name, const std::string &vm_name, bool has_vms)
void DeleteNode(IFMapNode *node)
static IFMapNode * TableEntryLocate(IFMapServerTable *table, const std::string &id_name, bool *changep)
void IFMapAddVrVmLink(IFMapNode *vr_node, IFMapNode *vm_node)
virtual std::unique_ptr< DBEntry > AllocEntry(const DBRequestKey *key) const
IFMapNode * EntryLookup(RequestKey *key)
void LinkNodeDelete(IFMapLink *link, const IFMapOrigin &origin)
virtual void Input(DBTablePartition *partition, DBClient *client, DBRequest *req)
static std::string LinkAttrKey(IFMapNode *first, IFMapNode *second)
bool DeleteIfEmpty(IFMapNode *node)
void LinkNodeUpdate(IFMapLink *link, uint64_t sequence_number, const IFMapOrigin &origin)