コード例 #1
0
def deploy_network():
    log.info("Deploying network")
    tar_file = deploy.package("rendered/nectar1/netkit/", "netkit")
    server = "trc1.trc.adelaide.edu.au"
    deploy.transfer(server, "sknight", tar_file, tar_file)
    print "server", server
    cd_dir = "rendered/nectar1/netkit/"
    deploy.extract(server, tar_file, cd_dir)
コード例 #2
0
ファイル: console_script.py プロジェクト: sk2/ANK-NG
def deploy_network():
    log.info("Deploying network")
    tar_file = deploy.package("rendered/nectar1/netkit/", "netkit")
    server = "trc1.trc.adelaide.edu.au"
    deploy.transfer(server, "sknight", tar_file, tar_file)
    print "server", server
    cd_dir = "rendered/nectar1/netkit/"
    deploy.extract(server, tar_file, cd_dir)
コード例 #3
0
ファイル: console_script.py プロジェクト: coana/ank_v3_dev
def deploy_network(nidb):
    log.info("Deploying network")
    tar_file = deploy.package("rendered/nectar1/nklab/", "nklab")
    server = "trc1.trc.adelaide.edu.au"
    username = "******"

    server = "115.146.93.255" # 16 core
    server = "115.146.94.68" # 8 core
    username = "******"
    key_filename = "/Users/sk2/.ssh/sk.pem"
    
    deploy.transfer(server, username, tar_file, tar_file, key_filename)
    cd_dir = "rendered/nectar1/nklab/"
    deploy.extract(server, username, tar_file, cd_dir, timeout = 60, key_filename= key_filename)