charlesmcchan / dosudo-demo

Setup an ONOS/Mininet environment for demo at Dosudo Meetup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Setup an ONOS/Mininet environment for demo at Dosudo Meetup.

Quickstart

  1. Clone the repository

    git clone https://github.com/rascov/dosudo-demo.git
    
  2. Use Docker compose to start ONOS and Mininet containers

    docker-compose up -d
    

    It might take a minute for ONOS and Mininet to be ready

  3. Access ONOS web UI

    http://localhost:8181/onos/ui
    

    The default account/password is karaf/karaf Hotkeys: B - Toggle background map L - Toggle device label H - Toggle hosts

  4. Open a terminal window and attach to Mininet CLI

    docker attach dosudodemo_mininet_1
    
  5. Open a terminal window and attach to h17

    docker exec -it dosudodemo_mininet_1 /root/mininet/util/m h17
    
  6. Ping from h17 to h5. It should fail since we have not enabled any traffic forwarding app.

    In h17 shell, run

    ping 10.0.0.5
    
  7. Setup host-to-host intent between h17 and h5

    Shift-click two hosts to select and press host-to-host intent buttom on the right panel.

  8. Ping again. This time it should work.

  9. Tear down a switch. You should see host-to-host intent recompute the route.

    In Mininet CLI, run

    switch s13 stop
    
  10. Clean up

    docker-compose down
    

About

Setup an ONOS/Mininet environment for demo at Dosudo Meetup

License:Apache License 2.0


Languages

Language:Python 100.0%