trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Meyer <>
Subject Re: Converting "records.config" to YAML
Date Wed, 20 May 2020 19:18:09 GMT
 I vote for #2, though I could live with either.
    On Wednesday, May 20, 2020, 11:09:25 AM PDT, Alan Carroll <>
 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

   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?
View raw message