...
- 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 atjson file:
No Format $ONOS_ROOT/tools/test/configs/network-cfg-2x2-leaf-spine.json $ONOS_ROOT/tools/test/configs/network-cfg-4x4-leaf-spine.json
For multiple instances
Copy the sample json file to the following location and rename it to network-cfg.json:No Format onos$ONOS_ROOT/tools/package/config/network-cfg.json
Run onos-package and onos-install to apply new configuration on ONOS instances.
For single 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.
...