Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / neutron-l2gw-api.yaml
1 heat_template_version: pike
2
3 description: >
4   L2 Gateway service plugin configured with Puppet
5
6 parameters:
7   ServiceData:
8     default: {}
9     description: Dictionary packing service data
10     type: json
11   ServiceNetMap:
12     default: {}
13     description: Mapping of service_name -> network name. Typically set
14                  via parameter_defaults in the resource registry.  This
15                  mapping overrides those in ServiceNetMapDefaults.
16     type: json
17   DefaultPasswords:
18     default: {}
19     type: json
20   RoleName:
21     default: ''
22     description: Role name on which the service is applied
23     type: string
24   RoleParameters:
25     default: {}
26     description: Parameters specific to the role
27     type: json
28   EndpointMap:
29     default: {}
30     description: Mapping of service endpoint -> protocol. Typically set
31                  via parameter_defaults in the resource registry.
32     type: json
33   L2gwServiceDefaultInterfaceName:
34     default: 'FortyGigE1/0/1'
35     description: default interface name of the L2 gateway
36     type: string
37   L2gwServiceDefaultDeviceName:
38     default: 'Switch1'
39     description: default device name of the L2 gateway
40     type: string
41   L2gwServiceQuotaL2Gateway:
42     default: 5
43     description: quota of the L2 gateway
44     type: number
45   L2gwServicePeriodicMonitoringInterval:
46     default: 5
47     description: The periodic interval at which the plugin
48     type: number
49   L2gwServiceProvider:
50     default: ["L2GW:l2gw:networking_l2gw.services.l2gateway.service_drivers.L2gwDriver:default"]
51     description: Backend to use as a service provider for L2 Gateway
52     type: comma_delimited_list
53
54 outputs:
55   role_data:
56     description: Role data for the L2 Gateway role.
57     value:
58       service_name: neutron_l2gw_api
59       config_settings:
60         neutron::services::l2gw::default_interface_name: {get_param: L2gwServiceDefaultInterfaceName}
61         neutron::services::l2gw::default_device_name: {get_param: L2gwServiceDefaultDeviceName}
62         neutron::services::l2gw::quota_l2_gateway: {get_param: L2gwServiceQuotaL2Gateway}
63         neutron::services::l2gw::periodic_monitoring_interval: {get_param: L2gwServicePeriodicMonitoringInterval}
64         neutron::services::l2gw::service_providers: {get_param: L2gwServiceProvider}
65       step_config: |
66         include tripleo::profile::base::neutron::l2gw