Neutron v2: BGP Speaker Update and Add/Remove BGP Peer#2400
Neutron v2: BGP Speaker Update and Add/Remove BGP Peer#2400mandre merged 1 commit intogophercloud:masterfrom
Conversation
|
The OpenStack API doc for add_bgp_peer and remove_bgp_peer is wrong. I believe the correct URL can be found in the source code, check L69 and L80. |
|
I finally decided to split the PR. There are still 3 methods that's not been done for bgp/speakers. And that shall come in the next PR.
|
|
400ebc6 to
2afba35
Compare
| t.Logf("Successfully added BGP Peer %s to BGP Speaker %s", bgpPeer.Name, speakerUpdated.Name) | ||
|
|
||
| // List BGP Speakers | ||
| allPages, err := speakers.List(client).AllPages() |
There was a problem hiding this comment.
Let's not remove coverage for speakers.List().
You may want to use List() instead of Get() when checking the BGP Peer was correctly removed, and checking the speaker ID to validate we're looking at the right speaker.
|
Hi @mandre, I've updated the PR.
|
mandre
left a comment
There was a problem hiding this comment.
Great, let's restore the coverage for speakers.List() and we should be good to merge.
|
I forget to leave this test behind. I've added it back. Please check it out. |
Neutron V2: BGP Dynamic Routing
For #2208