Fix: Memif API change 65/7965/2
authorPeter Mikus <pmikus@cisco.com>
Wed, 9 Aug 2017 11:23:19 +0000 (13:23 +0200)
committerPeter Mikus <pmikus@cisco.com>
Thu, 10 Aug 2017 05:42:18 +0000 (05:42 +0000)
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>
resources/templates/vat/memif_create_lxc.vat

index 873cb0b..5bc77d8 100644 (file)
@@ -1,8 +1,8 @@
 create memif id 1 socket /mnt/host/{socket1} slave\r
-set int state memif0 up\r
+set int state memif0/1 up\r
 \r
 create memif id 2 socket /mnt/host/{socket2} slave\r
-set int state memif1 up\r
+set int state memif1/2 up\r
 \r
-set interface l2 xconnect memif1 memif0\r
-set interface l2 xconnect memif0 memif1\r
+set interface l2 xconnect memif1/2 memif0/1\r
+set interface l2 xconnect memif0/1 memif1/2\r

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.