aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/memif_create_cross_horizon.vat
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-02-01 09:24:48 +0000
committerPeter Mikus <pmikus@cisco.com>2019-02-01 09:26:24 +0000
commite091fac49b4ef6260be5b7ce6c1d02e9e750e6c6 (patch)
tree1a8346c14e123e6007fdca618e0da43a0fd5b780 /resources/templates/vat/memif_create_cross_horizon.vat
parentd90c2c87f2738cab2e9a4eca4058b379dd8d4dc8 (diff)
FIX: Single memif configuration profile
Change-Id: I44f22a07b6ecaffcce68bfedde1ea3e8a8274fa6 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/templates/vat/memif_create_cross_horizon.vat')
-rw-r--r--resources/templates/vat/memif_create_cross_horizon.vat8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/templates/vat/memif_create_cross_horizon.vat b/resources/templates/vat/memif_create_cross_horizon.vat
new file mode 100644
index 0000000000..40ff2c30fc
--- /dev/null
+++ b/resources/templates/vat/memif_create_cross_horizon.vat
@@ -0,0 +1,8 @@
+create memif socket id {sid1} filename {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}