aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/memif_create_cross_horiz.vat
blob: 65db4e409cef4338b3bc5d54b174dbf6c8267a54 (plain)
1
2
3
4
5
6
7
8
create memif socket id {sid1} filename /mnt/host/{socket1}
create interface memif id {mid1} socket-id {sid1} master

set int state memif{sid1}/{mid1} up
set int state {if_name} up

set interface l2 xconnect {if_name} memif{sid1}/{mid1}
set interface l2 xconnect memif{sid1}/{mid1} {if_name}