Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.15 KB

configuration-file.md

File metadata and controls

29 lines (19 loc) · 1.15 KB

Configuration File

Introduction

If you start the RIFT protocol engine without any command-line arguments it will start a single RIFT node which runs on Ethernet interface "en0".

Note: en0 is the name of the Ethernet interface on a Macbook. A future version of the code will pick the default Ethernet interface in a more portable way.

You can provide the name of a configuration file when you start the RIFT protocol engine:

(env) $ python rift topology/two_by_two_by_two.yaml
Command Line Interface (CLI) available on port 49178

The configuration file specifies a specifies the configuration attributes for the RIFT protocol instance, including the attribute of the RIFT node and the RIFT interfaces.

It is also possible to configure multiple RIFT nodes in the configuration file. This is used to build simulated network topologies that can be tested on a single physical computer. In the above example, the configuration file "two_by_two_by_two.yaml" contains 10 simulated nodes with names core_1, core_2, agg_101, agg_102, etc.

The exact syntax of the configuration file is provided in the next section.

Configuration File Syntax

TODO