Ejemplo n.º 1
0
 def _init_ssh_client(self, host, username, password):
     return netapp_api.SSHUtil(host=host,
                               username=username,
                               password=password)
Ejemplo n.º 2
0
 def setUp(self):
     super(SSHUtilTests, self).setUp()
     self.mock_object(netapp_api.SSHUtil, '_init_ssh_pool')
     self.sshutil = netapp_api.SSHUtil('127.0.0.1', 'fake_user',
                                       'fake_password')