diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-05-14 13:22:42 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-06-08 07:44:26 +0000 |
commit | 28b344a6ade7624278835cff242b3e0c9d891346 (patch) | |
tree | c191837a72b62ea1a70b5b007890530c32b6f3b0 /resources/templates/vat | |
parent | 5b9b416f2f073a4102f3dc5ba219c81505e092ed (diff) |
CSIT-1081 Container VPP configuration refactor
Adopt code for various topology configurations.
Change-Id: Iaf9d7995ab8cd06da0c56c5e5664d57d19e74d7c
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/templates/vat')
-rw-r--r-- | resources/templates/vat/memif_create_chain.vat (renamed from resources/templates/vat/memif_create_cnt.vat) | 0 | ||||
-rw-r--r-- | resources/templates/vat/memif_create_cross_horiz.vat | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/resources/templates/vat/memif_create_cnt.vat b/resources/templates/vat/memif_create_chain.vat index 306df83c57..306df83c57 100644 --- a/resources/templates/vat/memif_create_cnt.vat +++ b/resources/templates/vat/memif_create_chain.vat 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} |