Elena Ezhova | 93e46f4 | 2017-07-06 19:01:45 +0400 | [diff] [blame] | 1 | classes: |
| 2 | - service.neutron.client |
| 3 | parameters: |
Elena Ezhova | 01fd53f | 2017-07-21 12:28:49 +0400 | [diff] [blame] | 4 | _param: |
| 5 | octavia_hm_bind_ip: '192.168.0.12' |
Elena Ezhova | 93e46f4 | 2017-07-06 19:01:45 +0400 | [diff] [blame] | 6 | neutron: |
| 7 | client: |
| 8 | server: |
| 9 | octavia_identity: |
| 10 | endpoint_type: internalURL |
| 11 | network: |
| 12 | lb-mgmt-net: |
| 13 | tenant: service |
| 14 | admin_state_up: True |
| 15 | subnet: |
| 16 | lb-mgmt-subnet: |
| 17 | cidr: 192.168.0.0/24 |
| 18 | allocation_pools: |
| 19 | - start: 192.168.0.2 |
| 20 | end: 192.168.0.200 |
Elena Ezhova | 329eced | 2017-07-10 14:55:45 +0400 | [diff] [blame] | 21 | port: |
| 22 | octavia-health-manager-listen-port: |
| 23 | fixed_ips: |
Elena Ezhova | 01fd53f | 2017-07-21 12:28:49 +0400 | [diff] [blame] | 24 | - ip_address: ${_param:octavia_hm_bind_ip} |
Elena Ezhova | 329eced | 2017-07-10 14:55:45 +0400 | [diff] [blame] | 25 | device_owner: Octavia:health-mgr |
| 26 | binding_host_id: ${_param:openstack_gateway_node01_hostname} |
| 27 | security_groups: |
| 28 | - lb-health-mgr-sec-grp |
Elena Ezhova | 3af9415 | 2017-07-07 16:34:27 +0400 | [diff] [blame] | 29 | security_group: |
| 30 | lb-mgmt-sec-grp: |
| 31 | tenant: service |
| 32 | rules: |
| 33 | - 'direction': 'ingress' |
| 34 | 'ethertype': 'IPv4' |
| 35 | 'protocol': 'icmp' |
| 36 | - 'direction': 'ingress' |
| 37 | 'ethertype': 'IPv4' |
| 38 | 'protocol': 'TCP' |
| 39 | 'port_range_min': 22 |
| 40 | 'port_range_max': 22 |
| 41 | - 'direction': 'ingress' |
| 42 | 'ethertype': 'IPv4' |
| 43 | 'protocol': 'TCP' |
| 44 | 'port_range_min': 9443 |
| 45 | 'port_range_max': 9443 |
| 46 | - 'direction': 'ingress' |
| 47 | 'ethertype': 'IPv6' |
| 48 | 'protocol': 'icmpv6' |
| 49 | 'remote_ip_prefix': '::/0' |
| 50 | - 'direction': 'ingress' |
| 51 | 'ethertype': 'IPv6' |
| 52 | 'protocol': 'TCP' |
| 53 | 'port_range_min': 22 |
| 54 | 'port_range_max': 22 |
| 55 | 'remote_ip_prefix': '::/0' |
| 56 | - 'direction': 'ingress' |
| 57 | 'ethertype': 'IPv6' |
| 58 | 'protocol': 'TCP' |
| 59 | 'port_range_min': 9443 |
| 60 | 'port_range_max': 9443 |
| 61 | 'remote_ip_prefix': '::/0' |
| 62 | lb-health-mgr-sec-grp: |
| 63 | tenant: service |
| 64 | rules: |
| 65 | - 'direction': 'ingress' |
| 66 | 'ethertype': 'IPv4' |
| 67 | 'protocol': 'UDP' |
| 68 | 'port_range_min': 5555 |
| 69 | 'port_range_max': 5555 |
| 70 | - 'direction': 'ingress' |
| 71 | 'ethertype': 'IPv6' |
| 72 | 'protocol': 'UDP' |
| 73 | 'port_range_min': 5555 |
| 74 | 'port_range_max': 5555 |
| 75 | 'remote_ip_prefix': '::/0' |
Elena Ezhova | e8537b2 | 2017-07-10 20:00:22 +0400 | [diff] [blame] | 76 | |
| 77 | salt: |
| 78 | minion: |
| 79 | mine: |
| 80 | module: |
| 81 | list_octavia_networks: |
| 82 | mine_function: neutronng.list_networks |
| 83 | name: 'lb-mgmt-net' |
| 84 | profile: 'octavia_identity' |
| 85 | list_octavia_mgmt_security_groups: |
| 86 | mine_function: neutronng.list_security_groups |
| 87 | name: 'lb-mgmt-sec-grp' |
| 88 | profile: 'octavia_identity' |
| 89 | list_octavia_hm_ports: |
| 90 | mine_function: neutronng.list_ports |
| 91 | name: 'octavia-health-manager-listen-port' |
| 92 | profile: 'octavia_identity' |