aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/memif_create_lxc.vat
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-06-06 07:15:29 +0200
committerPeter Mikus <pmikus@cisco.com>2017-07-04 04:54:16 +0000
commitd166ae0881c29dfd05ed61b9a12156f17981bb6d (patch)
treea4d0c939dc99d55d12ba85fedffb33fef9475be2 /resources/templates/vat/memif_create_lxc.vat
parent036e5a85bab081bfa94b8c025c06aee0addb94cb (diff)
CSIT-651 Add keywords and template for memif
Add keywords and template for memif Change-Id: I8bd5cfe345260750a74930c8ef55690be5f2dd5e Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/templates/vat/memif_create_lxc.vat')
-rw-r--r--resources/templates/vat/memif_create_lxc.vat8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/templates/vat/memif_create_lxc.vat b/resources/templates/vat/memif_create_lxc.vat
new file mode 100644
index 0000000000..873cb0b68f
--- /dev/null
+++ b/resources/templates/vat/memif_create_lxc.vat
@@ -0,0 +1,8 @@
+create memif id 1 socket /mnt/host/{socket1} slave
+set int state memif0 up
+
+create memif id 2 socket /mnt/host/{socket2} slave
+set int state memif1 up
+
+set interface l2 xconnect memif1 memif0
+set interface l2 xconnect memif0 memif1