From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CB8F4A055F for ; Thu, 27 Feb 2020 12:50:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 245FC1BFC7; Thu, 27 Feb 2020 12:50:48 +0100 (CET) Received: from dish-sg.nttdocomo.co.jp (dish-sg.nttdocomo.co.jp [202.19.227.74]) by dpdk.org (Postfix) with ESMTP id EB94A37AF for ; Thu, 27 Feb 2020 12:50:45 +0100 (CET) X-dD-Source: Outbound Received: from zssg-mailmd104.ddreams.local (zssg-mailmd900.ddreams.local [10.160.172.63]) by zssg-mailou103.ddreams.local (Postfix) with ESMTP id 2F84D120143; Thu, 27 Feb 2020 20:50:44 +0900 (JST) Received: from zssg-mailmf106.ddreams.local (zssg-mailmf900.ddreams.local [10.160.172.84]) by zssg-mailmd104.ddreams.local (dDREAMS) with ESMTP id <0Q6C01BGWZKK1S10@dDREAMS>; Thu, 27 Feb 2020 20:50:44 +0900 (JST) Received: from zssg-mailmf106.ddreams.local (unknown [127.0.0.1]) by zssg-mailmf106.ddreams.local (Postfix) with ESMTP id 068D87E6032; Thu, 27 Feb 2020 20:50:44 +0900 (JST) Received: from zssg-mailmf106.ddreams.local (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0547C8E6057; Thu, 27 Feb 2020 20:50:44 +0900 (JST) Received: from localhost (unknown [127.0.0.1]) by IMSVA (Postfix) with SMTP id 03D888E6042; Thu, 27 Feb 2020 20:50:44 +0900 (JST) X-IMSS-HAND-OFF-DIRECTIVE: localhost:10026 Received: from zssg-mailmf106.ddreams.local (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1177C8E6042; Thu, 27 Feb 2020 20:50:43 +0900 (JST) Received: from davinci.ntt-tx.co.jp (unknown [10.160.183.139]) by zssg-mailmf106.ddreams.local (Postfix) with ESMTP; Thu, 27 Feb 2020 20:50:43 +0900 (JST) From: x-fn-spp-ml@ntt-tx.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Thu, 27 Feb 2020 20:50:40 +0900 Message-id: <20200227115041.7735-2-x-fn-spp-ml@ntt-tx.co.jp> X-Mailer: git-send-email 2.18.0 In-reply-to: <20200227115041.7735-1-x-fn-spp-ml@ntt-tx.co.jp> References: <20200227115041.7735-1-x-fn-spp-ml@ntt-tx.co.jp> X-TM-AS-GCONF: 00 Subject: [spp] [PATCH v2 1/2] recipes: update recipes for multiple node usecase X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" From: Hideyuki Yamashita This patch set provides rcps for multiple node usecase. Signed-off-by: Hideyuki Yamashita Signed-off-by: Yasufumi Ogawa --- .../usecases/multiple_nodes/10_host3_stop_fwd.rcps | 6 ++++++ .../usecases/multiple_nodes/11_host4_stop_fwd.rcps | 6 ++++++ .../usecases/multiple_nodes/3_host1_start_fwd.rcps | 7 +++++++ .../usecases/multiple_nodes/4_host2_start_fwd.rcps | 8 ++++++++ .../usecases/multiple_nodes/5_host3_start_fwd.rcps | 8 ++++++++ .../usecases/multiple_nodes/6_host4_start_fwd.rcps | 8 ++++++++ .../usecases/multiple_nodes/7_config_change_path.rcps | 11 +++++++++++ recipes/usecases/multiple_nodes/8_host1_stop_fwd.rcps | 6 ++++++ recipes/usecases/multiple_nodes/9_host2_stop_fwd.rcps | 6 ++++++ 9 files changed, 66 insertions(+) create mode 100644 recipes/usecases/multiple_nodes/10_host3_stop_fwd.rcps create mode 100644 recipes/usecases/multiple_nodes/11_host4_stop_fwd.rcps create mode 100644 recipes/usecases/multiple_nodes/3_host1_start_fwd.rcps create mode 100644 recipes/usecases/multiple_nodes/4_host2_start_fwd.rcps create mode 100644 recipes/usecases/multiple_nodes/5_host3_start_fwd.rcps create mode 100644 recipes/usecases/multiple_nodes/6_host4_start_fwd.rcps create mode 100644 recipes/usecases/multiple_nodes/7_config_change_path.rcps create mode 100644 recipes/usecases/multiple_nodes/8_host1_stop_fwd.rcps create mode 100644 recipes/usecases/multiple_nodes/9_host2_stop_fwd.rcps diff --git a/recipes/usecases/multiple_nodes/10_host3_stop_fwd.rcps b/recipes/usecases/multiple_nodes/10_host3_stop_fwd.rcps new file mode 100644 index 0000000..d3389d0 --- /dev/null +++ b/recipes/usecases/multiple_nodes/10_host3_stop_fwd.rcps @@ -0,0 +1,6 @@ +# Switch to server 3 +server 3 + +# Stop forwarding +nfv 1; stop +nfv 1; patch reset diff --git a/recipes/usecases/multiple_nodes/11_host4_stop_fwd.rcps b/recipes/usecases/multiple_nodes/11_host4_stop_fwd.rcps new file mode 100644 index 0000000..d894f74 --- /dev/null +++ b/recipes/usecases/multiple_nodes/11_host4_stop_fwd.rcps @@ -0,0 +1,6 @@ +# Switch to server 4 +server 4 + +# Stop forwarding +nfv 1; stop +nfv 1; patch reset diff --git a/recipes/usecases/multiple_nodes/3_host1_start_fwd.rcps b/recipes/usecases/multiple_nodes/3_host1_start_fwd.rcps new file mode 100644 index 0000000..552ca03 --- /dev/null +++ b/recipes/usecases/multiple_nodes/3_host1_start_fwd.rcps @@ -0,0 +1,7 @@ +# Switch to server 1 +server 1 + +# Configure forwarding +nfv 1; patch phy:1 phy:2 +nfv 1; patch phy:3 phy:0 +nfv 1; forward diff --git a/recipes/usecases/multiple_nodes/4_host2_start_fwd.rcps b/recipes/usecases/multiple_nodes/4_host2_start_fwd.rcps new file mode 100644 index 0000000..7959551 --- /dev/null +++ b/recipes/usecases/multiple_nodes/4_host2_start_fwd.rcps @@ -0,0 +1,8 @@ +# Switch to server 2 +server 2 + +# Configure forwarding +nfv 1; add vhost:0 +nfv 1; patch phy:0 vhost:0 +nfv 1; patch vhost:0 phy:1 +nfv 1; forward diff --git a/recipes/usecases/multiple_nodes/5_host3_start_fwd.rcps b/recipes/usecases/multiple_nodes/5_host3_start_fwd.rcps new file mode 100644 index 0000000..97215da --- /dev/null +++ b/recipes/usecases/multiple_nodes/5_host3_start_fwd.rcps @@ -0,0 +1,8 @@ +# Switch to server 3 +server 3 + +# Configure forwarding +nfv 1; add vhost:0 +nfv 1; patch phy:0 vhost:0 +nfv 1; patch vhost:0 phy:1 +nfv 1; forward diff --git a/recipes/usecases/multiple_nodes/6_host4_start_fwd.rcps b/recipes/usecases/multiple_nodes/6_host4_start_fwd.rcps new file mode 100644 index 0000000..eee55f9 --- /dev/null +++ b/recipes/usecases/multiple_nodes/6_host4_start_fwd.rcps @@ -0,0 +1,8 @@ +# Switch to server 4 +server 4 + +# Configure forwarding +nfv 1; add vhost:0 +nfv 1; patch phy:0 vhost:0 +nfv 1; patch vhost:0 phy:1 +nfv 1; forward diff --git a/recipes/usecases/multiple_nodes/7_config_change_path.rcps b/recipes/usecases/multiple_nodes/7_config_change_path.rcps new file mode 100644 index 0000000..ad3cc9c --- /dev/null +++ b/recipes/usecases/multiple_nodes/7_config_change_path.rcps @@ -0,0 +1,11 @@ +# Switch to server 1 +server 1 + +# Remove blue path +nfv 1; stop +nfv 1; patch reset + +# Configure forwarding +nfv 2; patch phy:1 phy:4 +nfv 2; patch phy:5 phy:0 +nfv 2; forward diff --git a/recipes/usecases/multiple_nodes/8_host1_stop_fwd.rcps b/recipes/usecases/multiple_nodes/8_host1_stop_fwd.rcps new file mode 100644 index 0000000..6498d56 --- /dev/null +++ b/recipes/usecases/multiple_nodes/8_host1_stop_fwd.rcps @@ -0,0 +1,6 @@ +# Switch to server 1 +server 1 + +# Stop forwarding +nfv 2; stop +nfv 2; patch reset diff --git a/recipes/usecases/multiple_nodes/9_host2_stop_fwd.rcps b/recipes/usecases/multiple_nodes/9_host2_stop_fwd.rcps new file mode 100644 index 0000000..5b2287c --- /dev/null +++ b/recipes/usecases/multiple_nodes/9_host2_stop_fwd.rcps @@ -0,0 +1,6 @@ +# Switch to server 2 +server 2 + +# Stop forwarding +nfv 1; stop +nfv 1; patch reset -- 2.17.1