Add a command to list the interfaces attached to the router

Registered by Sharat Sharma

Currently, there is no way to retrieve the list of interfaces attached to a router. This blueprint suggests that neutron supports a functionality to list all the interfaces attached to a router using the command "neutron router-interface-list ROUTER_ID".
If having a new command is considered as an overhead, then at least Add a field to the router-show table to list the attached interfaces along with its status.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Sharat Sharma
Direction:
Needs approval
Assignee:
Sharat Sharma
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Armando Migliaccio

Related branches

Sprints

Whiteboard

Hi,
I suspect that in general you would need to submit bug with RFE tag, see [1]
About your blueprint - whether existing command neutron router-port-list addresses your need [2] ?

BR,
Konstantin
[1] http://docs.openstack.org/developer/neutron/policies/blueprints.html
[2] http://docs.openstack.org/cli-reference/neutron.html#neutron-router-port-list

Hi,
The router-port-list only gives the list of ports that are attached to a particular router. The status of the interface, whether ACTIVE / DOWN is not given by this command. To know the status, again the user has to do a neutron port-show. Also the port-show command has to be done for a single port. There is no way you can get the interface details using a single command. I also feel that the interface details are an important part of the router-show table.

Hi,
(yeah it was set to obsolete by PTL)

But I think you need to take a look at
openstack port list --router xxx
which apparently was based on
neutron port-list --device

BR,
Kostiantyn

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.