d9ee63f561
User can specify additional subnet_id/ip_address pairs to bring up on the VIP port. This will allow for situations like having an LB with both IPv4+IPv6 or being exposed on both public and a private network. For UDP/SCTP loadbalancers, mixing IPv4 VIP and IPv6 members is not supported (IPv6 VIP and IPv4 members as well). It's still possible to use IPv4 and IPv6 VIPs at the same time in the same loadbalancer but an IPv4 VIP can only communicate with IPv4 members. Thanks Michael for help with validating/fixing the templates! Thanks Gregory for help with the centos networking! Co-Authored-By: Michael Johnson <johnsomor@gmail.com> Co-Authored-By: Gregory Thiemonge <gthiemon@redhat.com> Co-Authored-By: Brian Haley <haleyb.dev@gmail.com> Story: 2005608 Task: 30847 Change-Id: Id7153dbf33b9616d7af685fcf13ad9a79793c06b
183 lines
7.4 KiB
JSON
183 lines
7.4 KiB
JSON
{
|
|
"loadbalancer": {
|
|
"description": "My favorite load balancer",
|
|
"admin_state_up": true,
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"provisioning_status": "ACTIVE",
|
|
"flavor_id": "",
|
|
"vip_subnet_id": "d4af86e1-0051-488c-b7a0-527f97490c9a",
|
|
"listeners": [
|
|
{
|
|
"l7policies": [],
|
|
"protocol": "HTTP",
|
|
"description": "",
|
|
"default_tls_container_ref": null,
|
|
"admin_state_up": true,
|
|
"default_pool": {
|
|
"id": "c8cec227-410a-4a5b-af13-ecf38c2b0abb"
|
|
},
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"default_tls_container_id": null,
|
|
"connection_limit": -1,
|
|
"sni_container_refs": [],
|
|
"protocol_port": 80,
|
|
"id": "a99995c6-4f04-4ed3-a37f-ae58f6e7e5e1",
|
|
"name": "http_listener"
|
|
},
|
|
{
|
|
"l7policies": [],
|
|
"protocol": "HTTPS",
|
|
"description": "",
|
|
"default_tls_container_ref": null,
|
|
"admin_state_up": true,
|
|
"default_pool": {
|
|
"id": "b0577aff-c1f9-40c6-9a3b-7b1d2a669136"
|
|
},
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"default_tls_container_id": null,
|
|
"connection_limit": -1,
|
|
"sni_container_refs": [],
|
|
"protocol_port": 443,
|
|
"id": "73c6c564-f215-48e9-91d6-f10bb3454954",
|
|
"name": "https_listener",
|
|
"tags": ["test_tag"]
|
|
},
|
|
{
|
|
"l7policies": [
|
|
{
|
|
"description": "",
|
|
"admin_state_up": true,
|
|
"rules": [],
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"listener_id": "95de30ec-67f4-437b-b3f3-22c5d9ef9828",
|
|
"redirect_url": "https://www.example.com/",
|
|
"action": "REDIRECT_TO_URL",
|
|
"position": 1,
|
|
"id": "d0553837-f890-4981-b99a-f7cbd6a76577",
|
|
"name": "redirect_policy"
|
|
}
|
|
],
|
|
"protocol": "HTTP",
|
|
"description": "",
|
|
"default_tls_container_ref": null,
|
|
"admin_state_up": true,
|
|
"default_pool": null,
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"default_tls_container_id": null,
|
|
"connection_limit": -1,
|
|
"sni_container_refs": [],
|
|
"protocol_port": 8080,
|
|
"id": "95de30ec-67f4-437b-b3f3-22c5d9ef9828",
|
|
"name": "redirect_listener"
|
|
}
|
|
],
|
|
"vip_address": "203.0.113.50",
|
|
"vip_network_id": "d0d217df-3958-4fbf-a3c2-8dad2908c709",
|
|
"vip_port_id": "b4ca07d1-a31e-43e2-891a-7d14f419f342",
|
|
"additional_vips": [],
|
|
"provider": "octavia",
|
|
"pools": [
|
|
{
|
|
"lb_algorithm": "ROUND_ROBIN",
|
|
"protocol": "HTTP",
|
|
"description": "",
|
|
"admin_state_up": true,
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"session_persistence": null,
|
|
"healthmonitor": {
|
|
"name": "",
|
|
"admin_state_up": true,
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"delay": 3,
|
|
"expected_codes": "200,201,202",
|
|
"max_retries": 2,
|
|
"http_method": "GET",
|
|
"timeout": 1,
|
|
"max_retries_down": 3,
|
|
"url_path": "/index.html",
|
|
"type": "HTTP",
|
|
"id": "a8a2aa3f-d099-4752-8265-e6472f8147f9"
|
|
},
|
|
"members": [
|
|
{
|
|
"name": "",
|
|
"weight": 1,
|
|
"admin_state_up": true,
|
|
"subnet_id": "bbb35f84-35cc-4b2f-84c2-a6a29bba68aa",
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"address": "192.0.2.16",
|
|
"protocol_port": 80,
|
|
"id": "7d19ad6c-d549-453e-a5cd-05382c6be96a"
|
|
},
|
|
{
|
|
"name": "",
|
|
"weight": 1,
|
|
"admin_state_up": true,
|
|
"subnet_id": "bbb35f84-35cc-4b2f-84c2-a6a29bba68aa",
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"address": "192.0.2.19",
|
|
"protocol_port": 80,
|
|
"id": "a167402b-caa6-41d5-b4d4-bde7f2cbfa5e"
|
|
}
|
|
],
|
|
"id": "c8cec227-410a-4a5b-af13-ecf38c2b0abb",
|
|
"name": "rr_pool"
|
|
},
|
|
{
|
|
"lb_algorithm": "ROUND_ROBIN",
|
|
"protocol": "HTTPS",
|
|
"description": "",
|
|
"admin_state_up": true,
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"session_persistence": null,
|
|
"healthmonitor": {
|
|
"name": "",
|
|
"admin_state_up": true,
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"delay": 3,
|
|
"expected_codes": "200,201,202",
|
|
"max_retries": 2,
|
|
"http_method": "GET",
|
|
"timeout": 1,
|
|
"max_retries_down": 3,
|
|
"url_path": "/index.html",
|
|
"type": "HTTPS",
|
|
"id": "d5bb7712-26b7-4809-8c14-3b407c0cb00d"
|
|
},
|
|
"members": [
|
|
{
|
|
"name": "",
|
|
"weight": 1,
|
|
"admin_state_up": true,
|
|
"subnet_id": "bbb35f84-35cc-4b2f-84c2-a6a29bba68aa",
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"address": "192.0.2.51",
|
|
"protocol_port": 80,
|
|
"id": "f83832d5-1f22-45fa-866a-4abea36e0886"
|
|
},
|
|
{
|
|
"name": "",
|
|
"weight": 1,
|
|
"admin_state_up": true,
|
|
"subnet_id": "bbb35f84-35cc-4b2f-84c2-a6a29bba68aa",
|
|
"project_id": "e3cd678b11784734bc366148aa37580e",
|
|
"address": "192.0.2.52",
|
|
"protocol_port": 80,
|
|
"id": "f83832d5-1f22-45fa-866a-4abea36e0886"
|
|
}
|
|
],
|
|
"id": "b0577aff-c1f9-40c6-9a3b-7b1d2a669136",
|
|
"name": "https_pool"
|
|
}
|
|
],
|
|
"created_at": "2017-02-28T00:41:44",
|
|
"updated_at": "2017-02-28T00:43:30",
|
|
"id": "607226db-27ef-4d41-ae89-f2a800e9c2db",
|
|
"operating_status": "ONLINE",
|
|
"name": "best_load_balancer",
|
|
"vip_qos_policy_id": "ec4f78ca-8da8-4e99-8a1a-e3b94595a7a3",
|
|
"availability_zone": "my_az",
|
|
"tags": ["test_tag"]
|
|
}
|
|
}
|