Sha256: deee3ecd2e75cbd6c4f18f8f275ff5aecefc548e61442b4371520d696c9a1910

Contents?: true

Size: 1.04 KB

Versions: 25

Compression:

Stored size: 1.04 KB

Contents

Shindo.tests('Fog::Compute[:cloudstack] | public ip address requests', ['cloudstack']) do

  @public_ip_addresses_format = {
    'listpublicipaddressesresponse'  => {
      'count' => Integer,
      'publicipaddress' => [
        'id' => String,
        'ipaddress' => String,
        'allocated' => String,
        'zoneid' => String,
        'zonename' => String,
        'issourcenat' => Fog::Boolean,
        'projectid' => String,
        'project' => String,
        'domainid' => String,
        'domain' => String,
        'forvirtualnetwork' => Fog::Boolean,
        'isstaticnat' => Fog::Boolean,
        'issystem' => Fog::Boolean,
        'associatednetworkid' => String,
        'associatednetworkname' => String,
        'networkid' => String,
        'state' => String,
        'physicalnetworkid' => String,
        'tags' => Fog::Nullable::Array
      ]
    }
  }

  tests('success') do

    tests('#list_public_ip_addresses').formats(@public_ip_addresses_format) do
      Fog::Compute[:cloudstack].list_public_ip_addresses
    end

  end

end

Version data entries

25 entries across 23 versions & 4 rubygems

Version Path
fog-1.31.0 tests/cloudstack/requests/public_ip_address_tests.rb
fog-1.30.0 tests/cloudstack/requests/public_ip_address_tests.rb
fog-1.29.0 tests/cloudstack/requests/public_ip_address_tests.rb
fog-1.28.0 tests/cloudstack/requests/public_ip_address_tests.rb
fog-1.27.0 tests/cloudstack/requests/public_ip_address_tests.rb