Last active
November 12, 2020 18:03
-
-
Save Zerpet/e5d132f8ab6dc4948de4e9344d071d99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oneGB = 1 * 1000 * 1000 # in KB | |
$testbed = Proc.new do | |
{ | |
"name" => "testbed", | |
"version" => 3, | |
"esx" => (0..0).map do | idx | | |
{ | |
"name" => "esx.#{idx}", | |
"vc" => "vc.0", | |
"customBuild" => "ob-17172269", # ESXi 7.0.1.5850 | |
"dc" => "vcqaDC", | |
"clusterName" => "cluster0", | |
"style" => "fullInstall", | |
"cpus" => 8, | |
"nics" => 2, | |
"memory" => 32000, | |
"fullClone" => true, | |
"disk" => [ 400 * oneGB ] | |
} | |
end, | |
"vcs" => [ | |
{ | |
"name" => "vc.0", | |
"type" => "vcva", | |
"customBuild" => "ob-17172268", # vcenter 7.0.1.37031 | |
"dcName" => ["vcqaDC"], | |
"clusters" => [ | |
{ | |
"name" => "cluster0", | |
"dc" => "vcqaDC" | |
} | |
] | |
} | |
], | |
"beforePostBoot" => Proc.new do |runId, testbedSpec, vmList, catApi, logDir| | |
end, | |
"postBoot" => Proc.new do |runId, testbedSpec, vmList, catApi, logDir| | |
end | |
} | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment