trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Carroll <solidwallofc...@verizonmedia.com>
Subject Converting "records.config" to YAML
Date Wed, 20 May 2020 18:08:56 GMT
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