Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed ONOS-1.1 related notes (IPv6)

...

Code Block
onos> routes
   Network            Next Hop
   192.168.1.0/24     10.0.1.1       
   192.168.2.0/24     10.0.2.1       
   192.168.3.0/24     10.0.3.1       
Total SDN-IP routes = 3

ONOS-1.1 note: In ONOS-1.1 the output from the above CLI command might include IPv6 routes as well.

Don't worry if you don't see all of the routes straight away - sometimes it takes a minute or so for the BGP sessions to establish and advertise the routes to ONOS.

Now that ONOS has learned some routes, it has programmed those routes into the switches using the intent API. If we look at the intent summary, we can see the different intents that SDN-IP is using.

...

Code Block
onos> routes
   Network            Next Hop
   192.168.1.0/24     10.0.1.1       
   192.168.2.0/24     10.0.2.1       
   192.168.3.0/24     10.0.3.1       
   192.168.4.0/24     10.0.4.1       
Total SDN-IP routes = 4

...

We see the new route to 192.168.4.0/24 has appeared in the list. Also, when SDN-IP received the route it installed a new MultiPointToSinglePoint intent into the network.

Code Block
onos> intents -s
...
MultiPointToSinglePoint    total=              4   installed=         4
MultiPointToSinglePoint    withdrawn=          0   failed=            0
MultiPointToSinglePoint    submitted=          0   compiling=         0
MultiPointToSinglePoint    installing=         0   recompiling=       0
MultiPointToSinglePoint    withdrawing=        0
...

...