...
- 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-min.json
Note By default ONOS will use SpringOpen pipeline for CPqD switches. Addition configuration is required if you wish to use OFDPA pipeline. Please refer to this page for detail.
Running remotely (1, 3+ instances)
Run stc setup to start ONOS.
Push the sample json file to the remote machine using onos-netcfg command.No Format onos-netcfg <IP> $ONOS_ROOT/tools/package/config/samples/network-cfg-fabric-2x2-min.json
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.
...