Versions Compared

Key

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

...

    • Code Block
      $ cd ~/onos/apps/newoptical
      $ mci
  1. Run ONOS

    • Code Block
      $ op
      $ ok clean
  2. Install bundle

    • Code Block
      onos> app activate org.onosproject.newoptical
  3. Connect devices

  4. GUI

    • Open http://127.0.0.1:8181/onos/ui/ in web browser.

    • Enter karaf/karaf for username/password.

    • See the topology like sample image below is displayed.

      • (image)

    • See “wiki: The ONOS Web GUI” for details.

  5. CUI

    • To add connectivity between port of:000000000000000b/ and of:0000000000000015/1, use CLI command as following.

      Code Block
      onos> add-optical-connectivity of:000000000000000b/2 of:0000000000000015/1 1000000 1000
      • This requests connectivity from of:000000000000000b/2 to of:0000000000000015/1 with required bandwidth of 1 Mbps (= 1000000 bps), and required latency of 1000ns.

    • To remove installed connectivity with ID 1, use CLI command as following.

      Code Block
      onos> remove-optical-connectivity 1