Thanks a lot Brian.
-Paddu


On 8/13/15, 7:59 AM, "Brian Haley" <brian.ha...@hp.com> wrote:

>On 08/13/2015 04:04 AM, Padmanabhan Krishnan wrote:
>> Hello,
>> Is there a Neutron public API to get the list of router ports?
>>Something similar
>> to what the command "neutron router-port-list {tenant}" gives.
>
>router-port-list takes a router as an argument, not a tenant.
>> I wasn't able to find one in the Neutron API doc as well as in
>> "neutronclient/v2_0/client.py".
>>
>> I think with a combination of subnet_show, port_list, one can find the
>>list of
>> neutron router ports, but just wanted to see if there's an API already
>>available.
>
>$ neutron port-list -- --device_owner=network:router_interface
>
>or 'router_interface_distributed' if you have DVR enabled.
>




>-Brian
>
>__________________________________________________________________________
>OpenStack Development Mailing List (not for usage questions)
>Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




    
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to