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
2 lines
737 B
Plaintext
2 lines
737 B
Plaintext
curl -X POST -H "Content-Type: application/json" -H "X-Auth-Token: <token>" -d '{"loadbalancer": {"description": "My favorite load balancer", "admin_state_up": true, "project_id": "e3cd678b11784734bc366148aa37580e", "flavor_id": "a7ae5d5a-d855-4f9a-b187-af66b53f4d04", "vip_subnet_id": "d4af86e1-0051-488c-b7a0-527f97490c9a", "vip_address": "203.0.113.50", "additional_vips": [{"subnet_id": "3ca40b2e-c286-4e53-bdb9-dd01c8a0ad6d", "ip_address": "2001:db8::b33f"}, {"subnet_id": "44d92b92-510f-4c05-8058-bf5a17b4d41c"}], "provider": "octavia", "name": "best_load_balancer", "vip_qos_policy_id": "ec4f78ca-8da8-4e99-8a1a-e3b94595a7a3", "availability_zone": "my_az", "tags": ["test_tag"]}}' http://198.51.100.10:9876/v2/lbaas/loadbalancers
|