mhoppa commented on issue #4142: Allow IPv6 Only Caches, including monitoring and routing URL: https://github.com/apache/trafficcontrol/pull/4142#issuecomment-598763121 > > is it a problem that i can set ip6Address to null and ip6IsService = true via the api? i'm guessing i can do the same with ipAddress and ipIsService as well. Seems like the api should maybe do some data massaging imo. i.e. if ip6Address is null, then set ip6IsService to false no matter what. > > @ocket8888 and @mhoppa what are your thoughts as TO working group leaders? I'm debating if this instance should return a 400 and a message like "empty addresses cannot be set as service addresses" or if it should just set the isServiceAddress field to false if there isnt an address provided. I personally prefer APIs that dont change stuff for me automatically but instead tell me I am doing it wrong. that being said I would vote for 400.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
