aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/memif_create_cnt.vat
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-04-18 17:09:33 +0200
committerPeter Mikus <pmikus@cisco.com>2018-04-20 06:21:08 +0000
commitc8b2f57cd09355e0e89e6b9d28930281573bec23 (patch)
tree2563175656f64641646c71b44dd2bd5a1ce067d8 /resources/templates/vat/memif_create_cnt.vat
parentbb81ef05b86154d000128ef15bd3ecffe997ef9a (diff)
FIX: Configure number of memif queus properly
Change-Id: I2dcb0300829bc961c80cc30d972d0563aeba9364 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/templates/vat/memif_create_cnt.vat')
-rw-r--r--resources/templates/vat/memif_create_cnt.vat4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/templates/vat/memif_create_cnt.vat b/resources/templates/vat/memif_create_cnt.vat
index f0d847b29b..306df83c57 100644
--- a/resources/templates/vat/memif_create_cnt.vat
+++ b/resources/templates/vat/memif_create_cnt.vat
@@ -1,9 +1,9 @@
create memif socket id {sid1} filename /mnt/host/{socket1}
-create interface memif id {mid1} socket-id {sid1} slave
+create interface memif id {mid1} socket-id {sid1} master
set int state memif{sid1}/{mid1} up
create memif socket id {sid2} filename /mnt/host/{socket2}
-create interface memif id {mid2} socket-id {sid2} slave
+create interface memif id {mid2} socket-id {sid2} master
set int state memif{sid2}/{mid2} up
set interface l2 xconnect memif{sid2}/{mid2} memif{sid1}/{mid1}