a191a1cfa3
Add request timeout handling for messages sent to eswitch Daemon. Using configurable number of retries and increasing waiting interval between retries resend the message. If request timeout persists, eswitch daemon is not reachable. In such case, exit the agent process. Closes-Bug: #1228827 Change-Id: If1290bedafe7a0dd8a61cbe328510075edeb1e5b
60 lines
2.0 KiB
INI
60 lines
2.0 KiB
INI
[mlnx]
|
|
# (StrOpt) Type of network to allocate for tenant networks. The
|
|
# default value is 'vlan' You MUST configure network_vlan_ranges below
|
|
# in order for tenant networks to provide connectivity between hosts.
|
|
# Set to 'none' to disable creation of tenant networks.
|
|
#
|
|
# tenant_network_type = vlan
|
|
# Example: tenant_network_type = vlan
|
|
|
|
# (ListOpt) Comma-separated list of
|
|
# <physical_network>[:<vlan_min>:<vlan_max>] tuples enumerating ranges
|
|
# of VLAN IDs on named physical networks that are available for
|
|
# allocation. All physical networks listed are available for flat and
|
|
# VLAN provider network creation. Specified ranges of VLAN IDs are
|
|
# available for tenant network allocation if tenant_network_type is
|
|
# 'vlan'. If empty, only local networks may be created.
|
|
#
|
|
# network_vlan_ranges =
|
|
# Example: network_vlan_ranges = default:1:100
|
|
|
|
[eswitch]
|
|
# (ListOpt) Comma-separated list of
|
|
# <physical_network>:<physical_interface> tuples mapping physical
|
|
# network names to the agent's node-specific physical network
|
|
# interfaces to be used for flat and VLAN networks. All physical
|
|
# networks listed in network_vlan_ranges on the server should have
|
|
# mappings to appropriate interfaces on each agent.
|
|
#
|
|
# physical_interface_mappings =
|
|
# Example: physical_interface_mappings = default:eth2
|
|
|
|
# (StrOpt) Type of Network Interface to allocate for VM:
|
|
# direct or hosdev according to libvirt terminology
|
|
# vnic_type = mlnx_direct
|
|
|
|
# (StrOpt) Eswitch daemon end point connection url
|
|
# daemon_endpoint = 'tcp://127.0.0.1:60001'
|
|
|
|
# The number of milliseconds the agent will wait for
|
|
# response on request to daemon
|
|
# request_timeout = 3000
|
|
|
|
# The number of retries the agent will send request
|
|
# to daemon before giving up
|
|
# retries = 3
|
|
|
|
# The backoff rate multiplier for waiting period between retries
|
|
# on request to daemon, i.e. value of 2 will double
|
|
# the request timeout each retry
|
|
# backoff_rate = 2
|
|
|
|
[agent]
|
|
# Agent's polling interval in seconds
|
|
# polling_interval = 2
|
|
|
|
# (BoolOpt) Enable server RPC compatibility with old (pre-havana)
|
|
# agents.
|
|
#
|
|
# rpc_support_old_agents = False
|