mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
9 lines
No EOL
323 B
Ruby
9 lines
No EOL
323 B
Ruby
Shindo.tests('HP::LB | load balancer node model', ['hp', 'lb', 'node']) do
|
|
|
|
attributes = {:name => 'fog-lb', :nodes => [{'address' => '15.185.1.1', 'port' => '80'}]}
|
|
@lb = HP[:lb].load_balancers.create(attributes)
|
|
|
|
attributes = {:address => '15.185.1.1', :port => '80'}
|
|
model_tests(@lb.nodes, attributes, true)
|
|
|
|
end |