Skip to content
Snippets Groups Projects
Commit 9483f637 authored by Bob Lantz's avatar Bob Lantz
Browse files

Make sure DataController's interfaces are deleted

parent a4e93368
No related branches found
No related tags found
No related merge requests found
......@@ -27,11 +27,17 @@
class DataController( Controller ):
"""Data Network Controller.
patched to avoid checkListening error"""
patched to avoid checkListening error and to delete intfs"""
def checkListening( self ):
"Ignore spurious error"
pass
def stop( self, *args, **kwargs ):
"Make sure intfs are deleted"
kwargs.update( deleteIntfs=True )
super( Controller, self ).stop( *args, **kwargs )
class MininetFacade( object ):
"""Mininet object facade that allows a single CLI to
talk to one or more networks"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment