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

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

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

...