Cleanup vif entries in store when domain goes away.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2005-08-25 15:45:39 +00:00
1 parent 73429619b1
commit 51a81da82a
1 file changed
+5
+5
View File
@@ -750,6 +750,11 @@ class XendDomainInfo:
devdb['node'].getData())
typedb[dev].delete()
typedb.saveDB(save=True)
if type == 'vif':
typedb = ddb.addChild(type)
for dev in typedb.keys():
typedb[dev].delete()
typedb.saveDB(save=True)
def show(self):
"""Print virtual machine info.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.