diff options
Diffstat (limited to 'resources/templates/vat/memif_create_cross_horiz.vat')
-rw-r--r-- | resources/templates/vat/memif_create_cross_horiz.vat | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/templates/vat/memif_create_cross_horiz.vat b/resources/templates/vat/memif_create_cross_horiz.vat new file mode 100644 index 0000000000..65db4e409c --- /dev/null +++ b/resources/templates/vat/memif_create_cross_horiz.vat @@ -0,0 +1,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} |