Open sagardeo2105 opened 3 years ago
In 0.4.0 gtm release, we were able to update multiple datacenters for weighted load balancing properties. But when it comes to failover properties, the enabled flag does enable or disable but also marks both datacenters as primary.
enabled
command: akamai gtm --section default --edgerc .edgerc update-property abc.ca.akadns.net abc.def.piv -target '{"datacenterId": 3131,"weight":1,"enabled":true}' -target '{"datacenterId": 3132,"weight":1,"enabled":true}' --json --complete
Expected: both datacenters are enabled but only 1 is set primary
Actual: both datacenters were enabled and both were marked primary
Request: Can we have a separate flag that can help enable the dc & separate flag that sets a dc as primary.
@edglynes tagging you since you helped out with the earlier feature :)
In 0.4.0 gtm release, we were able to update multiple datacenters for weighted load balancing properties. But when it comes to failover properties, the
enabled
flag does enable or disable but also marks both datacenters as primary.command: akamai gtm --section default --edgerc .edgerc update-property abc.ca.akadns.net abc.def.piv -target '{"datacenterId": 3131,"weight":1,"enabled":true}' -target '{"datacenterId": 3132,"weight":1,"enabled":true}' --json --complete
Expected: both datacenters are enabled but only 1 is set primary
Actual: both datacenters were enabled and both were marked primary
Request: Can we have a separate flag that can help enable the dc & separate flag that sets a dc as primary.