Soft Patch Panel
 help / color / mirror / Atom feed
From: x-fn-spp-ml@ntt-tx.co.jp
To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com
Subject: [spp] [PATCH v2 6/8] recipes: add rcps for multiple_nodes
Date: Tue, 03 Mar 2020 18:25:19 +0900	[thread overview]
Message-ID: <20200303092521.22882-7-x-fn-spp-ml@ntt-tx.co.jp> (raw)
In-Reply-To: <20200227094422.7429-1-x-fn-spp-ml@ntt-tx.co.jp>

From: Hideyuki Yamashita <yamashita.hideyuki@ntt-tx.co.jp>

This patch provides rcps for multiple_nodes usecase.

Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki@ntt-tx.co.jp>
Signed-off-by: Naoki Takada <ntakada14@gmail.com>
---
 .../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


  parent reply	other threads:[~2020-03-03  9:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-27  9:44 [spp] [PATCH 0/8] Update docs and rcps x-fn-spp-ml
2020-02-27  9:44 ` [spp] [PATCH 1/8] recipes: add vhost related rcps for spp_nfv x-fn-spp-ml
2020-02-27  9:44 ` [spp] [PATCH 2/8] recipes: fix rcps for setting up spp_vf x-fn-spp-ml
2020-02-27  9:44 ` [spp] [PATCH 3/8] recipes: fix typos " x-fn-spp-ml
2020-02-27  9:44 ` [spp] [PATCH 4/8] recipes: fix rcps for shutting down spp_vf x-fn-spp-ml
2020-02-27  9:44 ` [spp] [PATCH 5/8] recipes: add rcps for spp_mirror x-fn-spp-ml
2020-02-27  9:44 ` [spp] [PATCH 6/8] recipes: add rcps for multiple_nodes x-fn-spp-ml
2020-02-27  9:44 ` [spp] [PATCH 7/8] docs: adds sample Domain XML file for vhost x-fn-spp-ml
2020-02-27  9:44 ` [spp] [PATCH 8/8] docs: fix incorrect commands in usecases x-fn-spp-ml
2020-02-28  8:49 ` [spp] [PATCH 0/8] Update docs and rcps Yasufumi Ogawa
2020-03-03  9:25 ` [spp] [PATCH v2 " x-fn-spp-ml
2020-03-05  1:26   ` Yasufumi Ogawa
2020-03-03  9:25 ` [spp] [PATCH v2 1/8] recipes: add vhost related rcps for spp_nfv x-fn-spp-ml
2020-03-03  9:25 ` [spp] [PATCH v2 2/8] recipes: fix rcps for setting up spp_vf x-fn-spp-ml
2020-03-03  9:25 ` [spp] [PATCH v2 3/8] recipes: fix typos " x-fn-spp-ml
2020-03-03  9:25 ` [spp] [PATCH v2 4/8] recipes: fix rcps for shutting down spp_vf x-fn-spp-ml
2020-03-03  9:25 ` [spp] [PATCH v2 5/8] recipes: add rcps for spp_mirror x-fn-spp-ml
2020-03-03  9:25 ` x-fn-spp-ml [this message]
2020-03-03  9:25 ` [spp] [PATCH v2 7/8] docs: adds sample Domain XML file for vhost x-fn-spp-ml
2020-03-03  9:25 ` [spp] [PATCH v2 8/8] docs: fix incorrect commands in usecases x-fn-spp-ml

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200303092521.22882-7-x-fn-spp-ml@ntt-tx.co.jp \
    --to=x-fn-spp-ml@ntt-tx.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=spp@dpdk.org \
    --cc=yasufum.o@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).