mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #1022 from fcheung/describe_elb_fix
fix not pulling InstanceProtocol from the xml
This commit is contained in:
commit
4391f3dee7
2 changed files with 13 additions and 4 deletions
|
@ -83,7 +83,7 @@ module Fog
|
|||
@in_listeners = false
|
||||
when 'PolicyNames'
|
||||
@in_policy_names = false
|
||||
when 'Protocol', 'SSLCertificateId'
|
||||
when 'Protocol', 'SSLCertificateId', 'InstanceProtocol'
|
||||
@listener_description['Listener'][name] = value
|
||||
when 'LoadBalancerPort', 'InstancePort'
|
||||
@listener_description['Listener'][name] = value.to_i
|
||||
|
|
|
@ -14,13 +14,22 @@ class AWS
|
|||
"DNSName" => String,
|
||||
"HealthCheck" => {"HealthyThreshold" => Integer, "Timeout" => Integer, "UnhealthyThreshold" => Integer, "Interval" => Integer, "Target" => String},
|
||||
"Instances" => Array,
|
||||
"ListenerDescriptions" => Array,
|
||||
"ListenerDescriptions" => [{
|
||||
'PolicyNames' => Array,
|
||||
'Listener' => {
|
||||
'InstancePort' => Integer,
|
||||
'InstanceProtocol' => String,
|
||||
'LoadBalancerPort' => Integer,
|
||||
'Protocol' => String,
|
||||
'SSLCertificateId' => Fog::Nullable::String
|
||||
}
|
||||
}],
|
||||
"LoadBalancerName" => String,
|
||||
"Policies" => {"LBCookieStickinessPolicies" => Array, "AppCookieStickinessPolicies" => Array},
|
||||
"Scheme" => String,
|
||||
"SecurityGroups" => Fog::Nullable::String,
|
||||
"SecurityGroups" => [Fog::Nullable::String],
|
||||
"SourceSecurityGroup" => {"GroupName" => String, "OwnerAlias" => String},
|
||||
"Subnets" => Fog::Nullable::String
|
||||
"Subnets" => [Fog::Nullable::String]
|
||||
}
|
||||
|
||||
CREATE_LOAD_BALANCER = BASIC.merge({
|
||||
|
|
Loading…
Reference in a new issue