# A Heat environment file that can be used to deploy Neutron L2 Gateway service
#
# Currently there are only two service provider for Neutron L2 Gateway
# The default option is a dummy driver that allows to enable the API.
# In order to enable other backend, replace the content of L2gwServiceProvider
#
# - L2 gateway agent: L2GW:l2gw:networking_l2gw.services.l2gateway.service_drivers.rpc_l2gw.L2gwRpcDriver:default
# - OpenDaylight: L2GW:OpenDaylight:networking_odl.l2gateway.driver_v2.OpenDaylightL2gwDriver:default
resource_registry:
  OS::TripleO::Services::NeutronL2gwApi: ../docker/services/neutron-l2gw-api.yaml
  # FIXME(bogdando): switch it, once it is containerized
  OS::TripleO::Services::NeutronL2gwAgent: ../puppet/services/neutron-l2gw-agent.yaml

parameter_defaults:
  NeutronServicePlugins: "l2gw"
  L2gwServiceProvider: ['L2GW:l2gw:networking_l2gw.services.l2gateway.service_drivers.L2gwDriver:default']

  # Optional
  # L2gwServiceDefaultInterfaceName: "FortyGigE1/0/1"
  # L2gwServiceDefaultDeviceName: "Switch1"
  # L2gwServiceQuotaL2Gateway: 10
  # L2gwServicePeriodicMonitoringInterval: 5
  # L2gwAgentOvsdbHosts: ["ovsdb1:127.0.0.1:6632"]
  # L2gwAgentEnableManager: False
  # L2gwAgentManagerTableListeningPort: "6633"
  # L2gwAgentPeriodicInterval: 20
  # L2gwAgentMaxConnectionRetries: 10
  # L2gwAgentSocketTimeout: 30