예제 #1
0
파일: base.py 프로젝트: jfzhang2013/savanna
 def ssh_connection(self, host, node_username):
     return remote.setup_ssh_connection(host, node_username,
                                        open(param.PATH_TO_SSH).read())
예제 #2
0
파일: base.py 프로젝트: akshayms/savanna
 def ssh_connection(self, host):
     return remote.setup_ssh_connection(host, param.NODE_USERNAME,
                                        open(param.PATH_TO_SSH).read())
예제 #3
0
 def ssh_connection(self, host, node_username):
     return remote.setup_ssh_connection(host, node_username,
                                        open(param.PATH_TO_SSH).read())