From d39ca50eaa09350e423fc49741fde1ebc745398e Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Tue, 17 Mar 2020 09:36:44 +0100 Subject: content: Update register commands to v0.17 --- content/en/docs/Tutorials/tutorial-1.md | 2 +- content/en/docs/Tutorials/tutorial-2.md | 12 ++++++------ content/en/docs/Tutorials/tutorial-4.md | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'content/en/docs') diff --git a/content/en/docs/Tutorials/tutorial-1.md b/content/en/docs/Tutorials/tutorial-1.md index 1da58eb..d3d24c0 100644 --- a/content/en/docs/Tutorials/tutorial-1.md +++ b/content/en/docs/Tutorials/tutorial-1.md @@ -79,7 +79,7 @@ take "oping_server". In the second terminal window, execute: ```bash $ irm bind proc 2337 name oping_server -$ irm register name oping_server layer local_layer +$ irm name register oping_server layer local_layer ``` The IRMd and IPCPd in terminal one will now acknowledge that the name is diff --git a/content/en/docs/Tutorials/tutorial-2.md b/content/en/docs/Tutorials/tutorial-2.md index b59247a..5f52a5a 100644 --- a/content/en/docs/Tutorials/tutorial-2.md +++ b/content/en/docs/Tutorials/tutorial-2.md @@ -17,11 +17,11 @@ like this: {{
}} Let's start adding the unicast layer. We will first bootstrap a -unicast IPCP, with name "U1" into the layer "U" (using -default options). In terminal 2, type: +unicast IPCP, with name "normal_1" into the layer "normal_layer" +(using default options). In terminal 2, type: ```bash -$ irm ipcp bootstrap type unicast name U1 layer U +$ irm ipcp bootstrap type unicast name normal_1 layer normal_layer ``` The IRMd and IPCP will report the bootstrap: @@ -53,8 +53,8 @@ in the local_layer: ```bash $ irm bind ipcp normal_1 name normal_1 $ irm bind ipcp normal_1 name normal_layer -$ irm register name normal_1 layer local_layer -$ irm register name normal_layer layer local_layer +$ irm name register normal_1 layer local_layer +$ irm name register normal_layer layer local_layer ``` The "irm bind ipcp" call is a shorthand for the "irm bind proc" call @@ -284,7 +284,7 @@ name from the local layer, the client will connect over the normal layer: ```bash -$ irm unregister name oping_server layer local_layer +$ irm name unregister oping_server layer local_layer $ oping -n oping_server -c 5 ``` diff --git a/content/en/docs/Tutorials/tutorial-4.md b/content/en/docs/Tutorials/tutorial-4.md index 1e2dde5..10116de 100644 --- a/content/en/docs/Tutorials/tutorial-4.md +++ b/content/en/docs/Tutorials/tutorial-4.md @@ -104,12 +104,12 @@ node0: $ irm ipcp bootstrap type normal name normal_0 layer normal_layer $ irm bind ipcp normal_0 name normal_0 $ irm b i normal_0 n normal_layer -$ irm register name normal_layer layer eth -$ irm r n normal_0 l eth +$ irm name register normal_layer layer eth +$ irm n r normal_0 l eth node1: $ irm ipcp enroll name normal_1 layer normal_layer autobind -$ irm r n normal_layer l eth -$ irm r n normal_1 l eth +$ irm n r normal_layer l eth +$ irm n r normal_1 l eth ``` The IPCPs should acknowledge the enrollment in their logs: -- cgit v1.2.3