trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sudheer Vinukonda <sudheervinuko...@yahoo.com>
Subject Re: Converting "records.config" to YAML
Date Wed, 20 May 2020 19:55:00 GMT
 Hmm..is the change limited to records.config alone? How would the overrides work? Will they
use the full config name like today? 
Would be nice to find a consistent mechanism between the two?


    On Wednesday, May 20, 2020, 11:09:24 AM PDT, Alan Carroll <solidwallofcode@verizonmedia.com>
wrote:  
 
 If "records.config" is changed to be YAML for ATS 10, there are two reasonable approaches
to changing it.

Option 1) Use a flat namespace. The file would look something like

config:
   proxy.http.cache: true
   proxy.http.insert_request_via_str: 2
   proxy.http.chunking_enabled: true   proxy.dns.resolv_conf: "/etc/resolv.conf"   #
.... etc.
Option 2) Use a tree. The file would look something like
config:   proxy:      http:         cache: true         insert_request_via:
2         chunking_enabled: true      dns:         resolv_conf: "/etc/resolv.conf"
>From an automation point of view these are not really different - there is an obvious
isomorphism between them such that converting between them is trivial.
Any comments?
  
Mime
View raw message