Add default for nodeUser/nodePass
- Add defaults incase they aren't defined in .topo file
- Minor grammer fixes
Change-Id: I26147329673ebeb8e81d2d8ce2a5f97e7b889961
diff --git a/TestON/core/teston.py b/TestON/core/teston.py
index 647fa81..f296c69 100644
--- a/TestON/core/teston.py
+++ b/TestON/core/teston.py
@@ -168,7 +168,7 @@
'''
global driver_options
self.initiated = False
- self.log.info( "Creating component Handle: " + component )
+ self.log.info( "Creating component handle: " + component )
driver_options = {}
if 'COMPONENTS' in self.componentDictionary[ component ].keys():
driver_options = dict( self.componentDictionary[ component ][ 'COMPONENTS' ] )
diff --git a/TestON/drivers/common/cli/emulator/scapyclidriver.py b/TestON/drivers/common/cli/emulator/scapyclidriver.py
index c4708bc..1ff0d6f 100644
--- a/TestON/drivers/common/cli/emulator/scapyclidriver.py
+++ b/TestON/drivers/common/cli/emulator/scapyclidriver.py
@@ -115,7 +115,7 @@
self.user_name +
"@" +
self.ip_address )
- main.log.error( "Failed to connect to the Mininet Host" )
+ main.log.error( "Failed to connect to the Host" )
return main.FALSE
except pexpect.EOF:
main.log.error( self.name + ": EOF exception found" )
diff --git a/TestON/drivers/common/cli/onosclusterdriver.py b/TestON/drivers/common/cli/onosclusterdriver.py
index f3de41d..eebc5ad 100755
--- a/TestON/drivers/common/cli/onosclusterdriver.py
+++ b/TestON/drivers/common/cli/onosclusterdriver.py
@@ -98,6 +98,8 @@
self.karafPromptPass = None
self.kubeConfig = None
self.karafPromptUser = None
+ self.nodeUser = None
+ self.nodePass = None
self.nodes = []
super( OnosClusterDriver, self ).__init__()