...
|
...
|
@@ -84,6 +84,10 @@ def modify_alb_weight(SecretId, SecretKey, lb_id, domain, ip_weight_dict={}, hos |
|
|
|
|
|
# listener : [http , https]
|
|
|
for listener in lb_info['data']:
|
|
|
if listener.has_key('rules'):
|
|
|
pass
|
|
|
else:
|
|
|
continue
|
|
|
for rule in listener['rules']:
|
|
|
if rule['domain'] == domain: # domain match
|
|
|
listener_ids[listener['listenerId']] = listener['protocolType']
|
...
|
...
|
|