Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / octavia-base.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Octavia base service. Shared for all Octavia services
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   Debug:
34     type: string
35     default: ''
36     description: Set to True to enable debugging on all services.
37   OctaviaDebug:
38     default: ''
39     description: Set to True to enable debugging Octavia services.
40     type: string
41   EnableConfigPurge:
42     type: boolean
43     default: false
44     description: >
45         Remove configuration that is not generated by TripleO. Used to avoid
46         configuration remnants after upgrades.
47   RabbitPassword:
48     description: The password for RabbitMQ
49     type: string
50     hidden: true
51   RabbitUserName:
52     default: guest
53     description: The username for RabbitMQ
54     type: string
55   RabbitClientUseSSL:
56     default: false
57     description: >
58         Rabbit client subscriber parameter to specify
59         an SSL connection to the RabbitMQ host.
60     type: string
61   RabbitClientPort:
62     default: 5672
63     description: Set rabbit subscriber port, change this if using SSL
64     type: number
65   NotificationDriver:
66     type: string
67     default: 'messagingv2'
68     description: Driver or drivers to handle sending notifications.
69     constraints:
70       - allowed_values: [ 'messagingv2', 'noop' ]
71
72 conditions:
73   service_debug_unset: {equals : [{get_param: OctaviaDebug}, '']}
74
75 outputs:
76   role_data:
77     description: Base role data for Octavia services
78     value:
79        service_name: octavia_base
80        config_settings:
81          octavia::debug:
82           if:
83           - service_debug_unset
84           - {get_param: Debug }
85           - {get_param: OctaviaDebug }
86          octavia::purge_config: {get_param: EnableConfigPurge}
87          octavia::notification_driver: {get_param: NotificationDriver}
88          octavia::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
89          octavia::rabbit_userid: {get_param: RabbitUserName}
90          octavia::rabbit_password: {get_param: RabbitPassword}
91          octavia::rabbit_port: {get_param: RabbitClientPort}
92