21140e341a
Blueprint: hyper-v-metrics Hyper-V Server 2012 supports a new set of metrics API that can be used to provide switch port metrics data to external applications, e.g. Ceilometer. Metrics collection is disabled by default and can be enabled with a config option. Metrics are configured via ACLs applied by the Hyper-V plugin agent. Change-Id: Ife2a53db84936bae7c73b8c027022bbc5e89d48a
66 lines
2.4 KiB
INI
66 lines
2.4 KiB
INI
[hyperv]
|
|
# (StrOpt) Type of network to allocate for tenant networks. The
|
|
# default value 'local' is useful only for single-box testing and
|
|
# provides no connectivity between hosts. You MUST either change this
|
|
# to 'vlan' and configure network_vlan_ranges below or to 'flat'.
|
|
# Set to 'none' to disable creation of tenant networks.
|
|
#
|
|
# tenant_network_type = local
|
|
# 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 gre and local networks may be created.
|
|
#
|
|
# network_vlan_ranges =
|
|
# Example: network_vlan_ranges = physnet1:1000:2999
|
|
|
|
[agent]
|
|
# Agent's polling interval in seconds
|
|
# polling_interval = 2
|
|
|
|
# (ListOpt) Comma separated list of <physical_network>:<vswitch>
|
|
# where the physical networks can be expressed with wildcards,
|
|
# e.g.: ."*:external".
|
|
# The referred external virtual switches need to be already present on
|
|
# the Hyper-V server.
|
|
# If a given physical network name will not match any value in the list
|
|
# the plugin will look for a virtual switch with the same name.
|
|
#
|
|
# physical_network_vswitch_mappings = *:external
|
|
# Example: physical_network_vswitch_mappings = net1:external1,net2:external2
|
|
|
|
# (StrOpt) Private virtual switch name used for local networking.
|
|
#
|
|
# local_network_vswitch = private
|
|
# Example: local_network_vswitch = custom_vswitch
|
|
|
|
# (BoolOpt) Enables metrics collections for switch ports by using Hyper-V's
|
|
# metric APIs. Collected data can by retrieved by other apps and services,
|
|
# e.g.: Ceilometer. Requires Hyper-V / Windows Server 2012 and above.
|
|
#
|
|
# enable_metrics_collection = False
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Sample Configurations.
|
|
#-----------------------------------------------------------------------------
|
|
#
|
|
# Neutron server:
|
|
#
|
|
# [database]
|
|
# connection = mysql://root:nova@127.0.0.1:3306/hyperv_neutron
|
|
# [HYPERV]
|
|
# tenant_network_type = vlan
|
|
# network_vlan_ranges = default:2000:3999
|
|
#
|
|
# Agent running on Hyper-V node:
|
|
#
|
|
# [AGENT]
|
|
# polling_interval = 2
|
|
# physical_network_vswitch_mappings = *:external
|
|
# local_network_vswitch = private
|