Soft Patch Panel
 help / color / mirror / Atom feed
From: ogawa.yasufumi@lab.ntt.co.jp
To: spp@dpdk.org, ferruh.yigit@intel.com, x-fn-spp@sl.ntt-tx.co.jp
Cc: Hiroyuki Nakamura <nakamura.hioryuki@po.ntt-tx.co.jp>,
	Naoki Takada <takada.naoki@lab.ntt.co.jp>
Subject: [spp] [PATCH 12/28] doc: update user account
Date: Tue, 23 Jan 2018 09:29:00 +0900	[thread overview]
Message-ID: <20180123002907.28414-3-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <20180123002907.28414-1-ogawa.yasufumi@lab.ntt.co.jp>

From: Hiroyuki Nakamura <nakamura.hioryuki@po.ntt-tx.co.jp>

User account 'ntt' is not appropriate for example of spp's usacase.
Change to 'sppuser'.

Signed-off-by: Naoki Takada <takada.naoki@lab.ntt.co.jp>
---
 docs/spp_vf/sample_usage.md | 41 ++++++++++++++---------------------------
 1 file changed, 14 insertions(+), 27 deletions(-)

diff --git a/docs/spp_vf/sample_usage.md b/docs/spp_vf/sample_usage.md
index bb4d540..00e1631 100644
--- a/docs/spp_vf/sample_usage.md
+++ b/docs/spp_vf/sample_usage.md
@@ -74,7 +74,7 @@ To not ask for unknown keys while login VMs,
 set `-oStrictHostKeyChecking=no` option for ssh.
 
   ```sh
-  $ ssh -oStrictHostKeyChecking=no ntt@192.168.122.31
+  $ ssh -oStrictHostKeyChecking=no sppuser@192.168.122.31
   ```
 
 Up interfaces for vhost and register them to arp table inside spp-vm1.
@@ -83,12 +83,12 @@ after configuration is done.
 
   ```sh
   # up interfaces
-  $ sudo ifconfig ens4 inet 192.168.240.21 netmask 255.255.255.0 up
-  $ sudo ifconfig ens5 inet 192.168.250.22 netmask 255.255.255.0 up
+  $ sudo ifconfig ens4 inet 192.168.140.21 netmask 255.255.255.0 up
+  $ sudo ifconfig ens5 inet 192.168.150.22 netmask 255.255.255.0 up
 
   # register to arp table
-  $ sudo arp -s 192.168.240.11 a0:36:9f:78:86:78 -i ens4
-  $ sudo arp -s 192.168.250.13 a0:36:9f:6c:ed:bc -i ens5
+  $ sudo arp -s 192.168.140.11 a0:36:9f:78:86:78 -i ens4
+  $ sudo arp -s 192.168.150.13 a0:36:9f:6c:ed:bc -i ens5
 
   # diable TCP offload
   $ sudo ethtool -K ens4 tx off
@@ -98,15 +98,15 @@ after configuration is done.
 Configurations for spp-vm2 is same as spp-vm1.
 
   ```sh
-  $ ssh -oStrictHostKeyChecking=no ntt@192.168.122.32
+  $ ssh -oStrictHostKeyChecking=no sppuser@192.168.122.32
 
   # up interfaces
-  $ sudo ifconfig ens4 inet 192.168.240.31 netmask 255.255.255.0 up
-  $ sudo ifconfig ens5 inet 192.168.250.32 netmask 255.255.255.0 up
+  $ sudo ifconfig ens4 inet 192.168.140.31 netmask 255.255.255.0 up
+  $ sudo ifconfig ens5 inet 192.168.150.32 netmask 255.255.255.0 up
 
   # register to arp table
-  $ sudo arp -s 192.168.240.11 a0:36:9f:78:86:78 -i ens4
-  $ sudo arp -s 192.168.250.13 a0:36:9f:6c:ed:bc -i ens5
+  $ sudo arp -s 192.168.140.11 a0:36:9f:78:86:78 -i ens4
+  $ sudo arp -s 192.168.150.13 a0:36:9f:6c:ed:bc -i ens5
 
   # diable TCP offload
   $ sudo ethtool -K ens4 tx off
@@ -124,19 +124,6 @@ TODO(yasufum) json-based steps are deprecated.
 
 ### Register MAC address to Classifier
 
-Send a request for getting each of process IDs with nc command.
-TODO(yasufum) for what?
-
-  ```sh
-  {
-    "commands": [
-      {
-        "command": "process"
-      }
-    ]
-  }
-  ```
-
 Register MAC addresses to classifier.
 
   ```sh
@@ -183,16 +170,16 @@ Now, you can login VMs.
 
   ```sh
   # spp-vm1 via NIC0
-  $ ssh ntt@192.168.240.21
+  $ ssh sppuser@192.168.140.21
 
   # spp-vm1 via NIC1
-  $ ssh ntt@192.168.250.22
+  $ ssh sppuser@192.168.150.22
 
   # spp-vm2 via NIC0
-  $ ssh ntt@192.168.240.31
+  $ ssh sppuser@192.168.140.31
 
   # spp-vm2 via NIC1
-  $ ssh ntt@192.168.250.32
+  $ ssh sppuser@192.168.150.32
   ```
 
 If you unregister the addresses, send request as following.
-- 
2.13.1

  parent reply	other threads:[~2018-01-23  0:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23  0:28 [spp] [PATCH 10/28] doc: revice path descs ogawa.yasufumi
2018-01-23  0:28 ` [spp] [PATCH 11/28] doc: add network configuration diagram ogawa.yasufumi
2018-01-23  0:29 ` ogawa.yasufumi [this message]
2018-01-23  0:29 ` [spp] [PATCH 13/28] doc: update descriptions for todo ogawa.yasufumi
2018-01-23  0:29 ` [spp] [PATCH 14/28] doc: add description for explanation section ogawa.yasufumi
2018-01-23  0:29 ` [spp] [PATCH 15/28] doc: add spp_sample_usage_svg in docs/spp_vf/ ogawa.yasufumi
2018-01-23  0:29 ` [spp] [PATCH 16/28] doc: add explanation for terminating spp app ogawa.yasufumi
2018-01-23  0:29 ` [spp] [PATCH 17/28] doc: add explanations on options of spp ogawa.yasufumi
2018-01-23  0:29 ` [spp] [PATCH 18/28] doc: update description for the latest spp version ogawa.yasufumi

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=20180123002907.28414-3-ogawa.yasufumi@lab.ntt.co.jp \
    --to=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=nakamura.hioryuki@po.ntt-tx.co.jp \
    --cc=spp@dpdk.org \
    --cc=takada.naoki@lab.ntt.co.jp \
    --cc=x-fn-spp@sl.ntt-tx.co.jp \
    /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).