Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
- Fetch and compile ONOS
Enable Segment Routing applications in your cell configuration:
Code Block language text ONOS_APPS=drivers,openflow,segmentrouting
Configure Segment Routing
You can copy and modify from the following sample json file:
No Format $ONOS_ROOT/tools/package/config/samples/network-cfg-fabric-2x2-minfabric4x4.json
Running remotely (1, 3+ instances)
Push the sample json file to the remote machine using onos-netcfg commandNo Format onos-netcfg <IP> $ONOS_ROOT/tools/package/config/samples/network-cfg-fabric-2x2-minfabric4x4.json
Run stc setup to start ONOS with new configuration.
Running locally (1 instance)
Copy the sample json file to the following location and rename it to network-cfg.json:No Format ~/Application/config/network-cfg.json
Run ok clean to start ONOS with the new configuration.
...