...
- Fetch and compile ONOS
Enable Segment Routing applications in your cell configuration:
Code Block language text ONOS_APPS=drivers,openflow,segmentrouting
Configure Segment Routing
Attached network-cfg.json is already modify for the 4-by-4 leaf-spine topology we are going to use.
You can also use copy and modify from a the sample at:No Format onos/tools/package/config/samples/test/configs/network-cfg-2x2-leaf-spine.json /tools/test/configs/network-cfg.json-4x4-leaf-spine.json
For multiple instances
Copy the sample json file to the following location and rename it to network-cfg.json to:No Format onos/tools/package/config/network-cfg.json
Run onos-package and onos-install to apply new configuration on ONOS instances.
For single instance
Copy Copy the sample json file to the following location and rename it to network-cfg.json to:No Format ~/Application/config/network-cfg.json
Run ok clean to start ONOS with the new configuration.
...