Merge "Add ALPN support to the pools service client"

This commit is contained in:
Zuul 2022-09-22 18:24:41 +00:00 committed by Gerrit Code Review
commit 17902190af
2 changed files with 9 additions and 2 deletions

View File

@ -34,7 +34,7 @@ class PoolClient(base_client.BaseLBaaSClient):
admin_state_up=Unset, session_persistence=Unset, admin_state_up=Unset, session_persistence=Unset,
ca_tls_container_ref=Unset, crl_container_ref=Unset, ca_tls_container_ref=Unset, crl_container_ref=Unset,
tls_enabled=Unset, tls_container_ref=Unset, tls_enabled=Unset, tls_container_ref=Unset,
return_object_only=True): alpn_protocols=Unset, return_object_only=True):
"""Create a pool. """Create a pool.
:param protocol: The protocol for the resource. :param protocol: The protocol for the resource.
@ -61,6 +61,7 @@ class PoolClient(base_client.BaseLBaaSClient):
a PKCS12 bundle with the client a PKCS12 bundle with the client
authentication certificate and key used authentication certificate and key used
when connecting to pool members over TLS. when connecting to pool members over TLS.
:param alpn_protocols: A list of ALPN protocols for TLS enabled pools.
:param return_object_only: If True, the response returns the object :param return_object_only: If True, the response returns the object
inside the root tag. False returns the full inside the root tag. False returns the full
response from the API. response from the API.
@ -180,7 +181,8 @@ class PoolClient(base_client.BaseLBaaSClient):
description=Unset, tags=Unset, admin_state_up=Unset, description=Unset, tags=Unset, admin_state_up=Unset,
session_persistence=Unset, ca_tls_container_ref=Unset, session_persistence=Unset, ca_tls_container_ref=Unset,
crl_container_ref=Unset, tls_enabled=Unset, crl_container_ref=Unset, tls_enabled=Unset,
tls_container_ref=Unset, return_object_only=True): tls_container_ref=Unset, alpn_protocols=Unset,
return_object_only=True):
"""Update a pool. """Update a pool.
:param pool_id: The pool ID to update. :param pool_id: The pool ID to update.
@ -205,6 +207,7 @@ class PoolClient(base_client.BaseLBaaSClient):
a PKCS12 bundle with the client a PKCS12 bundle with the client
authentication certificate and key used authentication certificate and key used
when connecting to pool members over TLS. when connecting to pool members over TLS.
:param alpn_protocols: A list of ALPN protocols for TLS enabled pools.
:param return_object_only: If True, the response returns the object :param return_object_only: If True, the response returns the object
inside the root tag. False returns the full inside the root tag. False returns the full
response from the API. response from the API.

View File

@ -0,0 +1,4 @@
---
features:
- |
Added support for ALPN selection in the pools service client.