Merge "Change tls_ciphers init in Pool API classes"
This commit is contained in:
commit
b400620a24
@ -84,7 +84,7 @@ class PoolResponse(BasePoolType):
|
|||||||
ca_tls_container_ref = wtypes.wsattr(wtypes.StringType())
|
ca_tls_container_ref = wtypes.wsattr(wtypes.StringType())
|
||||||
crl_container_ref = wtypes.wsattr(wtypes.StringType())
|
crl_container_ref = wtypes.wsattr(wtypes.StringType())
|
||||||
tls_enabled = wtypes.wsattr(bool)
|
tls_enabled = wtypes.wsattr(bool)
|
||||||
tls_ciphers = wtypes.StringType()
|
tls_ciphers = wtypes.wsattr(wtypes.StringType())
|
||||||
tls_versions = wtypes.wsattr(wtypes.ArrayType(wtypes.StringType()))
|
tls_versions = wtypes.wsattr(wtypes.ArrayType(wtypes.StringType()))
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -164,7 +164,7 @@ class PoolPOST(BasePoolType):
|
|||||||
ca_tls_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255))
|
ca_tls_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255))
|
||||||
crl_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_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(
|
tls_versions = wtypes.wsattr(wtypes.ArrayType(wtypes.StringType(
|
||||||
max_length=32)))
|
max_length=32)))
|
||||||
|
|
||||||
@ -186,7 +186,7 @@ class PoolPUT(BasePoolType):
|
|||||||
ca_tls_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255))
|
ca_tls_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255))
|
||||||
crl_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_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(
|
tls_versions = wtypes.wsattr(wtypes.ArrayType(wtypes.StringType(
|
||||||
max_length=32)))
|
max_length=32)))
|
||||||
|
|
||||||
@ -212,7 +212,7 @@ class PoolSingleCreate(BasePoolType):
|
|||||||
ca_tls_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255))
|
ca_tls_container_ref = wtypes.wsattr(wtypes.StringType(max_length=255))
|
||||||
crl_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_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(
|
tls_versions = wtypes.wsattr(wtypes.ArrayType(wtypes.StringType(
|
||||||
max_length=32)))
|
max_length=32)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user