[CORD-2862] TestON drivers for OFDPA and Host
Change-Id: I5a0005c128c091aadee567a144c0acef55235184
diff --git a/TestON/tests/dependencies/Network.py b/TestON/tests/dependencies/Network.py
index 6377c0c..e5c2200 100644
--- a/TestON/tests/dependencies/Network.py
+++ b/TestON/tests/dependencies/Network.py
@@ -38,7 +38,7 @@
We will look into each of the network component handles to try
to find the attreibute.
"""
- #FIXME: allow to call a specific driver
+ # FIXME: allow to call a specific driver
for component in self.components:
if hasattr( component, name ):
main.log.debug( "%s has attribute '%s'" % ( component.options[ 'name' ], name ) )
@@ -53,6 +53,6 @@
# Get a list of network components that are created in the test
self.components = []
for key, value in main.componentDictionary.items():
- if value[ 'type' ] in [ 'MininetCliDriver', 'RemoteMininetDriver', 'NetworkDriver' ] and hasattr( main, key ):
+ if value[ 'type' ] in [ 'MininetCliDriver', 'RemoteMininetDriver', 'NetworkDriver', 'OFDPASwitchDriver' ] and hasattr( main, key ):
self.components.append( getattr( main, key ) )
main.log.debug( "%s initialized with components: %s" % ( self.name, self.components ) )