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

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

set interface l2 xconnect memif1/2 memif0/1
set interface l2 xconnect memif0/1 memif1/2