49.41. LoadBalancer 侦听器集
更新监听程序
使用方法:
openstack loadbalancer listener set [-h] [--name <name>] [--description <description>] [--connection-limit <limit>] [--default-pool <pool>] [--default-tls-container-ref <container-ref>] [--sni-container-refs [<container-ref> [<container-ref> ...]]] [--insert-headers <header=value>] [--timeout-client-data <timeout>] [--timeout-member-connect <timeout>] [--timeout-member-data <timeout>] [--timeout-tcp-inspect <timeout>] [--enable | --disable] [--client-ca-tls-container-ref <container_ref>] [--client-authentication {NONE,OPTIONAL,MANDATORY}] [--client-crl-container-ref <client_crl_container_ref>] [--allowed-cidr [<allowed_cidr>]] <listener>
openstack loadbalancer listener set [-h] [--name <name>]
[--description <description>]
[--connection-limit <limit>]
[--default-pool <pool>]
[--default-tls-container-ref <container-ref>]
[--sni-container-refs [<container-ref> [<container-ref> ...]]]
[--insert-headers <header=value>]
[--timeout-client-data <timeout>]
[--timeout-member-connect <timeout>]
[--timeout-member-data <timeout>]
[--timeout-tcp-inspect <timeout>]
[--enable | --disable]
[--client-ca-tls-container-ref <container_ref>]
[--client-authentication {NONE,OPTIONAL,MANDATORY}]
[--client-crl-container-ref <client_crl_container_ref>]
[--allowed-cidr [<allowed_cidr>]]
<listener>
值 | 概述 |
---|---|
<listener> | 修改(名称或 ID)的监听程序。 |
值 | 概述 |
---|---|
-h, --help | 显示帮助信息并退出 |
--name <name> | 设置侦听器名称。 |
--description <description> | 设置此侦听器的描述。 |
--connection-limit <limit> | 此侦听器允许的最大连接数。默认值为 -1,代表无限连接。 |
--default-pool <pool> | 如果没有 l7 策略,则监听程序使用的池的 id。 |
--default-tls-container-ref <container-ref> | uri 至密钥管理器服务 secret 容器,包含 TERMINATED_TLSlisteners 的证书和密钥。 |
--sni-container-refs [<container-ref> [<container-ref> …]] | 使用 Server Name Indication 为密钥管理器服务 secret 容器(包含 TERMINATED_TLS)的 uris 列表。 |
--insert-headers <header=value> | 在向后端成员发送前插入请求的可选标头字典。 |
--timeout-client-data <timeout> | 前端客户端不活动超时(以毫秒为单位)。默认: 50000。 |
--timeout-member-connect <timeout> | 后端成员连接超时(以毫秒为单位)。默认: 5000。 |
--timeout-member-data <timeout> | 后端成员不活跃超时(以毫秒为单位)。默认: 50000。 |
--timeout-tcp-inspect <timeout> | 以毫秒为单位,等待额外的 tcp 数据包进行内容检查。默认:0. |
--enable | 启用监听程序。 |
--disable | 禁用监听程序。 |
--client-ca-tls-container-ref <container_ref> | uri 到包含 TERMINATED_TLS 侦听器的 CA 证书的关键管理器服务 secret 容器。 |
--client-authentication {NONE,OPTIONAL,MANDATORY} | tls 客户端身份验证验证 TERMINATED_TLS 侦听器的选项。 |
--client-crl-container-ref <client_crl_container_ref> | key manager 服务 secret 容器包含 TERMINATED_TLS 侦听器的 CA 撤销列表文件。 |
--allowed-cidr [<allowed_cidr>] | 允许访问监听程序的 CIDR (可以多次设置)。 |