<%=
  require 'json'


  toRender = {
    "kernel_log_file" => p("cf_networking.iptables_logger.kernel_log_file"),
    "container_metadata_file" => "/var/vcap/data/container-metadata/store.json",
    "output_log_file" => "/var/vcap/sys/log/iptables-logger/iptables.log",
    "metron_address" => "127.0.0.1:#{p("cf_networking.iptables_logger.metron_port")}",
    "host_ip" => spec.ip,
    "host_guid" => spec.id,
  }

  JSON.pretty_generate(toRender)
%>
