8 #include <sandesh/sandesh_types.h>
9 #include <sandesh/sandesh.h>
14 #include "resource_manager/resource_manager_types.h"
20 interface_name_(interface_name) {
28 sandesh_maps().DeleteVmInterfaceResourceEntry(index_data->
index());
30 VmInterfaceIndexResource backup_data;
35 sandesh_maps().AddVmInterfaceResourceEntry(index_data->
index(),
ResourceSandeshMaps & sandesh_maps()
ResourceBackupManager * backup_mgr()
VmInterfaceBackUpResourceTable & vm_interface_index_table()
VmInterfaceIndexResourceKey(ResourceManager *rm, const boost::uuids::uuid &uuid, const std::string &interface_name)
virtual void Backup(ResourceData *data, uint16_t op)
virtual bool IsLess(const ResourceKey &rhs) const
std::string interface_name_
static std::string UuidToString(const boost::uuids::uuid &id)
static uint64_t UTCTimestampUsec()