PR delivers fix for index error while acquiring IP address for network interfaces of VM-Series instance, which contains only 1 dataplane NIC and there is no dedicate untrust interface.
IP of untrust interface is used while registering and deregistering IP in target groups for centralized design, so in case of untrust IP is None, functions elbv2_client.register_targets and elbv2_client.deregister_targets could fail. Because of that additional catching of exceptions was added.
Motivation and Context
407
How Has This Been Tested?
Code was tested by deploying autoscaling examples in one-arm design (1 dataplane network interface).
Moreover registering and deregistering was checked by deploying autoscaling example for centralized design.
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
Description
PR delivers fix for index error while acquiring IP address for network interfaces of VM-Series instance, which contains only 1 dataplane NIC and there is no dedicate untrust interface.
IP of untrust interface is used while registering and deregistering IP in target groups for centralized design, so in case of untrust IP is
None
, functionselbv2_client.register_targets
andelbv2_client.deregister_targets
could fail. Because of that additional catching of exceptions was added.Motivation and Context
407
How Has This Been Tested?
Code was tested by deploying autoscaling examples in one-arm design (1 dataplane network interface).
Moreover registering and deregistering was checked by deploying autoscaling example for centralized design.
Types of changes
Checklist