diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-02-14 12:46:56 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2018-02-15 11:40:19 +0000 |
commit | ac035bb894dde57932d0bae3bb4135089f53f557 (patch) | |
tree | cf6cc078d31ddb563215ac8092292973b0151010 /resources | |
parent | 968b6ce89e79b9b29d30a4ab361ec277668ab888 (diff) |
FIX: Change memif API for latest master
Change-Id: I34c656c79647aece1880e64058365ecf1a9ebf56
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/templates/vat/memif_create.vat | 2 | ||||
-rw-r--r-- | resources/templates/vat/memif_create_lxc.vat | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/templates/vat/memif_create.vat b/resources/templates/vat/memif_create.vat index 228c824c25..d9f2937029 100644 --- a/resources/templates/vat/memif_create.vat +++ b/resources/templates/vat/memif_create.vat @@ -1 +1 @@ -memif_create id {id} socket {socket} {role}
+memif_create id {id} socket-id {socket} {role}
diff --git a/resources/templates/vat/memif_create_lxc.vat b/resources/templates/vat/memif_create_lxc.vat index 92e456c2a4..9c545436b9 100644 --- a/resources/templates/vat/memif_create_lxc.vat +++ b/resources/templates/vat/memif_create_lxc.vat @@ -1,7 +1,7 @@ -create memif id {memif_id1} socket /mnt/host/{socket1} slave +create memif id {memif_id1} socket-id /mnt/host/{socket1} slave set int state memif0/{memif_id1} up -create memif id {memif_id2} socket /mnt/host/{socket2} slave +create memif id {memif_id2} socket-id /mnt/host/{socket2} slave set int state memif1/{memif_id2} up set interface l2 xconnect memif1/{memif_id2} memif0/{memif_id1} |