Override all Delivery Service TTLs in a CDN's Snapshot with a given value#7143
Override all Delivery Service TTLs in a CDN's Snapshot with a given value#7143srijeet0406 merged 11 commits intoapache:masterfrom
Conversation
traffic_ops/app/db/migrations/2022101700451329_add_ttl_override_to_cdn.down.sql
Show resolved
Hide resolved
traffic_ops/app/db/migrations/2022101700451329_add_ttl_override_to_cdn.up.sql
Show resolved
Hide resolved
traffic_ops/traffic_ops_golang/crconfig/deliveryservice_test.go
Outdated
Show resolved
Hide resolved
|
@zrhoffman - how do you set this value? a parameter? a field on the CDN object? (sorry, didn't read the code) |
A field directly on the CDN object. It doesn't make sense to have as a global parameter, because global parameters are on the ALL CDN, but operators will commonly want to only upgrade Traffic Routers on a single CDN at a time, and TTLs on a CDN they're not upgrading should not be affected. |
@zrhoffman - makes sense. looks good but how do you clear or unset the override value? set it to zero? |
By submitting an empty field. Neither TO nor TP accept |

This PR resolves #2388 by adding the TTL Override field to each CDN, which lets you override all TTLs in all Delivery Services of a CDN's snapshot with a single value.
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
PR submission checklist