* [spp] [PATCH 0/2] Update rcps and docs for Multiple Node usecase.
@ 2020-02-10 11:44 x-fn-spp-ml
2020-02-10 11:44 ` [spp] [PATCH 1/2] rcps: update recipes for multiple node usecase x-fn-spp-ml
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: x-fn-spp-ml @ 2020-02-10 11:44 UTC (permalink / raw)
To: ferruh.yigit, yasufum.o; +Cc: spp
From: Hideyuki Yamashita <yamashita.hideyuki@ntt-tx.co.jp>
There are several incorrectness and missing part on
both docs and rcps for multiple node usecase.
This patch is for 18.08.4.
tx-spp (2):
rcps: update recipes for multiple node usecase
docs: update command for multiple node usecase
docs/guides/usecases/multi_nodes.rst | 2 ++
.../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 ++++++
10 files changed, 68 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
--
2.17.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [spp] [PATCH 1/2] rcps: update recipes for multiple node usecase
2020-02-10 11:44 [spp] [PATCH 0/2] Update rcps and docs for Multiple Node usecase x-fn-spp-ml
@ 2020-02-10 11:44 ` x-fn-spp-ml
2020-02-10 11:44 ` [spp] [PATCH 2/2] docs: update command " x-fn-spp-ml
2020-02-12 2:23 ` [spp] [PATCH 0/2] Update rcps and docs for Multiple Node usecase Yasufumi Ogawa
2 siblings, 0 replies; 6+ messages in thread
From: x-fn-spp-ml @ 2020-02-10 11:44 UTC (permalink / raw)
To: ferruh.yigit, yasufum.o; +Cc: spp
From: tx-spp <yamashita.hideyuki@po.ntt-tx.co.jp>
This patch set provides rcps for multiple node usecase.
Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki@ntt-tx.co.jp>
Signed-off-by: Yasufumi Ogawa <yasufum.o@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [spp] [PATCH 2/2] docs: update command for multiple node usecase
2020-02-10 11:44 [spp] [PATCH 0/2] Update rcps and docs for Multiple Node usecase x-fn-spp-ml
2020-02-10 11:44 ` [spp] [PATCH 1/2] rcps: update recipes for multiple node usecase x-fn-spp-ml
@ 2020-02-10 11:44 ` x-fn-spp-ml
2020-02-12 2:23 ` [spp] [PATCH 0/2] Update rcps and docs for Multiple Node usecase Yasufumi Ogawa
2 siblings, 0 replies; 6+ messages in thread
From: x-fn-spp-ml @ 2020-02-10 11:44 UTC (permalink / raw)
To: ferruh.yigit, yasufum.o; +Cc: spp
From: tx-spp <yamashita.hideyuki@po.ntt-tx.co.jp>
This patch fixes missing command string for multiple
node usecase.
Fixes: 359d5a3b ("docs: add multiple nodes section in usecases")
Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki@ntt-tx.co.jp>
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
docs/guides/usecases/multi_nodes.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/guides/usecases/multi_nodes.rst b/docs/guides/usecases/multi_nodes.rst
index 3eaed0c..5d45e91 100644
--- a/docs/guides/usecases/multi_nodes.rst
+++ b/docs/guides/usecases/multi_nodes.rst
@@ -156,6 +156,8 @@ For host2, swith server to host2 and run nfv commands.
Switch spp-ctl to "2: 192.168.1.102:7777".
# configure
+ spp > nfv 1; add vhost:0
+ Add vhost:0.
spp > nfv 1; patch phy:0 vhost:0
Patch ports (phy:0 -> vhost:0).
spp > nfv 1; patch vhost:0 phy:1
--
2.17.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [spp] [PATCH 0/2] Update rcps and docs for Multiple Node usecase.
2020-02-10 11:44 [spp] [PATCH 0/2] Update rcps and docs for Multiple Node usecase x-fn-spp-ml
2020-02-10 11:44 ` [spp] [PATCH 1/2] rcps: update recipes for multiple node usecase x-fn-spp-ml
2020-02-10 11:44 ` [spp] [PATCH 2/2] docs: update command " x-fn-spp-ml
@ 2020-02-12 2:23 ` Yasufumi Ogawa
2020-02-12 6:18 ` [spp] (x-fn-spp-ml 22) " Hideyuki Yamashita
2 siblings, 1 reply; 6+ messages in thread
From: Yasufumi Ogawa @ 2020-02-12 2:23 UTC (permalink / raw)
To: x-fn-spp-ml; +Cc: ferruh.yigit, spp
Hi Hideyuki,
It looks you sent same patchsets three times. Is the latest one is v3
and should I ignore the previous two patchsets?
Yasufumi
On 2020/02/10 20:44, x-fn-spp-ml@ntt-tx.co.jp wrote:
> From: Hideyuki Yamashita <yamashita.hideyuki@ntt-tx.co.jp>
>
> There are several incorrectness and missing part on
> both docs and rcps for multiple node usecase.
> This patch is for 18.08.4.
>
> tx-spp (2):
> rcps: update recipes for multiple node usecase
> docs: update command for multiple node usecase
>
> docs/guides/usecases/multi_nodes.rst | 2 ++
> .../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 ++++++
> 10 files changed, 68 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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [spp] (x-fn-spp-ml 22) Re: [PATCH 0/2] Update rcps and docs for Multiple Node usecase.
2020-02-12 2:23 ` [spp] [PATCH 0/2] Update rcps and docs for Multiple Node usecase Yasufumi Ogawa
@ 2020-02-12 6:18 ` Hideyuki Yamashita
2020-02-12 8:34 ` Yasufumi Ogawa
0 siblings, 1 reply; 6+ messages in thread
From: Hideyuki Yamashita @ 2020-02-12 6:18 UTC (permalink / raw)
To: Yasufumi Ogawa; +Cc: x-fn-spp-ml, ferruh.yigit, spp
Hello Yasufumi,
In short, yes!
Let me explani a bit more.
1 I have sent only one patch set.
https://mails.dpdk.org/archives/spp/2020-February/thread.html
2. I have changed the source email address without registering
it with SPP ml, it caused pending status (need intervention by
maintainer) of patch set.
So from your view point, you will see several patchset are
sent by me.
I appologize about confusing you.
Anyway, as I mentioned I sent only one type of patch set,
so please check the one.
Thanks!
BR,
Hideyuki Yamashita
NTT TechnoCross
> Hi Hideyuki,
>
> It looks you sent same patchsets three times. Is the latest one is v3 and should I ignore the previous two patchsets?
>
> Yasufumi
>
> On 2020/02/10 20:44, x-fn-spp-ml@ntt-tx.co.jp wrote:
> > From: Hideyuki Yamashita <yamashita.hideyuki@ntt-tx.co.jp>
> >
> > There are several incorrectness and missing part on
> > both docs and rcps for multiple node usecase.
> > This patch is for 18.08.4.
> >
> > tx-spp (2):
> > rcps: update recipes for multiple node usecase
> > docs: update command for multiple node usecase
> >
> > docs/guides/usecases/multi_nodes.rst | 2 ++
> > .../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 ++++++
> > 10 files changed, 68 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
> >
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [spp] (x-fn-spp-ml 22) Re: [PATCH 0/2] Update rcps and docs for Multiple Node usecase.
2020-02-12 6:18 ` [spp] (x-fn-spp-ml 22) " Hideyuki Yamashita
@ 2020-02-12 8:34 ` Yasufumi Ogawa
0 siblings, 0 replies; 6+ messages in thread
From: Yasufumi Ogawa @ 2020-02-12 8:34 UTC (permalink / raw)
To: Hideyuki Yamashita; +Cc: x-fn-spp-ml, ferruh.yigit, spp
On 2020/02/12 15:18, Hideyuki Yamashita wrote:
> Hello Yasufumi,
>
> In short, yes!
>
> Let me explani a bit more.
> 1 I have sent only one patch set.
> https://mails.dpdk.org/archives/spp/2020-February/thread.html
> 2. I have changed the source email address without registering
> it with SPP ml, it caused pending status (need intervention by
> maintainer) of patch set.
>
> So from your view point, you will see several patchset are
> sent by me.
OK. Please make sure your address is registered to the ML before the
next time.
> I appologize about confusing you.
>
> Anyway, as I mentioned I sent only one type of patch set,
> so please check the one.
>
> Thanks!
>
> BR,
> Hideyuki Yamashita
> NTT TechnoCross
>
>
>> Hi Hideyuki,
>>
>> It looks you sent same patchsets three times. Is the latest one is v3 and should I ignore the previous two patchsets?
>>
>> Yasufumi
>>
>> On 2020/02/10 20:44, x-fn-spp-ml@ntt-tx.co.jp wrote:
>>> From: Hideyuki Yamashita <yamashita.hideyuki@ntt-tx.co.jp>
>>>
>>> There are several incorrectness and missing part on
>>> both docs and rcps for multiple node usecase.
>>> This patch is for 18.08.4.
>>>
>>> tx-spp (2):
>>> rcps: update recipes for multiple node usecase
>>> docs: update command for multiple node usecase
>>>
>>> docs/guides/usecases/multi_nodes.rst | 2 ++
>>> .../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 ++++++
>>> 10 files changed, 68 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
>>>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-02-12 8:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-10 11:44 [spp] [PATCH 0/2] Update rcps and docs for Multiple Node usecase x-fn-spp-ml
2020-02-10 11:44 ` [spp] [PATCH 1/2] rcps: update recipes for multiple node usecase x-fn-spp-ml
2020-02-10 11:44 ` [spp] [PATCH 2/2] docs: update command " x-fn-spp-ml
2020-02-12 2:23 ` [spp] [PATCH 0/2] Update rcps and docs for Multiple Node usecase Yasufumi Ogawa
2020-02-12 6:18 ` [spp] (x-fn-spp-ml 22) " Hideyuki Yamashita
2020-02-12 8:34 ` Yasufumi Ogawa
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).