7 #include <sandesh/sandesh_types.h>
8 #include <sandesh/sandesh.h>
13 #include "resource_manager/resource_manager_types.h"
19 interface_name_(interface_name) {
27 sandesh_maps().DeleteVmInterfaceResourceEntry(index_data->
index());
29 VmInterfaceIndexResource backup_data;
34 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()