diff --git a/kvmagent/kvmagent/plugins/vm_plugin.py b/kvmagent/kvmagent/plugins/vm_plugin.py index ea7a3b6407b4b34e96a60da6897ef9de662b88a8..b4b0c24befc3fc077545747492b67d7071da9c6a 100644 --- a/kvmagent/kvmagent/plugins/vm_plugin.py +++ b/kvmagent/kvmagent/plugins/vm_plugin.py @@ -5534,7 +5534,7 @@ class VmPlugin(kvmagent.KvmAgent): self._record_operation(cmd.uuid, self.VM_OP_STOP) self._stop_vm(cmd) # notify vrouter agent nic removed from source host - for nic in cmd.nics: + for nic in cmd.vmNics: if nic.type == 'TFVNIC': vrouter_cmd = [ 'vrouter-port-control',