Merge "Add flag for internal TLS"
[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   EnableOpenDaylightOnController:
12     default: false
13     description: Whether to install OpenDaylight on control nodes.
14     type: boolean
15   OpenDaylightUsername:
16     default: 'admin'
17     description: The username for the opendaylight server.
18     type: string
19   OpenDaylightPassword:
20     default: 'admin'
21     type: string
22     description: The password for the opendaylight server.
23     hidden: true
24   OpenDaylightEnableL3:
25     description: Knob to enable/disable ODL L3
26     type: string
27     default: 'no'
28   OpenDaylightEnableDHCP:
29     description: Knob to enable/disable ODL DHCP Server
30     type: boolean
31     default: false
32   OpenDaylightFeatures:
33     description: List of features to install with ODL
34     type: comma_delimited_list
35     default: ["odl-netvirt-openstack","odl-netvirt-ui"]
36   OpenDaylightApiVirtualIP:
37     type: string
38     default: ''
39   EndpointMap:
40     default: {}
41     description: Mapping of service endpoint -> protocol. Typically set
42                  via parameter_defaults in the resource registry.
43     type: json
44   ServiceNetMap:
45     default: {}
46     description: Mapping of service_name -> network name. Typically set
47                  via parameter_defaults in the resource registry.  This
48                  mapping overrides those in ServiceNetMapDefaults.
49     type: json
50   DefaultPasswords:
51     default: {}
52     type: json
53
54 outputs:
55   role_data:
56     description: Role data for the OpenDaylight service.
57     value:
58       service_name: opendaylight_api
59       config_settings:
60         opendaylight::odl_rest_port: {get_param: OpenDaylightPort}
61         odl_on_controller: {get_param: EnableOpenDaylightOnController}
62         opendaylight::username: {get_param: OpenDaylightUsername}
63         opendaylight::password: {get_param: OpenDaylightPassword}
64         opendaylight::enable_l3: {get_param: OpenDaylightEnableL3}
65         opendaylight::extra_features: {get_param: OpenDaylightFeatures}
66         opendaylight::enable_dhcp: {get_param: OpenDaylightEnableDHCP}
67         opendaylight::odl_bind_ip: {get_param: [ServiceNetMap, OpenDaylightApiNetwork]}
68       step_config: |
69         include tripleo::profile::base::neutron::opendaylight