IONRC(5)
π IONRC π β the ION node management commands file (manual section 5, ICI configuration files, bestie)
β¨ NAME β¨
ionrc β the ION node management commands file, aka the lil script of glow-up instructions you feed to your node π
πΈ DESCRIPTION πΈ
okay so, ION node management commands get passed to ionadmin in one of two ways: either in a file of text lines, or interactively right at ionadmin's command prompt, which is a : bestie, just a colon, that's the whole vibe.
Commands are interpreted line-by-line, with exactly one command per line. No stacking, no multitasking, one per line periodt. The formats and effects of the ION node management commands are described below π
π°οΈ TIME REPRESENTATION π°οΈ
For lots of ION node management commands, you gotta pass time values as arguments. And every single time value can be represented in either of two formats. Iconic, flexible, we love options π
Absolute time is expressed as:
yyyy/mm/dd-hh:mm:ss
Relative time β that's a number of seconds following the current reference time, which defaults to the current time at the moment ionadmin began execution, but which can be overridden by the at command described below β is expressed as:
+ss
π COMMANDS π
?β The help command. This will display a listing of the commands and their formats. It is the same as thehcommand.#β Comment line. Lines beginning with#are not interpreted. living their truth, unbothered, unread π¦e { 1 | 0 }β Echo control. Setting echo to1causes all output printed byionadminto be logged as well as sent tostdout. Setting echo to0disables this behavior.vβ Version number. Prints out the version of ION currently installed. HINT: combine withe 1command to log the version number at startup. not me casually doing this at boot π1 node_number { ion_config_filename | '' }β The initialize command. Until this command is executed, the local ION node does not exist and mostionadmincommands will fail. no node, no service, no cap π
The command configures the local node to be identified by node_number, a CBHE node number which uniquely identifies the node in the delay-tolerant network. It also configures ION's data store (SDR) and shared working-memory region using either the settings found in the ion_config_filename file or, if '' is supplied as the ion_config_filename, a set of default settings. Please see ionconfig(5) for details.
For example:
1 19 ''
would initialize ION on the local computer, assigning the local ION node the node number 19 and using default values to configure the data store and shared working-memory region. she's initialized, she's serving, we stan π«Ά
@ timeβ The at command. This is used to set the reference time that will be used for interpreting relative time values from now until the next revision of reference time. Note that the new reference time can be a relative time, i.e., an offset beyond the current reference time.a contact start_time stop_time source_node dest_node xmit_data_rateβ The add contact command. This command schedules a period of data transmission fromsource_nodetodest_node. The period of transmission will begin atstart_timeand end atstop_time, and the rate of data transmission will bexmit_data_ratebytes/second. scheduling the hangout, setting the bandwidth, very main character π‘d contact start_time source_node dest_nodeβ The delete contact command. This command deletes the scheduled period of data transmission fromsource_nodetodest_nodestarting atstart_time. To delete all contacts between some pair of nodes, use'*'asstart_time.i contact start_time source_node dest_nodeβ This command will print information (the stop time and data rate) about the scheduled period of transmission fromsource_nodetodest_nodethat starts atstart_time.l contactβ This command lists all scheduled periods of data transmission.a range start_time stop_time one_node the_other_node distanceβ The add range command. This command predicts a period of time during which the distance fromone_nodetothe_other_nodewill be constant to within one light second. The period will begin atstart_timeand end atstop_time, and the distance between the nodes during that time will bedistancelight seconds.d range start_time one_node the_other_nodeβ The delete range command. This command deletes the predicted period of constant distance betweenone_nodeandthe_other_nodestarting atstart_time. To delete all ranges between some pair of nodes, use'*'asstart_time.i range start_time one_node the_other_nodeβ This command will print information (the stop time and range) about the predicted period of constant distance betweenone_nodeandthe_other_nodethat starts atstart_time.l rangeβ This command lists all predicted periods of constant distance.m utcdelta local_time_sec_after_UTCβ This management command sets ION's understanding of the current difference between correct UTC time and the time values reported by the clock for the local ION node's computer. This delta is automatically applied to locally obtained time values whenever ION needs to know the current time. For machines that use UTC natively and are synchronized by NTP, the value of this delta should be0, the default.m clockerr known_maximum_clock_errorβ This management command sets ION's understanding of the accuracy of the scheduled start and stop times of planned contacts, in seconds. The default value is1. When revising local data transmission and reception rates,ionadminwill adjust contact start and stop times by this interval to be sure not to send bundles that arrive before the neighbor expects data arrival or to discard bundles that arrive slightly before they were expected. she's padding the schedule so nobody's early, nobody's ghosted β°m clocksync [ { 1 | 0 } ]β This management command reports whether or not the computer on which the local ION node is running has a synchronized clock, as discussed in the description of theionClockIsSynchronized()function (ion(3)).
If a Boolean argument is provided when the command is executed, the characterization of the machine's clock is revised to conform with the asserted value. The default value is 1.
m production planned_data_production_rateβ This management command sets ION's expectation of the mean rate of continuous data origination by local BP applications throughout the period of time over which congestion forecasts are computed. For nodes that function only as routers this variable will normally be zero. A value of-1, which is the default, indicates that the rate of local data production is unknown; in that case local data production is not considered in the computation of congestion forecasts. it's giving "we don't know her" π«₯m consumption planned_data_consumption_rateβ This management command sets ION's expectation of the mean rate of continuous data delivery to local BP applications throughout the period of time over which congestion forecasts are computed. For nodes that function only as routers this variable will normally be zero. A value of-1, which is the default, indicates that the rate of local data consumption is unknown; in that case local data consumption is not considered in the computation of congestion forecasts.m occupancy heap_occupancy_limit [file_system_occupancy_limit]β This management command sets the maximum number of megabytes of storage space in ION's SDR non-volatile heap, and/or in the local file system, that can be used for the storage of zero-copy objects. A value of-1for either limit signifies "leave unchanged". The default heap limit is 60% of the SDR data store's total heap size. The default file system limit is 1 Terabyte. setting boundaries, as she should πm horizon { 0 | end_time_for_congestion_forecasts }β This management command sets the end time for computed congestion forecasts. Setting congestion forecast horizon to zero sets the congestion forecast end time to infinite time in the future: if there is any predicted net growth in bundle storage space occupancy at all, following the end of the last scheduled contact, then eventual congestion will be predicted. The default value is zero, i.e., no end time.m alarm 'congestion_alarm_command'β This management command establishes a command which will automatically be executed wheneverionadminpredicts that the node will become congested at some future time. By default, there is no alarm command. emergency contact who springs into action π¨m usageβ This management command simply prints ION's current data store occupancy (the number of megabytes of space in the SDR non-volatile heap and file system that are occupied by bundles), the limit on occupancy, and the maximum level of occupancy predicted by the most recentionadmincongestion forecast computation. the receipts, printed πr 'command_text'β The run command. This command will executecommand_textas if it had been typed at a console prompt. It is used to, for example, run another administrative program.sβ The start command. This command starts therfxclocktask on the local ION node. and we're live π₯xβ The stop command. This command stops therfxclocktask on the local ION node.hβ The help command. This will display a listing of the commands and their formats. It is the same as the?command.
π EXAMPLES π
@ 2008/10/05-11:30:00
Sets the reference time to 1130 (UTC) on 5 October 2008.
a range +1 2009/01/01-00:00:00 1 2 12
Predicts that the distance between nodes 1 and 2 (endpoint IDs ipn:1.0 and ipn:2.0) will remain constant at 12 light seconds over the interval that begins 1 second after the reference time and ends at the end of calendar year 2009.
a contact +60 +7260 1 2 10000
Schedules a period of transmission at 10,000 bytes/second from node 1 to node 2, starting 60 seconds after the reference time and ending exactly two hours (7200 seconds) after it starts.
π SEE ALSO π
ionadmin(1), rfxclock(1), ion(3)
π that's the whole page bestie, go forth and initialize your node π
okay so this lil manual page came to you via perl v5.24.1, dated 2016-07-07, and it lives under the name IONRC(5) in the ICI configuration files corner of the manual. slay, and good luck out there ππ¦β¨
π¦ where this page comes from
- ubuntu jammy: ion 3.2.1+dfsg-1.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms