neutron l3 router, extra route not supported

Bug #1350460 reported by Rahul
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R1.1
Won't Fix
Wishlist
Sachin Bansal
R2.0
Won't Fix
Wishlist
Sachin Bansal
R2.1
Won't Fix
Wishlist
Sachin Bansal
R3.0
Won't Fix
Wishlist
Sachin Bansal
Trunk
New
Wishlist
Sachin Bansal

Bug Description

Update extra route

Verb URI Description
PUT /routers/router_id Updates logical router with routes attribute.
Normal Response Code: 200

Error Response Codes: Unauthorized (401), Bad Request (400), Not Found (404), Conflict (409)

This operation configures extra routes on the router. The nexthop IP must be a part of one of the subnets to which the router interfaces are connected. Otherwise, the server responds with 400 Bad Request error code. When a validation error is detected, such as a format error of IP address or CIDR, the server responds with 400 Bad Request. When Networking receives a request to delete the router interface for subnets that are used by one or more routes, it responds with 409 Conflict.

Example 4.56. Update routes: JSON request

{
   "router":{
      "routes":[
         {
            "nexthop":"10.1.0.10",
            "destination":"40.0.1.0/24"
         }
      ]
   }
}

Example 4.57. Update routes: JSON response

{"router":
    {"status": "ACTIVE",
     "external_gateway_info": {"network_id": "5c26e0bb-a9a9-429c-9703-5c417a221096"},
     "name": "router1",
     "admin_state_up": true,
     "tenant_id": "936fa220b2c24a87af51026439af7a3e",
     "routes": [{"nexthop": "10.1.0.10", "destination": "40.0.1.0/24"}],
     "id": "babc8173-46f6-4b6f-8b95-38c1683a4e22"}
}

tags: added: neutronapi
information type: Proprietary → Public
Revision history for this message
Ashish Ranjan (aranjan-n) wrote :

Not supported in 1.10

Changed in juniperopenstack:
assignee: nobody → Sachin Bansal (sbansal)
milestone: none → r1.10-fcs
tags: added: releasenote
Rahul (rahuls)
Changed in juniperopenstack:
milestone: r1.10-fcs → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.