Sha256: fc9ddf424687191436cb7936d631c74afab89a2d10c2f4743f029cca2a40d6a7
Contents?: true
Size: 924 Bytes
Versions: 25
Compression:
Stored size: 924 Bytes
Contents
Shindo.tests('Fog::Compute[:cloudstack] | port forwarding rule requests', ['cloudstack']) do @port_forwarding_rule_format = { 'listportforwardingrulesresponse' => { 'count' => Integer, 'portforwardingrule' => [ 'id' => String, 'privateport' => String, 'privateendport' => String, 'protocol' => String, 'publicport' => String, 'publicendport' => String, 'virtualmachineid' => String, 'virtualmachinename' => String, 'virtualmachinedisplayname' => String, 'ipaddressid' => String, 'ipaddress' => String, 'state' => String, 'cidrlist' => String, 'tags' => Fog::Nullable::Array ] } } tests('success') do tests('#list_port_forwarding_rules').formats(@port_forwarding_rule_format) do Fog::Compute[:cloudstack].list_port_forwarding_rules('zoneid' => 1) end end end
Version data entries
25 entries across 23 versions & 4 rubygems