az network vnet-gateway list-advertised-routes has incomplete data
Describe the bug Executing az network vnet-gateway list-advertised-routes lists routes, but does not appear to correctly populate 'origin' or 'sourcePeer' for routes learned from other connections.
To Reproduce Have a VPN Gateway with 2 or more BGP enabled VPN connections, run:
az network vnet-gateway list-advertised-routes -g <rg> -n <name> --peer <peerip> --output json
For routes learned from other connections you will see similar to:
{
"asPath": "65525-65020",
"localAddress": "10.200.8.30",
"network": "10.5.32.0/20",
"nextHop": "10.200.8.30",
"origin": "Incomplete",
"sourcePeer": null,
"weight": 0
}
Expected behavior Expected sample should show the correct details of the route, for example:
{
"asPath": "65525-65020",
"localAddress": "10.200.8.30",
"network": "10.5.32.0/20",
"nextHop": "10.200.8.30",
"origin": "EBgp",
"sourcePeer": "10.4.28.253",
"weight": 0
}
Environment summary Installed via apt-get on Ubuntu on WSL on Windows 10 Pro 1809 17763.316 azure-cli 2.0.58 network 2.3.2
Additional context N/A
Thank you for the report @alexjmoore. This is what is directly returned from the service, so the service team will need to address this.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @sfiguemsft
@radwiv
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub
Are there any updates on this issue please?
@radwiv any update?
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub.
@alexjmoore Apologies for the delayed response. This GitHub issue has been open for quite some time. Could you please let us know if you still facing this issue and need assistance? Awaiting your reply.
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!
Unfortunately I no longer worth with Azure (I raised this some years ago), however it should be very easy to validate with someone who has a BGP based configuration to understand if it is correctly returning the right values.