diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-02-01 09:24:48 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-02-01 09:26:56 +0000 |
commit | cc834e4090ef3709219eeabdbae422a64e3caaf9 (patch) | |
tree | afdb87b43104f4cd01855639e38ee036e4b9c9e5 /resources/templates/vat/memif_create_cross_horizon.vat | |
parent | fa1628144cba5d1092021a0ca01dcb8259748ecf (diff) |
FIX: Single memif configuration profile
Change-Id: I44f22a07b6ecaffcce68bfedde1ea3e8a8274fa6
Signed-off-by: Peter Mikus <pmikus@cisco.com>
(cherry picked from commit e091fac49b4ef6260be5b7ce6c1d02e9e750e6c6)
(cherry picked from commit 4422211c9181c6a2108bd172c2c6e63f725ed419)
Diffstat (limited to 'resources/templates/vat/memif_create_cross_horizon.vat')
-rw-r--r-- | resources/templates/vat/memif_create_cross_horizon.vat | 8 |
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} |