Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Fetch and compile ONOS
  2. Enable Segment Routing applications in your cell configuration:

    Code Block
    languagetext
    ONOS_APPS=drivers,openflow,segmentrouting
  3. 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 
    1. 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.

    2. 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.

...