From 26b9913b8a6e3fb8998a8b0497d934524eea09f5 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Thu, 25 Jul 2019 14:58:49 +0200 Subject: content: Replace screenshots of irm commands The irm commands in the irmd section are now replaced by listings. --- content/docs/irmd.md | 54 ++++++++++++++++++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 19 deletions(-) (limited to 'content/docs') diff --git a/content/docs/irmd.md b/content/docs/irmd.md index ee43967..f6b60bd 100644 --- a/content/docs/irmd.md +++ b/content/docs/irmd.md @@ -7,9 +7,11 @@ date: 2019-07-23 draft: false --- -The most important structure in recursive networks are layers, that -are built op from [elements](/docs/elements/) called Inter-Process -Communication Processes (IPCPs). +The most important structure in recursive networks are the layers, +that are built op from [elements](/docs/elements/) called +Inter-Process Communication Processes (IPCPs). (Note again that the +layers in recursive networks are not the same as layers in the OSI +model).
{{
-{{
}} -
+``` +$ irm ipcp create type unicast name my_ipcp +$ irm ipcp list ++---------+----------------------+------------+----------------------+ +| pid | name | type | layer | ++---------+----------------------+------------+----------------------+ +| 7224 | my_ipcp | unicast | Not enrolled | ++---------+----------------------+------------+----------------------+ +``` The example above creates a unicast IPCP and gives that IPCP a name (we called it "my_ipcp"). A listing of the IPCPs in the system shows -that the IPCP is running as process 4157, and it is not part of a +that the IPCP is running as process 7224, and it is not part of a layer ("*Not enrolled*"). To create a new functioning network layer, we need to configure the IPCP, using a primitive called __bootstrapping__. Bootstrapping sets a -number of parameters for the layer (such as the routing algorithm to -use) and activates the IPCP to allow it to start providing flows. The -Ouroboros command line allows creating an IPCP with some default -values, that are a bit like a vanilla IPv4 network: 32-bit addresses -and shortest-path link-state routing. +number of configuration optionss for the layer (such as the routing +algorithm to use) and activates the IPCP to allow it to start +providing flows. The Ouroboros command line allows creating an IPCP +with some default values, that are a bit like a vanilla IPv4 network: +32-bit addresses and shortest-path link-state routing. -
-{{
}} -
+``` +$ irm ipcp bootstrap name my_ipcp layer my_layer +$ irm ipcp list ++---------+----------------------+------------+----------------------+ +| pid | name | type | layer | ++---------+----------------------+------------+----------------------+ +| 7224 | my_ipcp | unicast | my_layer | ++---------+----------------------+------------+----------------------+ +``` -Now, we have a single node-network. In order to create a larger +Now we have a single node-network. In order to create a larger network, we connect and configure new IPCPs using a third primitive called __enrollment__. When enrolling an IPCP in a network, it will create a flow (using a lower layer) to an existing member of the layer, download the bootstrapping information, and use it to configure itself as part of this layer. -[TODO: enrollment example] +The final primitive is the __connect__ (and __disconnect__) +primitive. This allows to create *adjacencies* between network nodes. + +An example of how to create a small two-node network is given in +[tutorial 2](/docs/tutorials/tutorial-2/) --- Changelog: -- cgit v1.2.3