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

     

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

...