Merge "Add Neutron network type and VLAN ranges to network-environment.yaml"
[apex-tripleo-heat-templates.git] / puppet / services / opendaylight-api.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenDaylight SDN Controller.
5
6 parameters:
7   OpenDaylightPort:
8     default: 8081
9     description: Set opendaylight service port
10     type: number
11   OpenDaylightUsername:
12     default: 'admin'
13     description: The username for the opendaylight server.
14     type: string
15   OpenDaylightPassword:
16     default: 'admin'
17     type: string
18     description: The password for the opendaylight server.
19     hidden: true
20   OpenDaylightEnableL3:
21     description: Knob to enable/disable ODL L3
22     type: string
23     default: 'no'
24   OpenDaylightEnableDHCP:
25     description: Knob to enable/disable ODL DHCP Server
26     type: boolean
27     default: false
28   OpenDaylightFeatures:
29     description: List of features to install with ODL
30     type: comma_delimited_list
31     default: ["odl-netvirt-openstack","odl-netvirt-ui"]
32   OpenDaylightApiVirtualIP:
33     type: string
34     default: ''
35   EndpointMap:
36     default: {}
37     description: Mapping of service endpoint -> protocol. Typically set
38                  via parameter_defaults in the resource registry.
39     type: json
40   ServiceNetMap:
41     default: {}
42     description: Mapping of service_name -> network name. Typically set
43                  via parameter_defaults in the resource registry.  This
44                  mapping overrides those in ServiceNetMapDefaults.
45     type: json
46   DefaultPasswords:
47     default: {}
48     type: json
49
50 outputs:
51   role_data:
52     description: Role data for the OpenDaylight service.
53     value:
54       service_name: opendaylight_api
55       config_settings:
56         opendaylight::odl_rest_port: {get_param: OpenDaylightPort}
57         opendaylight::username: {get_param: OpenDaylightUsername}
58         opendaylight::password: {get_param: OpenDaylightPassword}
59         opendaylight::enable_l3: {get_param: OpenDaylightEnableL3}
60         opendaylight::extra_features: {get_param: OpenDaylightFeatures}
61         opendaylight::enable_dhcp: {get_param: OpenDaylightEnableDHCP}
62         opendaylight::odl_bind_ip: {get_param: [ServiceNetMap, OpendaylightApiNetwork]}
63       step_config: |
64         include tripleo::profile::base::neutron::opendaylight