Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- avi_cloud_discovery_wait: 180
- avi_config:
- pool:
- - api_version: {{ avi_api_version }}
- name: test-pool
- state: present
- lb_algorithm: LB_ALGORITHM_ROUND_ROBIN
- cloud_ref: '/api/cloud?name=openstack'
- health_monitor_refs:
- - '/api/healthmonitor?name=test-hm'
- servers:
- {% for server in backend_servers %}
- - ip:
- addr: {{ server.ip.addr }}
- type: {{ server.ip.type }}
- {% endfor %}
- healthmonitor:
- - api_version: {{ avi_api_version }}
- name: test-hm
- state: present
- cloud_ref: '/api/cloud?name=openstack'
- http_monitor:
- http_request: "HEAD / HTTP/1.0"
- http_response_code:
- - HTTP_2XX
- - HTTP_3XX
- receive_timeout: 4
- failed_checks: 3
- send_interval: 10
- successful_checks: 3
- type: HEALTH_MONITOR_HTTP
- serviceenginegroup:
- - name: test-segroup
- api_version: {{ avi_api_version }}
- state: present
- cloud_ref: '/api/cloud?name=openstack'
- active_standby: true
- se_deprovision_delay: 1
- se_name_prefix: "test"
- virtualservice:
- - name: test-vs
- api_version: {{ avi_api_version }}
- state: present
- services:
- - port: 80
- pool_ref: '/api/pool?name=test-pool'
- cloud_ref: '/api/cloud?name=openstack'
- se_group_ref: '/api/serviceenginegroup?name=test-segroup'
- vip:
- - auto_allocate_ip: True
- auto_allocate_floating_ip: True
- subnet_uuid: {{ openstack_configuration.vip_subnet_uuid }}
- floating_subnet_uuid: {{ openstack_configuration.public_subnet_uuid }}
Advertisement
Add Comment
Please, Sign In to add comment