mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Add a private IP by default to the openstack server mock
This commit is contained in:
parent
3eed59332d
commit
1fda348e5c
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ module Fog
|
|||
end
|
||||
|
||||
mock_data = {
|
||||
'addresses' => {},
|
||||
'addresses' => {"Private" => [{"addr" => Fog::Mock.random_ip }]},
|
||||
'flavor' => {"id" => flavor_ref, "links"=>[{"href"=>"http://nova1:8774/admin/flavors/1", "rel"=>"bookmark"}]},
|
||||
'id' => server_id,
|
||||
'image' => {"id" => image_ref, "links"=>[{"href"=>"http://nova1:8774/admin/images/#{image_ref}", "rel"=>"bookmark"}]},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue