---
name: garden-cni

templates:
  adapter.json.erb: config/adapter.json
  30-bridge.conf.erb: config/cni/30-bridge.conf

packages:
  - runc-cni

properties:
  cf_networking.garden_external_networker.cni_plugin_dir:
    description: "Directory containing CNI plugins."

  cf_networking.garden_external_networker.cni_config_dir:
    description: "Directory to store CNI config files.  Other jobs may write files into here."

  cf_networking.garden_external_networker.start_port:
    description: "Starting value for allocating host ports to containers"
    default: 61000

  cf_networking.garden_external_networker.total_ports:
    description: "Total number of host ports that may be allocated to containers"
    default: 5000

  cf_networking.network:
    description: "IP range used by the container network"
    default: 10.255.0.0/16

