12 : agent_(agent), interface_tree_(), uve_info_(), changed_(true),
13 deleted_(false), renewed_(false), mutex_(), add_by_vm_notify_(false),
14 vm_config_name_(vm_name), vm_name_() {
50 UveVirtualMachineAgent *uve) {
54 vector<string> s_intf_list;
57 uve->set_uuid(to_string(u));
69 s_intf_list.push_back(*it);
74 uve->set_interface_list(s_intf_list);
75 uve_info_.set_interface_list(s_intf_list);
81 uve->set_vrouter(hostname);
93 if (new_value.compare(
uve_info_.get_vrouter()) == 0) {
100 (
const vector<string> &new_list)
102 if (new_list !=
uve_info_.get_interface_list()) {
109 UveVirtualMachineAgent uve;
const std::string & host_name() const
const string & GetCfgName() const
VmUveEntryBase(Agent *agent, const std::string &vm_name)
UveVirtualMachineAgent uve_info_
InterfaceSet interface_tree_
void InterfaceAdd(const std::string &intf_cfg_name)
std::string vm_config_name_
bool UveVmVRouterChanged(const std::string &new_value) const
bool Update(const VmEntry *vm)
bool UveVmInterfaceListChanged(const std::vector< std::string > &new_l) const
virtual ~VmUveEntryBase()
bool FrameVmMsg(const boost::uuids::uuid &u, UveVirtualMachineAgent *uve)
void InterfaceDelete(const std::string &intf_cfg_name)