Ask Your Question
0

I am getting 404 RouterNotFound, when i am trying to add interface to router through api.But the same is working from openstack portal.

asked 2016-06-15 11:36:06 -0500

Rest call

/v2.0/routers/{router-id}​/add_router_interface

Payload contains subnet_id.

Response { "NeutronError": { "message": "Router {router-id} could not be found", "type": "RouterNotFound", "detail": "" } }

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-06-17 01:54:53 -0500

yprokule gravatar image

Can U get a list of routers via api '/v2.0/routers' and list of subnets '/v2.0/subnets' ?

edit flag offensive delete link more

Comments

yes, i am able to get list of routers and subnets. but delete_router_interface and add_router_interface is being inconsistent.

apoonia gravatar imageapoonia ( 2016-06-20 04:07:51 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2016-06-15 11:36:06 -0500

Seen: 47 times

Last updated: Jun 17 '16