<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yiv1090884597"><div id="yui_3_16_0_1_1439537661555_12480"><div id="yui_3_16_0_1_1439537661555_12479" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div id="yiv1090884597"><div id="yiv1090884597yui_3_16_0_1_1439537661555_9668"><div id="yiv1090884597yui_3_16_0_1_1439537661555_9667" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div id="yiv1090884597"><div id="yiv1090884597yui_3_16_0_1_1439537661555_3347"><div id="yiv1090884597yui_3_16_0_1_1439537661555_3346" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div id="yiv1090884597yui_3_16_0_1_1439480122883_3063"><div id="yiv1090884597yui_3_16_0_1_1439537661555_3668"><span id="yiv1090884597yui_3_16_0_1_1439537661555_3424">Thanks a lot Brian.</span></div><div id="yiv1090884597yui_3_16_0_1_1439537661555_3669"><br clear="none"><span id="yiv1090884597yui_3_16_0_1_1439537661555_3424"></span></div><div id="yiv1090884597yui_3_16_0_1_1439537661555_3670"><span id="yiv1090884597yui_3_16_0_1_1439537661555_3424">-Paddu</span><div class="qtdSeparateBR"><br><br></div><div class="yiv1090884597yqt6455948356" id="yiv1090884597yqtfd69552"><div class="yiv1090884597y_msg_container" id="yiv1090884597yui_3_16_0_1_1439480122883_3079"><br clear="none"><br clear="none">On 8/13/15, 7:59 AM, "Brian Haley" <<a rel="nofollow" shape="rect" id="yiv1090884597yui_3_16_0_1_1439537661555_3671" ymailto="mailto:brian.haley@hp.com" target="_blank" href="mailto:brian.haley@hp.com">brian.haley@hp.com</a>> wrote:<br clear="none"><br clear="none">>On 08/13/2015 04:04 AM, Padmanabhan Krishnan wrote:<br clear="none">>> Hello,<br clear="none">>> Is there a Neutron public API to get the list of router ports?<br clear="none">>>Something similar<br clear="none">>> to what the command "neutron router-port-list {tenant}" gives.<br clear="none">><br clear="none"><div id="yiv1090884597yui_3_16_0_1_1439480122883_3266">>router-port-list takes a router as an argument, not a tenant.<br clear="none"></div>>> I wasn't able to find one in the Neutron API doc as well as in<br clear="none">>> "neutronclient/v2_0/client.py".<br clear="none">>><br clear="none">>> I think with a combination of subnet_show, port_list, one can find the<br clear="none">>>list of<br clear="none">>> neutron router ports, but just wanted to see if there's an API already<br clear="none">>>available.<br clear="none">><br clear="none">>$ neutron port-list -- --device_owner=network:router_interface<br clear="none">><br clear="none">>or 'router_interface_distributed' if you have DVR enabled.<br clear="none"><div id="yiv1090884597yui_3_16_0_1_1439537661555_3439">><br clear="none"><div id="yui_3_16_0_1_1439537661555_12804" class="yiv1090884597qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv1090884597yqt4283507656" id="yiv1090884597yqtfd25287"><br clear="none"></div></div><div class="yiv1090884597yqt4283507656" id="yiv1090884597yqtfd87418"><div id="yiv1090884597yui_3_16_0_1_1439537661555_3476"><br clear="none"></div>>-Brian<br clear="none">><br clear="none">>__________________________________________________________________________<br clear="none">>OpenStack Development Mailing List (not for usage questions)<br clear="none">>Unsubscribe: <a rel="nofollow" shape="rect" ymailto="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank" href="mailto:OpenStack-dev-request@lists.openstack.org">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<br clear="none">><a rel="nofollow" shape="rect" target="_blank" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br clear="none"><br clear="none"><br clear="none"></div></div></div></div></div><div class="yiv1090884597yqt6455948356" id="yiv1090884597yqtfd17245"><div class="yiv1090884597yqt5212783741" id="yiv1090884597yqtfd40914"><div class="yiv1090884597yqt4283507656" id="yiv1090884597yqtfd99897"><div class="yiv1090884597qtdSeparateBR"><br clear="none"><br clear="none"></div> </div></div></div></div></div></div><div class="yiv1090884597yqt6455948356" id="yiv1090884597yqtfd22089"><div class="yiv1090884597yqt5212783741" id="yiv1090884597yqtfd89545"><div><div id="yiv1090884597yui_3_16_0_1_1439480122883_3067" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div id="yiv1090884597yui_3_16_0_1_1439480122883_3066" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> </div> </div> </div></div></div></div></div></div></div></div></div></div></body></html>