Skip to content

[opteadm] Add show-xde-underlay command.#1013

Open
daniel-levin wants to merge 1 commit into
masterfrom
read-xde
Open

[opteadm] Add show-xde-underlay command.#1013
daniel-levin wants to merge 1 commit into
masterfrom
read-xde

Conversation

@daniel-levin

Copy link
Copy Markdown
Contributor

This command only adds value for debugging and development purposes. It is unlikely to be of much value in the field. It is acutely useful for experimenting with different combinations of underlying macs, such as this Chelsio and Mellanox contraption:

$ opteadm show-xde-underlay
LINK    MTU   MAC
mlxcx0  9000  6C:B3:11:88:AC:84
cxgbe1  9000  00:07:43:2F:E6:C8

@daniel-levin daniel-levin requested a review from rzezeski June 30, 2026 11:15
This command only adds value for debugging and development
purposes. It is unlikely to be of much value in the field.
It is acutely useful for experimenting with different
combinations of underlying macs, such as this Chelsio and
Mellanox contraption:

$ opteadm show-xde-underlay
LINK    MTU   MAC
mlxcx0  9000  6C:B3:11:88:AC:84
cxgbe1  9000  00:07:43:2F:E6:C8

Signed-off-by: Daniel Levin <daniel.levin@oxidecomputer.com>
@daniel-levin daniel-levin requested review from FelixMcFelix and removed request for rzezeski June 30, 2026 14:30

@FelixMcFelix FelixMcFelix left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, I think this looks good! Even if the answer is what we expect 99.9% of the time, it's useful to have in the toolbox to actively confirm that underlay config is set in dev/production debugging I'd think.

Comment on lines +498 to +499
/// Tack on 'Resp' to the name to avoid polluting
/// the space of symbols in XDE-proper.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This probably shouldn't be a doc comment.

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