Ouroboros - the free IPC subsystem
irmd [--config <path>] [--stdout] [--version]
irm [ipcp] <command> <args>
See ouroboros-tutorial(7) to get started.
This page provides an overview of the command options for the irmd and associated irm toolset. You can learn more about individual commands with "irm [command] help".
$ irmd
or, if your system uses systemd, Ouroboros can be started as a service:
$ systemctl start ouroboros
When started from the command line, the IRM has the following options:
--config path
--stdout
--version
Binding a name to a program or process tells the IRMd that a certain program or process will respond to flow allocation requests for the bound name. Multiple programs and processes can be bound to the same name, and a program or process can be bound to multiple names. This only works for programs that use the Ouroboros API.
Creating an IPC Process will instantiate a new IPCP in the system. This IPCP will be empty, with only a name and type specified, and ready for either bootstrapping into a new layer or enrolling in an existing layer.
Bootstrapping an IPC Process gives it the necessary information from the command line to start operating as a layer. Each IPCP type has its own set of configuration options.
Enrolling an IPC Process in a layer configures it by contacting another IPCP that is already a member of that layer (bootstrapped or enrolled). After enrollment, the IPCP is configured, and may or may not have connections to the layer.
Registering a name in a layer inserts the name in that layer's directory. Once a name is registered in a layer, the name can be used as a destination handle for flow allocation.
Ouroboros unicast IPCPs are just like any other process, and will need to be bound and registered in a lower-rank layer before they can be accessed by other processes.
In order to enroll an IPC process in a layer, some other member will have to be reachable over a lower layer. IPCPs that wrap a legacy transmission technology are all bootstrapped and thus need not enroll as they work directly over a physical connection. A unicast or broadcast IPCP attaches to a transmission technology itself, as a point of attachment (PoA); Ouroboros currently supports PoAs on L2 (Ethernet) and L3 (UDP/IPv4 and UDP/IPv6), next to IPCPs over shared memory (local). The unicast and broadcast layers require connections to be established between IPCP components for its operation.
Connecting the management components using management flows allows management information to be sent between IPCPs so that resources for flows can be allocated. Currently the only component that requires management flows is the routing component.
Connecting the data transfer components using data transfer flows allows the routing system to forward packets between IPCPs. This establishes adjacencies in a network of IPCPs. Components that rely on data transfer flows are the directory and the flow allocator.
irm ipcp create type type name name [transit on|off]
local - create a loopback IPCP.
unicast - create a unicast IPCP that uses lower level layers.
broadcast - create a broadcast IPCP that uses lower level layers.
A unicast or broadcast IPCP can be created with transit off to disable forwarding traffic.
irm ipcp destroy name name
irm ipcp bootstrap type type name name layer layer [params] [transit on|off] [autobind]
Values for [param] are dependent on type:
local
[hash policy] specifies the hash function used for the directory,
policy: SHA3_224, SHA3_256, SHA3_384, SHA3_512.
default: SHA3_256.
unicast
[addr address_size] specifies the size of an address in bytes.
default: 4 bytes.
[eid eid_size] specifies the size of the endpoint identifier
field in bytes.
default: 8 bytes, the only supported value.
[ttl] specifies the maximum value for the time-to-live field.
[addr_auth policy] specifies the address authority policy.
policy: flat.
default: flat.
[routing policy] specifies the routing policy.
policy:
[congestion policy] specifies the congestion avoidance policy.
policy:
[hash policy] specifies the hash function used for the directory.
policy: SHA3_224, SHA3_256, SHA3_384, SHA3_512.
default: SHA3_256.
[autobind] will automatically bind a unicast or broadcast IPCP to its name and the layer name.
broadcast
[hash policy] specifies the hash function used for the layer name.
policy: SHA3_224, SHA3_256, SHA3_384, SHA3_512.
default: SHA3_256.
irm ipcp poa attach name name poa
udp ip[:port] attaches to a local IPv4 or IPv6 address.
IPv6 addresses need brackets when a port is given: [ip]:port.
default port: 3435.
eth dev device [ethertype ethertype] attaches to an Ethernet
device.
default: 0xA000.
irm ipcp poa detach name name poa
irm ipcp poa list name name
irm ipcp enroll name name [type type] [dst dst] [layer layer] [transit on|off] [autobind]
[type type] specifies the IPCP type (unicast or broadcast).
[dst dst] specifies the destination name to enroll with
[layer layer] specifies the name of the layer. Only specifying the layer name is a shorthand for the destination name being the same as the layer name.
[transit on|off] sets the transit setting of the IPCP before it is enrolled.
[autobind] will automatically bind this IPCP to its name and the layer name.
[udp ip[:port]] enrols over a point of attachment this IPCP is attached to, at a peer reachable at this IPv4 or IPv6 address or host name.
[eth [dev device] [ethertype ethertype]] enrols over a point of attachment this IPCP is attached to, resolving the peer by a name query over Ethernet. [dev device] restricts the query to one attached device.
irm ipcp connect name name component component dst destination
[qos qos] specifies the QoS cube for a dt flow: raw, safe, rt, rt-safe or msg.
[udp ip[:port]] connects over a point of attachment this IPCP is attached to, to a peer reachable at this IPv4 or IPv6 address or host name.
[eth [dev device] [ethertype ethertype]] connects over a point of attachment this IPCP is attached to, resolving the peer by a name query over Ethernet. [dev device] restricts the query to one attached device.
irm ipcp disconnect name name component component dst destination
irm ipcp list type type name name layer layer
irm ipcp set name name transit on|off
irm bind program program name name [[auto] -- [param] [param] ... [param]]
irm bind process pid name name
irm bind ipcp ipcp name name
irm unbind program program name name
irm unbind process pid name name
irm unbind ipcp ipcp name name
irm name create name lb policy [ssecpath /path/to/server/sec.conf] [scrtpath /path/to/server/crt.pem] [skeypath /path/to/server/key.pem]
[csecpath /path/to/client/sec.conf] [ccrtpath /path/to/client/crt.pem] [ckeypath /path/to/client/key.pem]
irm name destroy name
irm name register name ipcp ipcp [ipcp ...] layer [layer layer ...]
irm name unregister name ipcp ipcp [ipcp ...] layer [layer layer ...]
irm name list name
These man pages are licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/