Skip to content

netbox2aquilon: Add support for LAG interfaces#40

Merged
drossy merged 1 commit intostfc:mainfrom
jrha:lag_interfaces
Jul 22, 2025
Merged

netbox2aquilon: Add support for LAG interfaces#40
drossy merged 1 commit intostfc:mainfrom
jrha:lag_interfaces

Conversation

@jrha
Copy link
Member

@jrha jrha commented Feb 3, 2025

LAGs or bond interface take their MAC from their child interfaces, so this requires allowing interfaces without MAC addresses as well as ensuring that the --mac argument isn't passed during their creation.

@jrha jrha added the enhancement New feature or request label Feb 3, 2025
@jrha jrha force-pushed the lag_interfaces branch 9 times, most recently from 71ecf4e to 4a16479 Compare February 3, 2025 17:27
@jrha jrha requested a review from drossy February 24, 2025 12:04
@drossy
Copy link
Member

drossy commented Jul 21, 2025

I'm not sure of the purpose of the changes to test_aquilon.py, it just seems to rearrrange the parameters for some existing tests and there doesn't seem to add a test that test the LAG support works.

@jrha
Copy link
Member Author

jrha commented Jul 21, 2025

Good catch on the missing test, thanks!
The ordering change is because --mac is now an optional parameter and so comes after the standard parameters.

@jrha jrha force-pushed the lag_interfaces branch 5 times, most recently from a4b9454 to bff8921 Compare July 22, 2025 16:10
LAGs or bond interface take their MAC from their child interfaces, so this requires allowing interfaces without MAC
addresses as well as ensuring that the --mac argument isn't passed during their creation.
@jrha jrha force-pushed the lag_interfaces branch from bff8921 to 55fb286 Compare July 22, 2025 16:11
@drossy drossy merged commit cd3b1f7 into stfc:main Jul 22, 2025
4 checks passed
@drossy
Copy link
Member

drossy commented Jul 22, 2025

LGTM

Copy link
Member

@drossy drossy left a comment

Choose a reason for hiding this comment

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

LGTM

@jrha jrha deleted the lag_interfaces branch July 22, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants