blob: f9cc93401958434ee1eba14ac614f0c606ccb24d [file] [log] [blame]
Elena Ezhova93e46f42017-07-06 19:01:45 +04001classes:
2- service.neutron.client
3parameters:
4 neutron:
5 client:
6 server:
7 octavia_identity:
8 endpoint_type: internalURL
9 network:
10 lb-mgmt-net:
11 tenant: service
12 admin_state_up: True
13 subnet:
14 lb-mgmt-subnet:
Ann Kamyshnikova917e6762018-11-07 15:27:26 +040015 cidr: ${_param:octavia_lb_mgmt_cidr}
Elena Ezhova93e46f42017-07-06 19:01:45 +040016 allocation_pools:
Ann Kamyshnikova917e6762018-11-07 15:27:26 +040017 - start: ${_param:octavia_lb_mgmt_allocation_pool_start}
18 end: ${_param:octavia_lb_mgmt_allocation_pool_end}
Elena Ezhova329eced2017-07-10 14:55:45 +040019 port:
20 octavia-health-manager-listen-port:
21 fixed_ips:
Elena Ezhova01fd53f2017-07-21 12:28:49 +040022 - ip_address: ${_param:octavia_hm_bind_ip}
Elena Ezhova329eced2017-07-10 14:55:45 +040023 device_owner: Octavia:health-mgr
24 binding_host_id: ${_param:openstack_gateway_node01_hostname}
25 security_groups:
26 - lb-health-mgr-sec-grp
Elena Ezhova3af94152017-07-07 16:34:27 +040027 security_group:
28 lb-mgmt-sec-grp:
29 tenant: service
30 rules:
31 - 'direction': 'ingress'
32 'ethertype': 'IPv4'
33 'protocol': 'icmp'
34 - 'direction': 'ingress'
35 'ethertype': 'IPv4'
36 'protocol': 'TCP'
37 'port_range_min': 22
38 'port_range_max': 22
39 - 'direction': 'ingress'
40 'ethertype': 'IPv4'
41 'protocol': 'TCP'
42 'port_range_min': 9443
43 'port_range_max': 9443
44 - 'direction': 'ingress'
45 'ethertype': 'IPv6'
46 'protocol': 'icmpv6'
47 'remote_ip_prefix': '::/0'
48 - 'direction': 'ingress'
49 'ethertype': 'IPv6'
50 'protocol': 'TCP'
51 'port_range_min': 22
52 'port_range_max': 22
53 'remote_ip_prefix': '::/0'
54 - 'direction': 'ingress'
55 'ethertype': 'IPv6'
56 'protocol': 'TCP'
57 'port_range_min': 9443
58 'port_range_max': 9443
59 'remote_ip_prefix': '::/0'
60 lb-health-mgr-sec-grp:
61 tenant: service
62 rules:
63 - 'direction': 'ingress'
64 'ethertype': 'IPv4'
65 'protocol': 'UDP'
66 'port_range_min': 5555
67 'port_range_max': 5555
68 - 'direction': 'ingress'
69 'ethertype': 'IPv6'
70 'protocol': 'UDP'
71 'port_range_min': 5555
72 'port_range_max': 5555
73 'remote_ip_prefix': '::/0'
Elena Ezhovae8537b22017-07-10 20:00:22 +040074
75 salt:
76 minion:
77 mine:
78 module:
79 list_octavia_networks:
80 mine_function: neutronng.list_networks
81 name: 'lb-mgmt-net'
82 profile: 'octavia_identity'
83 list_octavia_mgmt_security_groups:
84 mine_function: neutronng.list_security_groups
85 name: 'lb-mgmt-sec-grp'
86 profile: 'octavia_identity'
87 list_octavia_hm_ports:
88 mine_function: neutronng.list_ports
89 name: 'octavia-health-manager-listen-port'
90 profile: 'octavia_identity'