azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

az network vnet-gateway list-advertised-routes has incomplete data

Open alexjmoore opened this issue 7 years ago • 10 comments

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

alexjmoore avatar Feb 15 '19 13:02 alexjmoore

Thank you for the report @alexjmoore. This is what is directly returned from the service, so the service team will need to address this.

tjprescott avatar Feb 15 '19 14:02 tjprescott

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @sfiguemsft

ghost avatar Aug 19 '19 09:08 ghost

@radwiv

sfiguemsft avatar Aug 19 '19 15:08 sfiguemsft

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub

ghost avatar Feb 18 '20 05:02 ghost

Are there any updates on this issue please?

brett-todd avatar Mar 19 '20 21:03 brett-todd

@radwiv any update?

yonzhan avatar Mar 20 '20 12:03 yonzhan

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub.

ghost avatar Aug 04 '20 19:08 ghost

@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.

SaurabhSharma-MSFT avatar Feb 08 '22 02:02 SaurabhSharma-MSFT

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!

ghost avatar Feb 15 '22 08:02 ghost

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.

alexjmoore avatar Feb 20 '22 15:02 alexjmoore