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?

Reply via email to