aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/memif_create_lxc.vat
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-08-09 13:23:19 +0200
committerPeter Mikus <pmikus@cisco.com>2017-08-10 05:42:18 +0000
commit72fe5219cf30ea072e47ca28bf37c41edc996321 (patch)
tree8a3890881b09c1e519601364172f598d5bea5c26 /resources/templates/vat/memif_create_lxc.vat
parent8c9bec21e04461742de8f45d8ec17046fe96ddd9 (diff)
Fix: Memif API change
Due to changes in API in latest VPP, Memif/LXC test are failing. This patch is supposed to change Memif config in LXC. Change-Id: I5c3844fd7559eba948bcb5619c8969611eb200c2 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/templates/vat/memif_create_lxc.vat')
-rw-r--r--resources/templates/vat/memif_create_lxc.vat8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/templates/vat/memif_create_lxc.vat b/resources/templates/vat/memif_create_lxc.vat
index 873cb0b68f..5bc77d8ff3 100644
--- a/resources/templates/vat/memif_create_lxc.vat
+++ b/resources/templates/vat/memif_create_lxc.vat
@@ -1,8 +1,8 @@
create memif id 1 socket /mnt/host/{socket1} slave
-set int state memif0 up
+set int state memif0/1 up
create memif id 2 socket /mnt/host/{socket2} slave
-set int state memif1 up
+set int state memif1/2 up
-set interface l2 xconnect memif1 memif0
-set interface l2 xconnect memif0 memif1
+set interface l2 xconnect memif1/2 memif0/1
+set interface l2 xconnect memif0/1 memif1/2