Merge "Describe use of Manila/CephFS in capabilites_map"
[apex-tripleo-heat-templates.git] / puppet / services / opendaylight-api.yaml
1 heat_template_version: ocata
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   OpenDaylightEnableDHCP:
21     description: Knob to enable/disable ODL DHCP Server
22     type: boolean
23     default: false
24   OpenDaylightFeatures:
25     description: List of features to install with ODL
26     type: comma_delimited_list
27     default: ["odl-netvirt-openstack","odl-netvirt-ui"]
28   OpenDaylightApiVirtualIP:
29     type: string
30     default: ''
31   EndpointMap:
32     default: {}
33     description: Mapping of service endpoint -> protocol. Typically set
34                  via parameter_defaults in the resource registry.
35     type: json
36   ServiceNetMap:
37     default: {}
38     description: Mapping of service_name -> network name. Typically set
39                  via parameter_defaults in the resource registry.  This
40                  mapping overrides those in ServiceNetMapDefaults.
41     type: json
42   DefaultPasswords:
43     default: {}
44     type: json
45
46 outputs:
47   role_data:
48     description: Role data for the OpenDaylight service.
49     value:
50       service_name: opendaylight_api
51       config_settings:
52         opendaylight::odl_rest_port: {get_param: OpenDaylightPort}
53         opendaylight::username: {get_param: OpenDaylightUsername}
54         opendaylight::password: {get_param: OpenDaylightPassword}
55         opendaylight::extra_features: {get_param: OpenDaylightFeatures}
56         opendaylight::enable_dhcp: {get_param: OpenDaylightEnableDHCP}
57         opendaylight::odl_bind_ip: {get_param: [ServiceNetMap, OpendaylightApiNetwork]}
58         tripleo.opendaylight_api.firewall_rules:
59               '137 opendaylight api':
60                 dport:
61                   - {get_param: OpenDaylightPort}
62                   - 6640
63                   - 6653
64       step_config: |
65         include tripleo::profile::base::neutron::opendaylight