diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-05-16 09:12:16 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-05-17 16:15:15 +0200 |
commit | 1a6d584a69e8f7a736340912eef7c58593a5278f (patch) | |
tree | ec43617768b04f0223da4282174381c39411f2c6 /resources/libraries/python/VppConfigGenerator.py | |
parent | 5acbc578e4d77e4d7b402aff6611bbbc7e0b201b (diff) |
CSIT-580: IPSec tests - modifications related to the latest changes
- The startup option 'enable-cryptodev' has been removed and unless
not enough cryptodevs are found, DPDK cryptodev will be enabled by default.
Change-Id: I19a483435256d8cf4101dc9f10a7c95ed5594e75
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/libraries/python/VppConfigGenerator.py')
-rw-r--r-- | resources/libraries/python/VppConfigGenerator.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index e109d768fa..2a8f202721 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -257,7 +257,7 @@ class VppConfigGenerator(object): """Add cryptodev configuration for node. :param node: DUT node. - :param count: Number of crypto device to add. + :param count: Number of crypto devices to add. :type node: dict :type count: int :returns: nothing @@ -270,10 +270,10 @@ class VppConfigGenerator(object): self._nodeconfig[hostname] = {} cryptodev = Topology.get_cryptodev(node) - cryptodev_config = 'enable-cryptodev' + cryptodev_config = '' for i in range(count): - cryptodev_config += ' dev {}'.format(\ + cryptodev_config += 'dev {}\n'.format( re.sub(r'\d.\d$', '1.'+str(i), cryptodev)) self._nodeconfig[hostname]['cryptodev_config'] = cryptodev_config |