diff options
Diffstat (limited to 'resources/templates')
-rw-r--r-- | resources/templates/vat/memif_create.vat | 1 | ||||
-rw-r--r-- | resources/templates/vat/memif_create_lxc.vat | 8 | ||||
-rw-r--r-- | resources/templates/vat/memif_dump.vat | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/resources/templates/vat/memif_create.vat b/resources/templates/vat/memif_create.vat new file mode 100644 index 0000000000..228c824c25 --- /dev/null +++ b/resources/templates/vat/memif_create.vat @@ -0,0 +1 @@ +memif_create id {id} socket {socket} {role}
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
diff --git a/resources/templates/vat/memif_dump.vat b/resources/templates/vat/memif_dump.vat new file mode 100644 index 0000000000..355f8f6efd --- /dev/null +++ b/resources/templates/vat/memif_dump.vat @@ -0,0 +1 @@ +memif_dump |