apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.04k stars 339 forks source link

Assign parameters to things like packages or groups #1688

Open ezelkow1 opened 6 years ago

ezelkow1 commented 6 years ago

Individual parameters generally seem like they should be grouped in to an idea. I.e. we have a chunk of parameters that all belong to ATS, and as a part of that we have subsets for various versions. We have params that seemed grouped into different types of edges or mids, etc. It just seems like there could be some sort of logical grouping and management to parameters beyond the convention of a profile

This isnt so much a specific suggestion, just something to think about down the road when it comes time to refactor/rework/rewrite

mitchell852 commented 3 years ago

improved parameter management seems like a great idea!

ocket8888 commented 2 years ago

Is this resolved by Profile layering?

ezelkow1 commented 2 years ago

Yea possibly @ocket8888, I havent read the blueprint yet though. If you can do things like just assign sets of params to one profile, and then select multiple profiles for a cache to be able to stack say, hardware profile -> ATS 8 profile -> edge profile, and inherit all the params. Then it would work nicely

ocket8888 commented 2 years ago

Yes, that should be exactly how it works.