mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
26 lines
No EOL
527 B
Ruby
26 lines
No EOL
527 B
Ruby
Shindo.tests("Fog::HP::LB | get load balancer", ['hp', 'lb', 'load_balancers']) do
|
|
@lb_format = {
|
|
'id' => String,
|
|
'name' => String,
|
|
'protocol' => String,
|
|
'port' => String,
|
|
'algorithm' => String,
|
|
'status' => String,
|
|
'created' => String,
|
|
'updated' => String,
|
|
'virtualIps' => [Hash],
|
|
'nodes' => [Hash]
|
|
}
|
|
|
|
|
|
|
|
|
|
tests('success') do
|
|
|
|
tests("#get_load_balancer").formats(@lb_format) do
|
|
HP[:lb].get_load_balancer('71').body
|
|
end
|
|
|
|
end
|
|
|
|
end |