CSIT-989 Fix: Reflect latest memif API changes
[csit.git] / resources / templates / vat / memif_create_cnt.vat
1 create memif socket id {sid1} filename /mnt/host/{socket1}
2 create interface memif id {mid1} socket-id {sid1} slave
3 set int state memif{sid1}/{mid1} up
4
5 create memif socket id {sid2} filename /mnt/host/{socket2}
6 create interface memif id {mid2} socket-id {sid2} slave
7 set int state memif{sid2}/{mid2} up
8
9 set interface l2 xconnect memif{sid2}/{mid2} memif{sid1}/{mid1}
10 set interface l2 xconnect memif{sid1}/{mid1} memif{sid2}/{mid2}

©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.