aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/memif_create_lxc.vat
blob: 92e456c2a43e2b16c2ce7d6f402366037b6d99fa (plain)
1
2
3
4
5
6
7
8
create memif id {memif_id1} socket /mnt/host/{socket1} slave
set int state memif0/{memif_id1} up

create memif id {memif_id2} socket /mnt/host/{socket2} slave
set int state memif1/{memif_id2} up

set interface l2 xconnect memif1/{memif_id2} memif0/{memif_id1}
set interface l2 xconnect memif0/{memif_id1} memif1/{memif_id2}