blob: 90a4a4e31a19b69c03412f00281626f73eef2f11 [file] [log] [blame]
classes:
- service.neutron.client
parameters:
_param:
octavia_hm_bind_ip: '192.168.0.12'
neutron:
client:
server:
octavia_identity:
endpoint_type: internalURL
network:
lb-mgmt-net:
tenant: service
admin_state_up: True
subnet:
lb-mgmt-subnet:
cidr: 192.168.0.0/24
allocation_pools:
- start: 192.168.0.2
end: 192.168.0.200
port:
octavia-health-manager-listen-port:
fixed_ips:
- ip_address: ${_param:octavia_hm_bind_ip}
device_owner: Octavia:health-mgr
binding_host_id: ${_param:openstack_gateway_node01_hostname}
security_groups:
- lb-health-mgr-sec-grp
security_group:
lb-mgmt-sec-grp:
tenant: service
rules:
- 'direction': 'ingress'
'ethertype': 'IPv4'
'protocol': 'icmp'
- 'direction': 'ingress'
'ethertype': 'IPv4'
'protocol': 'TCP'
'port_range_min': 22
'port_range_max': 22
- 'direction': 'ingress'
'ethertype': 'IPv4'
'protocol': 'TCP'
'port_range_min': 9443
'port_range_max': 9443
- 'direction': 'ingress'
'ethertype': 'IPv6'
'protocol': 'icmpv6'
'remote_ip_prefix': '::/0'
- 'direction': 'ingress'
'ethertype': 'IPv6'
'protocol': 'TCP'
'port_range_min': 22
'port_range_max': 22
'remote_ip_prefix': '::/0'
- 'direction': 'ingress'
'ethertype': 'IPv6'
'protocol': 'TCP'
'port_range_min': 9443
'port_range_max': 9443
'remote_ip_prefix': '::/0'
lb-health-mgr-sec-grp:
tenant: service
rules:
- 'direction': 'ingress'
'ethertype': 'IPv4'
'protocol': 'UDP'
'port_range_min': 5555
'port_range_max': 5555
- 'direction': 'ingress'
'ethertype': 'IPv6'
'protocol': 'UDP'
'port_range_min': 5555
'port_range_max': 5555
'remote_ip_prefix': '::/0'
salt:
minion:
mine:
module:
list_octavia_networks:
mine_function: neutronng.list_networks
name: 'lb-mgmt-net'
profile: 'octavia_identity'
list_octavia_mgmt_security_groups:
mine_function: neutronng.list_security_groups
name: 'lb-mgmt-sec-grp'
profile: 'octavia_identity'
list_octavia_hm_ports:
mine_function: neutronng.list_ports
name: 'octavia-health-manager-listen-port'
profile: 'octavia_identity'