diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2018-12-17 21:43:43 -0800 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-12-21 07:49:37 +0000 |
commit | 919efad2671993d4c6d5a0dba8eeb99d5c60edf1 (patch) | |
tree | 7798b4deaa7057817194a59e1b7d94a99f3e460d /doxygen/dev_doc.md | |
parent | e21463d87979a49720bf1eb1744f01261ffea620 (diff) |
tests: Rework vpp config generation.
* Allows test cases to configure the VPP runtime config
during fixture setup.
* Sample use in a TestCase:
@classmethod
def setUpConstants(cls):
tempdir = cls.tempdir
cls.config.add('punt', 'socket', '%s/socket_punt' % cls.tempdir)
super(TestPuntSocket, cls).setUpConstants()
# enable/disabe a plugin via:
#cls.config.add_plugin('dpdk_plugin.so', 'disable')
* Supports the following config stanzas:
'unix',
'acl-plugin'
'api-queue'
'api-trace'
'api-segment'
'cj'
'cpu'
'dns'
'dpdk
# currently don't support dynamic keys
# 'heapsize'
'l2learn'
'l2tp'
'mactime'
'mc'
'nat'
'oam'
'plugins'
'punt'
'session'
'socksvr'
'statseg'
'tapcli'
'tcp'
'tuntap'
'vhost-user'
Change-Id: I44f276487267d26eaa46f87e730bdd861003b234
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'doxygen/dev_doc.md')
0 files changed, 0 insertions, 0 deletions