5d12e39a31decb603fbe6852e9c08cec14b6eff0
[nfvbench.git] / nfvbench / cfg.default.yaml
1 #
2 # NFVbench default configuration file
3 #
4 # This configuration file is ALWAYS loaded by NFVbench and should never be modified by users.
5 # To specify your own property values, always define them in a separate config file
6 # and pass that file to the script using -c or --config <file>
7 # Property values in that config file will override the default values in the current file
8 #
9 ---
10 # IMPORTANT CUSTOMIZATION NOTES
11 # There are roughly 2 types of NFVbench config based on the OpenStack encaps used:
12 # - VLAN (OVS, OVS-DPDK, ML2/VPP)
13 # Many of the fields to customize are relevant to only 1 of the 2 encaps
14 # These will be clearly labeled "VxLAN only" or "VLAN only"
15 # Fields that are not applicable will not be used by NFVbench and can be left empty
16 #
17 # All fields are applicable to all encaps/traffic generators unless explicitly marked otherwise.
18 # Fields that can be over-ridden at the command line are marked with the corresponding
19 # option, e.g. "--interval"
20
21
22 # The OpenStack openrc file to use - must be a valid full pathname. If running
23 # in a container, this path must be valid in the container.
24 #
25 # The only case where this field can be empty is when measuring a system that does not run
26 # OpenStack or when OpenStack APIs are not accessible or OpenStack APis use is not
27 # desirable. In that case the EXT service chain must be used.
28 #
29 # If openrc is not admin some parameters are mandatory and must be filled with valid values in config file such as :
30 # - availability_zone
31 # - hypervisor_hostname
32 # - vlans
33 openrc_file:
34
35 # Forwarder to use in nfvbenchvm image. Available options: ['vpp', 'testpmd']
36 vm_forwarder: testpmd
37
38 # By default (empty) NFVbench will try to locate a VM image file
39 # from the package root directory named "nfvbench-<version>.qcow2" and
40 # upload that file. The image name will be "nfvbench-<version>"
41 # This can be overridden by specifying here a pathname of a file
42 # that follows the same naming convention.
43 # In most cases, this field should be left empty as the packaging should
44 # include the proper VM image file
45 vm_image_file:
46
47 # Name of the flavor to use for the loopback VMs
48 #
49 # If the provided name is an exact match to a flavor name known by OpenStack
50 # (as shown from 'nova flavor-list'), that flavor will be reused.
51 # Otherwise, a new flavor will be created with attributes listed below.
52 flavor_type: 'nfvbench.medium'
53
54 # Custom flavor attributes
55 flavor:
56   # Number of vCPUs for the flavor
57   vcpus: 2
58   # Memory for the flavor in MB
59   ram: 4096
60   # Size of local disk in GB
61   disk: 0
62   # metadata are supported and can be added if needed, optional
63   # note that if your openstack does not have NUMA optimization
64   # (cpu pinning and huge pages)
65   # you must comment out extra_specs completely otherwise
66   # loopback VM creation will fail
67   extra_specs:
68       "hw:cpu_policy": dedicated
69       "hw:mem_page_size": large
70
71 # Name of the availability zone to use for the test VMs
72 # Must be one of the zones listed by 'nova availability-zone-list'
73 # availability_zone: 'nova'
74 # If openrc is not admin set a valid value
75 availability_zone:
76 # To force placement on a given hypervisor, set the name here
77 # (if multiple names are provided, the first will be used)
78 # Leave empty to let openstack pick the hypervisor
79 compute_nodes:
80 # If openrc is not admin set a valid value for hypervisor hostname
81 # Example of value: hypervisor_hostname: "server1"
82 hypervisor_hostname:
83
84 # Type of service chain to run, possible options are PVP, PVVP and EXT
85 # PVP - port to VM to port
86 # PVVP - port to VM to VM to port
87 # EXT - external chain used only for running traffic and checking traffic generator counters,
88 #       all other parts of chain must be configured manually
89 # Can be overriden by --service-chain
90 service_chain: 'PVP'
91
92 # Total number of service chains, every chain has own traffic stream
93 # Can be overriden by --service-chain-count
94 service_chain_count: 1
95
96 # Specifies if all chains share the same right/left/middle networks
97 service_chain_shared_net: false
98
99 # Total number of traffic flows for all chains and directions generated by the traffic generator.
100 # Minimum is '2 * service_chain_count', it is automatically adjusted if too small
101 # value was configured. Must be even.
102 # Every flow has packets with different IPs in headers
103 # Can be overriden by --flow-count
104 flow_count: 10000
105
106 # set to true if service chains should use SRIOV
107 # This requires SRIOV to be available on compute nodes
108 sriov: false
109
110 # Perform port to port loopback (direct or through switch)
111 # Should be used with EXT service chain and no ARP (no_arp: true)
112 # When enabled, the vlans property must contain the same VLAN id for all chains.
113 # Can be overriden by --l2-loopback
114 l2_loopback: false
115
116 # Resources created by NFVbench will not be removed
117 # Can be overriden by --no-cleanup
118 no_cleanup: false
119
120 # Configuration for traffic generator
121 traffic_generator:
122     # Name of the traffic generator, only for informational purposes
123     host_name: 'nfvbench_tg'
124     # this is the default traffic generator profile to use
125     # the name must be defined under generator_profile
126     # you can override the traffic generator to use using the
127     # -g or --traffic-gen option at the command line
128     default_profile: trex-local
129
130     # IP addresses for L3 traffic.
131     # This section describes the addresses to use to fill in the UDP packets sent by the
132     # traffic generator. If you VNFs are L2 forwarders, these fields below do not need to change.
133     # If your VNFs are L3 routers, the fields below must match the static routes in your VNFs
134     # so that UDP packets can be routed back to the peer port of the traffic generator.
135
136     # All of the IPs are used as base for IP sequence computed based on chain or flow count.
137     # (sim-devices-left)---(tg-gateway-left)---(vnf-left)- ...
138     #                                      -(vnf-right)---(tg-gateway-right)---(sim-devices-right)
139     #
140     # `ip_addrs` base IPs used as src and dst in packet header, quantity depends on flow count
141     #            these are used for addressing virtual devices simulated by the traffic generator
142     #            and be a different subnet than tg_gateway_ip_addrs and gateway_ip_addrs
143     # `ip_addrs_step`: step for generating IP sequence. Use "random" for random patterns, default is 0.0.0.1.
144     ip_addrs: ['10.0.0.0/8', '20.0.0.0/8']
145     ip_addrs_step: 0.0.0.1
146     # `tg_gateway_ip_addrs` base IP for traffic generator ports in the left and right networks to the VNFs
147     #                       chain count consecutive IP addresses spaced by tg_gateway_ip_addrs_step will be used
148     # `tg_gateway_ip_addrs__step`: step for generating traffic generator gateway sequences. default is 0.0.0.1
149     tg_gateway_ip_addrs: ['1.1.0.100', '2.2.0.100']
150     tg_gateway_ip_addrs_step: 0.0.0.1
151     # `gateway_ip_addrs`: base IPs of VNF router gateways (left and right), quantity used depends on chain count
152     #                     must correspond to the public IP on the left and right networks
153     #                     for each left-most and right-most VNF of every chain.
154     #                     must be the same subnet but not same IP as tg_gateway_ip_addrs.
155     #                     chain count consecutive IP addresses spaced by gateway_ip_addrs_step will be used
156     # `gateway_ip_addrs_step`: step for generating router gateway sequences. default is 0.0.0.1
157     gateway_ip_addrs: ['1.1.0.2', '2.2.0.2']
158     gateway_ip_addrs_step: 0.0.0.1
159     # `udp_src_port`: the source port for sending UDP traffic, default is picked by TRex (53)
160     # `udp_dst_port`: the destination port for sending UDP traffic, default is picked by TRex (53)
161     udp_src_port:
162     udp_dst_port:
163
164     # VxLAN only: optionally specify what VLAN tag to use for the VxLAN overlay
165     # This is used if the vxlan tunnels are running on a specific VLAN.
166     # Leave empty if there is no VLAN tagging required, or specify the VLAN id to use
167     # for all VxLAN tunneled traffic
168     vtep_vlan:
169     # VxLAN only: local/source vteps IP addresses for port 0 and 1 ['10.1.1.230', '10.1.1.231']
170     src_vteps:
171     # VxLAN only: remote IP address of the remote VTEPs that terminate all tunnels originating from local VTEPs
172     dst_vtep:
173
174     # L2 ADDRESSING OF UDP PACKETS
175     # Lists of dest MAC addresses to use on each traffic generator port (one dest MAC per chain)
176     # Leave empty for PVP, PVVP, EXT with ARP
177     # Only used when `service_chain` is EXT and `no_arp` is true.
178     #   - If both lists are empty the far end MAC of the traffic generator will be used for left and right
179     #     (this is typicaly used to loop back on the first hop switch or using a loopback cable)
180     #   - The length of each list must match the number of chains being used!
181     #   - The index of each list must correspond to the chain index to ensure proper pairing.
182     #   - Below is an example of using two chains:
183     #     - mac_addrs_left: ['00:00:00:00:01:00', '00:00:00:00:02:00']
184     #     - mac_addrs_right: ['00:00:00:00:01:01', '00:00:00:00:02:01']
185     #     UDP packets sent on port 0 will use dest MAC '00:00:00:00:01:00' for chain #0 and
186     #                                         dest MAC '00:00:00:00:02:00' for chain #1
187     #     UDP packets sent on port 1 will use dest MAC '00:00:00:00:01:01' for chain #0 and
188     #                                         dest MAC '00:00:00:00:02:01' for chain #1
189     #     It is expected that the looping device (L2 forwarder) will rewrite the src and dst MAC
190     #     of the looping UDP packet so that it can reach back to the peer port of the traffic
191     #     generator.
192     #
193     mac_addrs_left:
194     mac_addrs_right:
195
196     # Traffic Generator Profiles
197     # In case you have multiple testbeds or traffic generators,
198     # you can define one traffic generator profile per testbed/traffic generator.
199     # In most cases you only need to fill in the pci address for the 2 ports used by the
200     # traffic generator and leave all other fields unchanged
201     #
202     # Generator profiles are listed in the following format:
203     # `name`: Traffic generator profile name (use a unique name, no space or special character)
204     #         Do not change this field
205     # `tool`: Traffic generator tool to be used (currently supported is `TRex`).
206     #         Do not change this field
207     # `ip`: IP address of the traffic generator.
208     #       The default loopback address is used when the traffic generator runs on the same host
209     #       as NFVbench.
210     # `cores`: Specify the number of cores for running the TRex traffic generator.
211     #          ONLY applies to trex-local.
212     # `software_mode`: Advice TRex to use software mode which provides the best compability. But
213     #                  note that TRex will not use any hardware acceleration technology under
214     #                  software mode, therefore the performance of TRex will be significantly
215     #                  lower. ONLY applies to trex-local.
216     #                  Recommended to leave the default value (false)
217     # `limit_memory`: Specify the memory reserved for running the TRex traffic generator (in MB). Limit the amount
218     #                 of packet memory used. (Passed to dpdk as -m arg)
219     #          ONLY applies to trex-local.
220     # `zmq_pub_port`: Specify the ZMQ pub port number for the TRex traffic generator instance (default value is 4500).
221     #          ONLY applies to trex-local.
222     # `zmq_rpc_port`: Specify the ZMQ rpc port for the TRex traffic generator instance (default value is 4501).
223     #          ONLY applies to trex-local.
224     # `interfaces`: Configuration of traffic generator interfaces.
225     # `interfaces.port`: The port of the traffic generator to be used (leave as 0 and 1 resp.)
226     # `interfaces.switch_port`: Leave empty (deprecated)
227     # `interfaces.pci`: The PCI address of the intel NIC interface associated to this port
228     #                   This field is required and cannot be empty
229     #                   Use lspci to list the PCI address of all devices
230     #                   Example of value: "0000:5e:00.0"
231     # `intf_speed`: The speed of the interfaces used by the traffic generator (per direction).
232     #               Empty value (default) to use the speed discovered by the traffic generator.
233     #               Recommended to leave this field empty.
234     #               Do not use unless you want to override the speed discovered by the
235     #               traffic generator. Expected format: 10Gbps
236     #
237     # `platform`: Optional. Used to tune the performance and allocate the cores to the right NUMA.
238     #             See https://trex-tgn.cisco.com/trex/doc/trex_manual.html (6.2.3. Platform section configuration)
239     #             for more details
240     # `platform.master_thread_id`: Hardware thread_id for control thread. (Valid value is mandatory if platform property is set)
241     # `platform.latency_thread_id`: Hardware thread_id for RX thread. (Valid value is mandatory if platform property is set)
242     # `platform.dual_if`: Section defines info for interface pairs (according to the order in “interfaces” list). (Valid value is mandatory if platform property is set)
243     #                     Each section, starting with “- socket” defines info for different interface pair. (Valid value is mandatory if platform property is set)
244     # `platform.dual_if.socket`: The NUMA node from which memory will be allocated for use by the interface pair. (Valid value is mandatory if platform property is set)
245     # `platform.dual_if.threads`: Hardware threads to be used for sending packets for the interface pair. (Valid value is mandatory if platform property is set)
246     #                     Threads are pinned to cores, so specifying threads actually determines the hardware cores.
247     # Example of values:
248     # platform:
249     #   master_thread_id: 0
250     #   latency_thread_id: 2
251     #   dual_if:
252     #     - socket: 0
253     #       threads: [1]
254     #
255     generator_profile:
256         - name: trex-local
257           tool: TRex
258           ip: 127.0.0.1
259           cores: 4
260           software_mode: false
261           limit_memory: 1024
262           zmq_pub_port: 4500
263           zmq_rpc_port: 4501
264           interfaces:
265             - port: 0
266               pci:
267               switch_port:
268             - port: 1
269               pci:
270               switch_port:
271           intf_speed:
272           platform:
273             master_thread_id:
274             latency_thread_id:
275             dual_if:
276               - socket:
277                 threads:
278
279 # Simpler override for trex core count and mbuf multilier factor
280 # if empty defaults to the one specified in generator_profile.cores
281 cores:
282
283 # mbuffer ratio to use for TRex (see TRex documentation for more details)
284 mbuf_factor: 0.2
285
286 # -----------------------------------------------------------------------------
287 # These variables are not likely to be changed
288
289 # Number of seconds to wait for VMs to pass traffic in both directions
290 check_traffic_time_sec: 200
291
292 # General retry count
293 generic_retry_count: 100
294
295 # General poll period
296 generic_poll_sec: 2
297
298 # name of the loop VM
299 loop_vm_name: 'nfvbench-loop-vm'
300
301 # Default names, subnets and CIDRs for PVP/PVVP networks (openstack only)
302 #
303 # If a network with given name already exists it will be reused.
304 # - PVP only uses left and right
305 # - PVVP uses left, middle and right
306 # - for EXT chains, this structure is not relevant - refer to external_networks
307 # Otherwise a new internal network will be created with that name, subnet and CIDR.
308 #
309 # network_type must be 'vlan' (for VLAN and SRIOV) or 'vxlan' (for VxLAN)
310 #              all 3 networks must use the same network type in this release
311 # segmentation_id can be set to enforce a specific segmentation id (vlan ID or VNI if vxlan)
312 #                 by default (empty) the segmentation id will be assigned by Neutron.
313 #                 If specified, it must be unique for each network
314 #                 For multi-chaining, see notes below
315 # physical_network can be set to pick a specific phsyical network - by default (empty) the
316 #                   default physical network will be picked
317 # SR-IOV: both physical_network and VLAN segmentation ID must be provided
318 # VxLAN: the VNI must generally be provided (except special Neutron VxLAN implementations)
319 #
320 # For example to setup 1xPVP using 2 different SR-IOV ports, you must put the appropriate physnet
321 # names under left.physical_network and right.physical_network.
322 # For multi-chaining and non shared networks,
323 # Example of override configuration to force PVP to run on 2 SRIOV ports (phys_sriov0 and phys_sriov1)
324 # using VLAN ID 2000 and 2001:
325 # internal_networks:
326 #    left:
327 #        segmentation_id: 2000
328 #        physical_network: phys_sriov0
329 #    right:
330 #        segmentation_id: 2001
331 #        physical_network: phys_sriov1
332 #
333 # For multi-chaining and non shared network mode (VLAN, SRIOV, VxLAN):
334 # - the segmentation_id field if provided must be a list of values (as many as chains)
335 # - segmentation_id auto-indexing:
336 #   the segmentation_id field can also be a single value that represents the base value from which
337 #   values for each chain is derived using the chain ID as an offset. For example
338 #   if 2000 is specified, NFVbench will use 2000 for chain 0, 2001 for chain 1 etc...
339 #   The ranges of all the networks must not overlap.
340 # - the physical_network can be a single name (all VFs to be allocated on same physnet)
341 #   of a list of physnet names to use different PFs
342 #
343 # Example of 2-chain configuration:
344 # internal_networks:
345 #    left:
346 #        segmentation_id: [2000, 2001]
347 #        physical_network: phys_sriov0
348 #    right:
349 #        segmentation_id: [2010, 2011]
350 #        physical_network: phys_sriov1
351 #
352 # Equivalent to (using auto-indexing):
353 # internal_networks:
354 #    left:
355 #        segmentation_id: 2000
356 #        physical_network: phys_sriov0
357 #    right:
358 #        segmentation_id: 2010
359 #        physical_network: phys_sriov1
360
361 internal_networks:
362     left:
363         name: 'nfvbench-lnet'
364         subnet: 'nfvbench-lsubnet'
365         cidr: '192.168.1.0/24'
366         network_type: 'vlan'
367         segmentation_id:
368         physical_network:
369     right:
370         name: 'nfvbench-rnet'
371         subnet: 'nfvbench-rsubnet'
372         cidr: '192.168.2.0/24'
373         network_type: 'vlan'
374         segmentation_id:
375         physical_network:
376     middle:
377         name: 'nfvbench-mnet'
378         subnet: 'nfvbench-msubnet'
379         cidr: '192.168.3.0/24'
380         network_type: 'vlan'
381         segmentation_id:
382         physical_network:
383
384 # In the scenario of PVVP + SRIOV, there is choice of how the traffic will be
385 # handled in the middle network. The default (false) will use vswitch, while
386 # SRIOV can be used by toggling below setting.
387 use_sriov_middle_net: false
388
389 # EXT chain only. Prefix names of edge networks which will be used to send traffic via traffic generator.
390 #
391 # If service_chain_shared_net is true, the left and right networks must pre-exist and match exactly by name.
392 #
393 # If service_chain_shared_net is false, each chain must have its own pre-existing left and right networks.
394 # An index will be appended to each network name to form the final name:
395 # ext-lnet0 ext-rnet0 for chain #0
396 # ext-lnet1 ext-rnet1 for chain #1
397 # etc...
398 external_networks:
399     left: 'ext-lnet'
400     right: 'ext-rnet'
401
402 # Use 'true' to enable VXLAN encapsulation support and sent by the traffic generator
403 # When this option enabled internal networks 'network type' parameter value should be 'vxlan'
404 vxlan: false
405
406 # Use 'true' to enable VLAN tagging of packets generated and sent by the traffic generator
407 # Leave empty or set to false if you do not want the traffic generator to insert the VLAN tag (this is
408 # needed for example if VLAN tagging is enabled on switch (access mode) or if you want to hook
409 # directly to a NIC).
410 # By default is set to true (which is the nominal use case with TOR and trunk mode to Trex ports)
411 # If VxLAN is enabled, this option should be set to false (vlan tagging for encapsulated packets
412 # is not supported). Use the vtep_vlan option to enable vlan tagging for the VxLAN overlay network.
413 vlan_tagging: true
414
415 # Used only in the case of EXT chain and no openstack or not admin access to specify the VLAN IDs to use.
416 # This property is ignored when OpenStakc is used or in the case of l2-loopback.
417 # If OpenStack is used leave the list empty, VLAN IDs are retrieved from OpenStack networks using Neutron API.
418 # If networks are shared across all chains (service_chain_shared_net=true), the list should have exactly 2 values
419 # If networks are not shared across chains (service_chain_shared_net=false), the list should have
420 # 2 list of vlan IDs
421 # In the special case of l2-loopback the list should have the same VLAN id for all chains
422 # Examples:
423 #   [1998, 1999] left network uses vlan 1998 right network uses vlan 1999
424 #   [[1,2],[3,4]] chain 0 left vlan 1, right vlan 2 - chain 1 left vlan 3 right vlan 4
425 #   [1010, 1010] same VLAN id with l2-loopback enabled
426 #
427 vlans: []
428
429 # ARP is used to discover the MAC address of VNFs that run L3 routing.
430 # Used only with EXT chain.
431 # False (default): ARP requests are sent to find out dest MAC addresses.
432 # True: do not send ARP but use provisioned dest macs instead
433 #       (see mac_addrs_left and mac_addrs_right)
434 no_arp: false
435
436 # Traffic Profiles
437 # You can add here more profiles as needed
438 # `l2frame_size` can be specified in any none zero integer value to represent the size in bytes
439 # of the L2 frame, or "IMIX" to represent the standard 3-packet size mixed sequence (IMIX1).
440 traffic_profile:
441     - name: traffic_profile_64B
442       l2frame_size: ['64']
443     - name: traffic_profile_IMIX
444       l2frame_size: ['IMIX']
445     - name: traffic_profile_1518B
446       l2frame_size: ['1518']
447     - name: traffic_profile_3sizes
448       l2frame_size: ['64', 'IMIX', '1518']
449
450 # Traffic Configuration
451 # bidirectional: to have traffic generated from both direction, set bidirectional to true
452 # profile: must be one of the profiles defined in traffic_profile
453 # The traffic profile can be overriden with the options --frame-size and --uni-dir
454 traffic:
455     bidirectional: true
456     profile: traffic_profile_64B
457
458 # Check config and connectivity only - do not generate traffic
459 # Can be overriden by --no-traffic
460 no_traffic: false
461
462 # Test configuration
463
464 # The rate pps for traffic going in reverse direction in case of unidirectional flow. Default to 1.
465 unidir_reverse_traffic_pps: 1
466
467 # The rate specifies if NFVbench should determine the NDR/PDR
468 #  or if NFVbench should just generate traffic at a given fixed rate
469 # for a given duration (called "single run" mode)
470 # Supported rate format:
471 # NDR/PDR test: `ndr`, `pdr`, `ndr_pdr` (default)
472 # Or for single run mode:
473 # Packet per second: pps (e.g. `50pps`)
474 # Bits per second: bps, kbps, Mbps, etc (e.g. `1Gbps`, `1000bps`)
475 # Load percentage: % (e.g. `50%`)
476 # Can be overridden by --rate
477 rate: ndr_pdr
478
479 # Default run duration (single run at given rate only)
480 # Can be overridden by --duration
481 duration_sec: 60
482
483 # Interval between intermediate reports when interval reporting is enabled
484 # Can be overridden by --interval
485 interval_sec: 10
486
487 # Default pause between iterations of a binary search (NDR/PDR)
488 pause_sec: 2
489
490 # NDR / PDR configuration
491 measurement:
492     # Drop rates represent the ratio of dropped packet to the total number of packets sent.
493     # Values provided here are percentages. A value of 0.01 means that at most 0.01% of all
494     # packets sent are dropped (or 1 packet every 10,000 packets sent)
495
496     # No Drop Rate in percentage; Default to 0.001%
497     NDR: 0.001
498     # Partial Drop Rate in percentage; NDR should always be less than PDR
499     PDR: 0.1
500     # The accuracy of NDR and PDR as a percnetage of line rate; The exact NDR
501     # or PDR should be within `load_epsilon` line rate % from the one calculated.
502     # For example, with a value 0.1, and a line rate of 10Gbps, the accuracy
503     # of NDR and PDR will be within 0.1% Of 10Gbps or 10Mbps.
504     # The lower the value the more iterations and the longer it will take to find the NDR/PDR.
505     # In practice, due to the precision of the traffic generator it is not recommended to
506     # set it to lower than 0.1
507     load_epsilon: 0.1
508
509 # Location where to store results in a JSON format. Must be container specific path.
510 # Can be overriden by --json
511 json:
512
513 # Location where to store results in the NFVbench standard JSON format:
514 # <service-chain-type>-<service-chain-count>-<flow-count>-<packet-sizes>.json
515 # Example: PVP-1-10-64-IMIX.json
516 # Must be container specific path.
517 # Can be overriden by --std-json
518 std_json:
519
520 # Prints debug messages (verbose mode)
521 # Can be overriden by --debug
522 debug: false
523
524 # Set to a valid path name if logging to file is to be enabled
525 # Defaults to disabled
526 log_file:
527
528 # When enabled, all results and/or logs will be sent to a fluentd servers at the requested IPs and ports
529 # A list of one or more fluentd servers identified by their IPs and  port numbers should be given.
530 # For each recipient it is possible to enable both sending logs and performance
531 # results, or enable either logs or performance results. For enabling logs or results logging_tag or
532 # result_tag should be set.
533
534 fluentd:
535       # by default (logging_tag is empty) nfvbench log messages are not sent to fluentd
536       # to enable logging to fluents, specify a valid fluentd tag name to be used for the
537       # log records
538     - logging_tag:
539
540       # by default (result_tag is empty) nfvbench results are not sent to fluentd
541       # to enable sending nfvbench results to fluentd, specify a valid fluentd tag name
542       # to be used for the results records, which is different than logging_tag
543       result_tag:
544
545       # IP address of the server, defaults to loopback
546       ip: 127.0.0.1
547
548       # port # to use, by default, use the default fluentd forward port
549       port: 24224
550
551       # by default (logging_tag is empty) nfvbench log messages are not sent to fluentd
552       # to enable logging to fluents, specify a valid fluentd tag name to be used for the
553       # log records
554
555 # Module and class name of factory which will be used to provide classes dynamically for other components.
556 factory_module: 'nfvbench.factory'
557 factory_class: 'BasicFactory'
558
559 # Custom label added for every perf record generated during this run.
560 # Can be overriden by --user-label
561 user_label:
562
563
564 # THESE FIELDS SHOULD BE USED VERY RARELY
565
566 # Skip vswitch configuration and retrieving of stats
567 # Can be overriden by --no-vswitch-access
568 # Should be left to the default value (false)
569 no_vswitch_access: false