From: Ondrej Lichtner <olichtne(a)redhat.com>
This patch adds two unmap_if calls that were forgotten in the recent
reimplementation of interface (un)mapping.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Controller/Machine.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lnst/Controller/Machine.py b/lnst/Controller/Machine.py
index b1b4ecf..cfc4d77 100644
--- a/lnst/Controller/Machine.py
+++ b/lnst/Controller/Machine.py
@@ -882,6 +882,8 @@ class SoftInterface(Interface):
peer_if = self._machine.get_interface(self._peer)
self._machine._rpc_call("deconfigure_if_pair", self._id,
self._peer)
+ self._machine._rpc_call("unmap_if", self._id)
+ self._machine._rpc_call("unmap_if", self._peer)
self._configured = False
peer_if._configured = False
--
1.9.3