Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define vlan interfaces to be included in introspection report #821

Merged
merged 1 commit into from Apr 1, 2021

Conversation

bfournie
Copy link
Member

Define the inspector kernel parameter to include vlan interfaces
and associated IP addresses in the introspection report.

@metal3-io-bot metal3-io-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 18, 2021
@metal3-io-bot
Copy link
Contributor

Hi @bfournie. Thanks for your PR.

I'm waiting for a metal3-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hardys
Copy link
Member

hardys commented Mar 19, 2021

Thanks @bfournie - does this depend on a corresponding change to ironic-image or ironic-inspector-image?

@bfournie
Copy link
Member Author

Thanks @bfournie - does this depend on a corresponding change to ironic-image or ironic-inspector-image?

Yes, metal3-io/ironic-image#246

@dhellmann
Copy link
Member

How does the VLAN data show up? Are there just more interfaces added to the existing data structure, or do we need to do something to expand the API to hold new data?

@bfournie
Copy link
Member Author

How does the VLAN data show up? Are there just more interfaces added to the existing data structure, or do we need to do something to expand the API to hold new data?

Yes, there are just more interfaces added to the existing structure so no expansion is needed. The vlan interfaces will be named <interface.vlan> e.g. "eth0.100" and will be handled as normal interfaces.

@dhellmann
Copy link
Member

How does the VLAN data show up? Are there just more interfaces added to the existing data structure, or do we need to do something to expand the API to hold new data?

Yes, there are just more interfaces added to the existing structure so no expansion is needed. The vlan interfaces will be named <interface.vlan> e.g. "eth0.100" and will be handled as normal interfaces.

Sounds good, thanks.

@stbenjam
Copy link
Member

/ok-to-test

@metal3-io-bot metal3-io-bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 23, 2021
@dtantsur
Copy link
Member

/approve

The code looks good, but you need to fix markdown (I suspect redundant indentation).

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 23, 2021
- IRONIC_INSPECTOR_VLAN_INTERFACES - VLAN interfaces to be included in introspection report
`all` - all VLANs on all interfaces, using LLDP information (default)
interface - all VLANs on an interface, using LLDP information
interface.vlan - a particular VLAN interface, not using LLDP
Copy link
Member

Choose a reason for hiding this comment

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

Newlines are not rendered in markdown, you need at least commas between the items

@bfournie bfournie force-pushed the vlan-interfaces branch 2 times, most recently from 1a5da17 to a174066 Compare March 23, 2021 14:35
@dtantsur
Copy link
Member

/test-integration

@hardys
Copy link
Member

hardys commented Mar 31, 2021

lgtm but needs a rebase @bfournie

Define the inspector kernel parameter to include vlan interfaces
and associated IP addresses in the introspection report.
@bfournie
Copy link
Member Author

lgtm but needs a rebase @bfournie

Done

@iurygregory
Copy link
Member

/test-integration

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bfournie, dtantsur, elfosardo, iurygregory

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hardys
Copy link
Member

hardys commented Apr 1, 2021

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Apr 1, 2021
@metal3-io-bot metal3-io-bot merged commit 488efed into metal3-io:master Apr 1, 2021
@bfournie bfournie deleted the vlan-interfaces branch June 28, 2021 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants