Hi,

Please keep Ryu-devel mailing list.


Please make your problem more clear...

1. You did the commands following Ryu-Book.
   
http://osrg.github.io/ryu-book/en/html/rest_router.html#example-of-the-operation-of-a-single-tenant

2. When you confirmed the settings of your switches,
    "route" column was empty (or not shown).

Right?

On my environment, Ryu is the latest with GitHub and OVS v2.6.0,
I can get the settings as expected.

$ curl http://localhost:8080/router/0000000000000001 | python -m json.tool
[
     {
         "internal_network": [
             {
                 "address": [
                     {
                         "address": "172.16.20.1/24",
                         "address_id": 1
                     },
                     {
                         "address": "172.16.30.30/24",
                         "address_id": 2
                     }
                 ],
                 "route": [
                     {
                         "destination": "0.0.0.0/0",
                         "gateway": "172.16.30.1",
                         "route_id": 1
                     }
                 ]
             }
         ],
         "switch_id": "0000000000000001"
     }
]


Thanks,
Iwase


On 2016年10月20日 19:08, ホンパンニャー wrote:
> Hi Iwase,
>
> How are you doing ? I am now doing an experiment using rest_router.py. I am
> following everything from Ryu Document 1.0 and it works fine but i don't
> know why i cannot verify the route that i have added on the router.
>
> When i input this command curl
> http://*http://localhost:8080/router/0000000000000001
> <http://localhost:8080/router/0000000000000001>, *only the address info are
> showed. My question is how to view my route?
>
> I also attached the output of the command. Please have a look !
>
> Thanks,
> Panha
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to