NCM::Component::metaconfig::haproxy - schema¶
Types¶
- /software/components/metaconfig/haproxy_service_global_logs
- Description: list of syslog facilities
- /software/components/metaconfig/haproxy_service_global_logs/_2fdev_2flog
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_global_logs/_3127_2e0_2e0_2e1
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_global_config
- Description: Define the Global config options
- /software/components/metaconfig/haproxy_service_global_config/tune.ssl.default-dh-param
- Optional
- Type: long
- /software/components/metaconfig/haproxy_service_global_config/user
- Required
- Type: string
- Default value: haproxy
- /software/components/metaconfig/haproxy_service_global_config/group
- Required
- Type: string
- Default value: haproxy
- /software/components/metaconfig/haproxy_service_global_config/maxconn
- Required
- Type: long
- Default value: 4000
- /software/components/metaconfig/haproxy_service_global_config/daemon
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_global_config/pidfile
- Required
- Type: string
- Default value: /var/run/haproxy.pid
- /software/components/metaconfig/haproxy_service_global_config/chroot
- Required
- Type: string
- Default value: /var/lib/haproxy
- /software/components/metaconfig/haproxy_service_global_config/log-send-hostname
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_global_config/ssl-default-bind-ciphers
- Optional
- Type: string_non_whitespace
- /software/components/metaconfig/haproxy_service_global_config/ssl-default-bind-options
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_global_config/ssl-default-server-ciphers
- Optional
- Type: string_non_whitespace
- /software/components/metaconfig/haproxy_service_global_config/ssl-default-server-options
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_global_config/ssl-dh-param-file
- Optional
- Type: absolute_file_path
- /software/components/metaconfig/haproxy_service_global_stats
- Description: options for the stats line in the Global section
- /software/components/metaconfig/haproxy_service_global_stats/socket
- Required
- Type: string
- Default value: /var/lib/haproxy/stats
- /software/components/metaconfig/haproxy_service_global
- Description: The global section
- /software/components/metaconfig/haproxy_service_global/logs
- Required
- Type: haproxy_service_global_logs
- /software/components/metaconfig/haproxy_service_global/config
- Required
- Type: haproxy_service_global_config
- /software/components/metaconfig/haproxy_service_global/stats
- Required
- Type: haproxy_service_global_stats
- /software/components/metaconfig/haproxy_service_defaults_config
- Description: Configuration in the Default section
- /software/components/metaconfig/haproxy_service_defaults_config/log
- Required
- Type: string
- Default value: global
- /software/components/metaconfig/haproxy_service_defaults_config/mode
- Optional
- Type: choice
- /software/components/metaconfig/haproxy_service_defaults_config/retries
- Required
- Type: long
- Default value: 3
- /software/components/metaconfig/haproxy_service_defaults_config/maxconn
- Required
- Type: long
- Default value: 4000
- /software/components/metaconfig/haproxy_service_defaults_config/option
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_timeouts
- Description: Timeouts in ms
- /software/components/metaconfig/haproxy_service_timeouts/check
- Required
- Type: long
- Default value: 3500
- /software/components/metaconfig/haproxy_service_timeouts/queue
- Required
- Type: long
- Default value: 3500
- /software/components/metaconfig/haproxy_service_timeouts/connect
- Required
- Type: long
- Default value: 3500
- /software/components/metaconfig/haproxy_service_timeouts/client
- Required
- Type: long
- Default value: 10000
- /software/components/metaconfig/haproxy_service_timeouts/server
- Required
- Type: long
- Default value: 10000
- /software/components/metaconfig/haproxy_service_defaults
- Description: The Default Section
- /software/components/metaconfig/haproxy_service_defaults/config
- Required
- Type: haproxy_service_defaults_config
- /software/components/metaconfig/haproxy_service_defaults/timeouts
- Required
- Type: haproxy_service_timeouts
- /software/components/metaconfig/haproxy_service_stats_options
- Description: options in the stats section
- /software/components/metaconfig/haproxy_service_stats_options/enabled
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_stats_options/hide-version
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_stats_options/uri
- Required
- Type: string
- Default value: /
- /software/components/metaconfig/haproxy_service_stats_options/refresh
- Required
- Type: long
- Default value: 5
- /software/components/metaconfig/haproxy_service_stats
- Description: configuration in the stats section
- /software/components/metaconfig/haproxy_service_stats/mode
- Required
- Type: string
- Default value: http
- /software/components/metaconfig/haproxy_service_stats/options
- Optional
- Type: haproxy_service_stats_options
- /software/components/metaconfig/haproxy_service_proxy_config
- Description: per proxy configuration
- /software/components/metaconfig/haproxy_service_proxy_config/mode
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_proxy_config/capture
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_proxy_config/cookie
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_proxy_config/rspidel
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_proxy_config/balance
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_proxy_defaultoptions
- Description: options against the default server line in the proxy
- /software/components/metaconfig/haproxy_service_proxy_defaultoptions/inter
- Required
- Type: long
- Default value: 2
- /software/components/metaconfig/haproxy_service_proxy_defaultoptions/downinter
- Required
- Type: long
- Default value: 5
- /software/components/metaconfig/haproxy_service_proxy_defaultoptions/rise
- Required
- Type: long
- Default value: 3
- /software/components/metaconfig/haproxy_service_proxy_defaultoptions/fall
- Required
- Type: long
- Default value: 2
- /software/components/metaconfig/haproxy_service_proxy_defaultoptions/slowstart
- Required
- Type: long
- Default value: 60
- /software/components/metaconfig/haproxy_service_proxy_defaultoptions/maxqueue
- Required
- Type: long
- Default value: 128
- /software/components/metaconfig/haproxy_service_proxy_defaultoptions/weight
- Required
- Type: long
- Default value: 100
- /software/components/metaconfig/haproxy_service_proxy_serveroptions
- Description: options to be added to each server in the proxy
- /software/components/metaconfig/haproxy_service_proxy_serveroptions/cookie
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_proxy
- Description: configuration of a proxy
- /software/components/metaconfig/haproxy_service_proxy/name
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_proxy/port
- Required
- Type: type_port
- /software/components/metaconfig/haproxy_service_proxy/binds
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_proxy/config
- Required
- Type: haproxy_service_proxy_config
- /software/components/metaconfig/haproxy_service_proxy/options
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_proxy/defaultoptions
- Required
- Type: haproxy_service_proxy_defaultoptions
- /software/components/metaconfig/haproxy_service_proxy/servers
- Required
- Type: dict
- /software/components/metaconfig/haproxy_service_proxy/serveroptions
- Optional
- Type: haproxy_service_proxy_serveroptions
- /software/components/metaconfig/haproxy_service_proxy/timeouts
- Optional
- Type: haproxy_service_timeouts
- /software/components/metaconfig/haproxy_service_peer
- Description: configuration of a peer
- /software/components/metaconfig/haproxy_service_peer/name
- Description: Name of the peer host. Preferably in FQDN.
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_peer/port
- Description: Port to use to connect to peer.
- Required
- Type: type_port
- /software/components/metaconfig/haproxy_service_peer/ip
- Description: IP address of the peer.
- Required
- Type: type_ip
- /software/components/metaconfig/haproxy_service_peers
- Description: configuration of peers
- /software/components/metaconfig/haproxy_service_peers/peers
- Required
- Type: haproxy_service_peer
- /software/components/metaconfig/haproxy_service_stick_table
- Description: configuration of stick table
- /software/components/metaconfig/haproxy_service_stick_table/type
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_stick_table/size
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_stick_table/peers
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_bind_server_params
- /software/components/metaconfig/haproxy_service_bind_server_params/ssl
- Optional
- Type: boolean
- /software/components/metaconfig/haproxy_service_bind_server_params/ca-file
- Optional
- Type: absolute_file_path
- /software/components/metaconfig/haproxy_service_bind_server_params/crt
- Description: combined cert and key in pem format
- Optional
- Type: absolute_file_path
- /software/components/metaconfig/haproxy_service_bind_server_params/interface
- Description: interface to bind on
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_bind_server_params/alpn
- Description: enable the TLS ALPN extension
- Optional
- Type: string
- Default value: h2,http/1.1
- /software/components/metaconfig/haproxy_service_server_params
- /software/components/metaconfig/haproxy_service_server_params/check
- Description: enable health check
- Optional
- Type: boolean
- /software/components/metaconfig/haproxy_service_server_params/port
- Description: different health check port
- Optional
- Type: type_port
- /software/components/metaconfig/haproxy_service_bind_params
- /software/components/metaconfig/haproxy_service_bind
- /software/components/metaconfig/haproxy_service_bind/bind
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_bind/params
- Optional
- Type: haproxy_service_bind_params
- /software/components/metaconfig/haproxy_service_bind/port
- Optional
- Type: type_port
- /software/components/metaconfig/haproxy_service_frontend
- /software/components/metaconfig/haproxy_service_frontend/acl
- Optional
- Type: dict
- /software/components/metaconfig/haproxy_service_frontend/bind
- Required
- Type: haproxy_service_bind
- /software/components/metaconfig/haproxy_service_frontend/default_backend
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_frontend/mode
- Optional
- Type: choice
- /software/components/metaconfig/haproxy_service_frontend/tcp-request
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_frontend/http-request
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_backend_server
- /software/components/metaconfig/haproxy_service_backend_server/name
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_backend_server/ip
- Required
- Type: type_ip
- /software/components/metaconfig/haproxy_service_backend_server/port
- Optional
- Type: type_port
- /software/components/metaconfig/haproxy_service_backend_server/params
- Optional
- Type: haproxy_service_server_params
- /software/components/metaconfig/haproxy_service_http_check
- Description: configure ‘http-check expect [!] match pattern’
- /software/components/metaconfig/haproxy_service_http_check/inverse
- Optional
- Type: boolean
- /software/components/metaconfig/haproxy_service_http_check/match
- Required
- Type: choice
- /software/components/metaconfig/haproxy_service_http_check/pattern
- Required
- Type: string
- /software/components/metaconfig/haproxy_service_backend
- /software/components/metaconfig/haproxy_service_backend/balance
- Optional
- Type: choice
- /software/components/metaconfig/haproxy_service_backend/mode
- Optional
- Type: choice
- /software/components/metaconfig/haproxy_service_backend/options
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_backend/httpcheck
- Optional
- Type: haproxy_service_http_check
- /software/components/metaconfig/haproxy_service_backend/tcpchecks
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_backend/sticktable
- Optional
- Type: haproxy_service_stick_table
- /software/components/metaconfig/haproxy_service_backend/stick
- Optional
- Type: string
- /software/components/metaconfig/haproxy_service_backend/servers
- Required
- Type: haproxy_service_backend_server
- /software/components/metaconfig/haproxy_service
- Description: haproxy config see documentation on www.haproxy.org
- /software/components/metaconfig/haproxy_service/global
- Required
- Type: haproxy_service_global
- /software/components/metaconfig/haproxy_service/defaults
- Required
- Type: haproxy_service_defaults
- /software/components/metaconfig/haproxy_service/stats
- Optional
- Type: haproxy_service_stats
- /software/components/metaconfig/haproxy_service/peers
- Optional
- Type: haproxy_service_peers
- /software/components/metaconfig/haproxy_service/proxys
- Optional
- Type: haproxy_service_proxy
- /software/components/metaconfig/haproxy_service/frontends
- Optional
- Type: haproxy_service_frontend
- /software/components/metaconfig/haproxy_service/backends
- Optional
- Type: haproxy_service_backend