diff --git a/octavia/api/v2/types/pool.py b/octavia/api/v2/types/pool.py index 1ad97616e1..1a3ffb0a8c 100644 --- a/octavia/api/v2/types/pool.py +++ b/octavia/api/v2/types/pool.py @@ -84,7 +84,7 @@ class PoolResponse(BasePoolType): ca_tls_container_ref = wtypes.wsattr(wtypes.StringType()) crl_container_ref = wtypes.wsattr(wtypes.StringType()) tls_enabled = wtypes.wsattr(bool) - tls_ciphers = wtypes.StringType() + tls_ciphers = wtypes.wsattr(wtypes.StringType()) tls_versions = wtypes.wsattr(wtypes.ArrayType(wtypes.StringType())) @classmethod @@ -164,7 +164,7 @@ class PoolPOST(BasePoolType): ca_tls_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255)) crl_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255)) tls_enabled = wtypes.wsattr(bool, default=False) - tls_ciphers = wtypes.StringType(max_length=2048) + tls_ciphers = wtypes.wsattr(wtypes.StringType(max_length=2048)) tls_versions = wtypes.wsattr(wtypes.ArrayType(wtypes.StringType( max_length=32))) @@ -186,7 +186,7 @@ class PoolPUT(BasePoolType): ca_tls_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255)) crl_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255)) tls_enabled = wtypes.wsattr(bool) - tls_ciphers = wtypes.StringType(max_length=2048) + tls_ciphers = wtypes.wsattr(wtypes.StringType(max_length=2048)) tls_versions = wtypes.wsattr(wtypes.ArrayType(wtypes.StringType( max_length=32))) @@ -212,7 +212,7 @@ class PoolSingleCreate(BasePoolType): ca_tls_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255)) crl_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255)) tls_enabled = wtypes.wsattr(bool, default=False) - tls_ciphers = wtypes.StringType(max_length=2048) + tls_ciphers = wtypes.wsattr(wtypes.StringType(max_length=2048)) tls_versions = wtypes.wsattr(wtypes.ArrayType(wtypes.StringType( max_length=32)))