Fix mempool size for swap.cfg 26/69226/2
authorLuc Provoost <luc.provoost@intel.com>
Mon, 2 Dec 2019 15:38:35 +0000 (10:38 -0500)
committerLuc Provoost <luc.provoost@intel.com>
Mon, 2 Dec 2019 15:50:40 +0000 (10:50 -0500)
Fixing an error re-introduced in the swap.cfg file. The mempool size
needs to be bigger than the number of rx and tx descriptors (we need
some extra buffers in the mempool for other things than rx and tx
descriptors). The default number of tx and rx descriptors has been
changed in PROX to 2K. This initially went through the testing since
this is just giving a warning in the prox.log file for some PMDs. For
other PMDs, PROX will not start.
Also fixed an inconsistency in rapid.vms: name of the security group.

Change-Id: If95677bd6169a16da1b3b2a56d13936a854c385e
Signed-off-by: Luc Provoost <luc.provoost@intel.com>
VNFs/DPPD-PROX/helper-scripts/rapid/rapid.vms
VNFs/DPPD-PROX/helper-scripts/rapid/swap.cfg

index 6032f68..a790540 100644 (file)
@@ -23,7 +23,7 @@ flavor_info=--ram 4096 --disk 40 --vcpus 4
 flavor_meta_data=--property hw:mem_page_size=large --property hw:cpu_policy=dedicated
 ;flavor_meta_data=--property hw:mem_page_size=large --property hw:cpu_policy=dedicated --property hw:cpu_realtime=yes --property hw:cpu_realtime_mask=^0
 ;boot_info=--availability-zone nova --security-group default --config-drive=true
-boot_info=--availability-zone nova --security-group prox
+boot_info=--availability-zone nova --security-group prox_security_group
 SRIOV_mgmt_port=NO
 SRIOV_port=NO
 
index aeaa9db..284294e 100644 (file)
@@ -27,7 +27,7 @@ mac=hardware
 vlan=yes
 
 [defaults]
-mempool size=2K
+mempool size=8K
 
 [global]
 name=${name}