---
name: vxlan-policy-agent
templates:
  pre-start.erb: bin/pre-start
  vxlan-policy-agent_ctl.erb: bin/vxlan-policy-agent_ctl
  vxlan-policy-agent.json.erb: config/vxlan-policy-agent.json
  ca.crt.erb: config/certs/ca.crt
  client.crt.erb: config/certs/client.crt
  client.key.erb: config/certs/client.key

packages:
  - vxlan-policy-agent

properties:
  cf_networking.vxlan_policy_agent.policy_server_url:
    description: "URL where the policy server can be reached"

  cf_networking.vxlan_policy_agent.poll_interval:
    description: "Query the policy server on this interval, in seconds"
    default: 5

  cf_networking.vxlan_policy_agent.ca_cert:
    description: "Trusted CA certificate for server"

  cf_networking.vxlan_policy_agent.client_cert:
    description: "Client certificate for TLS to access policy server"

  cf_networking.vxlan_policy_agent.client_key:
    description: "Client private key for TLS to access policy server"

  cf_networking.vxlan_policy_agent.metron_address:
    description: "Forward metrics to this metron agent"
    default: 127.0.0.1:3457

  cf_networking.vxlan_policy_agent.debug_server_host:
    description: "Host for the debug server"
    default: 127.0.0.1

  cf_networking.vxlan_policy_agent.debug_server_port:
    description: "Port for the debug server"
    default: 22222

  cf_networking.vxlan_policy_agent.log_level:
    description: "Logging level (debug, info, warn, error)"
    default: info

  cf_networking.disable:
    description: "Disable container to container networking"
    default: false
