mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
25 lines
611 B
Ruby
25 lines
611 B
Ruby
Shindo.tests('Fog::Compute[:cloudstack] | egress firewall rule requests', ['cloudstack']) do
|
|
|
|
@egress_firewall_rules_format = {
|
|
'listegressfirewallrulesresponse' => {
|
|
'count' => Integer,
|
|
'firewallrule' => [
|
|
'id' => String,
|
|
'protocol' => String,
|
|
'networkid' => String,
|
|
'state' => String,
|
|
'cidrlist' => String,
|
|
'tags' => Fog::Nullable::Array
|
|
]
|
|
}
|
|
}
|
|
|
|
tests('success') do
|
|
|
|
tests('#list_egress_firewall_rules').formats(@egress_firewall_rules_format) do
|
|
Fog::Compute[:cloudstack].list_egress_firewall_rules
|
|
end
|
|
|
|
end
|
|
|
|
end
|