Skip to content

[202506] [show/vnet] Add pretty print wrapping for local/non-tunnel routes#418

Open
miatttao wants to merge 4 commits into
Azure:202506from
miatttao:dev/mia/pretty-print-local-routes-fix-202506
Open

[202506] [show/vnet] Add pretty print wrapping for local/non-tunnel routes#418
miatttao wants to merge 4 commits into
Azure:202506from
miatttao:dev/mia/pretty-print-local-routes-fix-202506

Conversation

@miatttao

Copy link
Copy Markdown

Cherry-pick changes in [show/vnet] Add pretty print wrapping for local/non-tunnel routes

What I did

How I did it

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

miatttao added 3 commits July 22, 2026 23:53
Signed-off-by: miatao <miatao@microsoft.com>
…unnel

Signed-off-by: miatao <miatao@microsoft.com>
Signed-off-by: miatao <miatao@microsoft.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Comment thread show/vnet.py


def pretty_print_tunnel(table, r, epval, mac_addr, vni, metric, state):
endpoints = epval.split(',') if epval else []

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could just combine to epval.split(',') if epval else [""] ?

Signed-off-by: miatao <miatao@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants