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(),
VmInterfaceBackUpResourceTable & vm_interface_index_table()
virtual void Backup(ResourceData *data, uint16_t op)
static std::string UuidToString(const boost::uuids::uuid &id)
std::string interface_name_
virtual bool IsLess(const ResourceKey &rhs) const
ResourceBackupManager * backup_mgr()
static uint64_t UTCTimestampUsec()
ResourceSandeshMaps & sandesh_maps()
VmInterfaceIndexResourceKey(ResourceManager *rm, const boost::uuids::uuid &uuid, const std::string &interface_name)