commit 44b54a4444f3bb64d25f79f6b07cbed7bdee39d2
Author: Ondrej Lichtner <olichtne(a)redhat.com>
Date: Tue Sep 30 13:25:00 2014 +0200
Machine: unmap veth devices during deconfiguration
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>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
lnst/Controller/Machine.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
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
Show replies by thread