← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1858377] Re: [neutron-dynamic-routing]The bgp_speaker_show_dragents interface should be modified to bgp_dragent_list_hosting_speakers

 

Reviewed:  https://review.opendev.org/701125
Committed: https://git.openstack.org/cgit/openstack/python-neutronclient/commit/?id=bb5b9cac6e0fd65bd620d514d29751800575d5cc
Submitter: Zuul
Branch:    master

commit bb5b9cac6e0fd65bd620d514d29751800575d5cc
Author: zhanghao <zhanghao2@xxxxxxxxxxxxxxxxxxxx>
Date:   Mon Jan 6 05:33:53 2020 -0500

    Replace 'bgp speaker show dragents' with 'bgp dragent list'
    
    In order to follow other agent related commands in OSC, it is more
    appropriate and friendly to replace 'bgp speaker show dragents' with
    'bgp dragent list'. this patch uses 'openstack bgp dragent list' to
    show the list of dragents, and the optional parameter 'bgp-speaker'
    shows the list of dragents hosting a specific bgp speaker.
    
    Change-Id: I9e0703fccf535b1e1a2055ed917336055b7395f5
    Closes-Bug: #1858377


** Changed in: python-neutronclient
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1858377

Title:
  [neutron-dynamic-routing]The bgp_speaker_show_dragents interface
  should be modified to bgp_dragent_list_hosting_speakers

Status in neutron:
  Invalid
Status in python-neutronclient:
  Fix Released

Bug description:
  As described in [1], [2]
  List BGP speakers hosted by a Dynamic Routing Agent
  /v2.0/agents/<bgp-dragent-id>/bgp-drinstances
  neutronclient:neutron bgp-speaker-list-on-dragent XXX

  List Dynamic Routing Agents hosting a specific BGP Speaker
  /v2.0/bgp-speakers/<bgp-speaker-id>/bgp-dragents
  neutronclient:neutron bgp-dragent-list-hosting-speaker XXX

  Corresponding in openstackclient
  List BGP speakers hosted by a Dynamic Routing Agent
  openstack bgp speaker list --agent XXX

  List Dynamic Routing Agents hosting a specific BGP Speaker
  openstack bgp speaker show dragents XXX

  I think it is more appropriate to replace 'bgp_speaker_show_dragents' 
  with 'bgp_dragent_list_hosting_speakers'.

  [1] https://docs.openstack.org/neutron-dynamic-routing/latest/reference/index.html#rest-interface
  [2] https://docs.openstack.org/newton/networking-guide/config-bgp-dynamic-routing.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1858377/+subscriptions


References