Skip to content

feat: introduce subinterface interface type#293

Draft
sven-rosenzweig wants to merge 1 commit intomainfrom
subinterface_crd
Draft

feat: introduce subinterface interface type#293
sven-rosenzweig wants to merge 1 commit intomainfrom
subinterface_crd

Conversation

@sven-rosenzweig
Copy link
Copy Markdown
Contributor

Add a new "subinterface" interface type to support Layer 3 subinterfaces. Layer 3 subinterfaces allow a single physical router interface to handle traffic from multiple VLANs by creating separate logical interfaces per VLAN.

Validation rules:

  • Encapsulation is allowed for subinterfaces only
  • Supported encapsulation types: 802.1Q and 802.1ad
  • Validate VLAN ID range
  • 802.1ad requires two VLAN IDs (outer and inner VLAN)
  • Subinterfaces cannot be configured as aggregate, switchport, or vlanRef

Add a new "subinterface" interface type to support Layer 3 subinterfaces.
Layer 3 subinterfaces allow a single physical router interface to handle
traffic from multiple VLANs by creating separate logical interfaces per VLAN.

Validation rules:
- Encapsulation is allowed for subinterfaces only
- Supported encapsulation types: 802.1Q and 802.1ad
- Validate VLAN ID range
- 802.1ad requires two VLAN IDs (outer and inner VLAN)
- Subinterfaces cannot be configured as aggregate, switchport, or vlanRef
@github-actions
Copy link
Copy Markdown

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/ironcore-dev/network-operator/api/core/v1alpha1 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/ironcore-dev/network-operator/api/core/v1alpha1/interface_types.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/api/core/v1alpha1/zz_generated.deepcopy.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@hardikdr hardikdr added the area/switch-automation Automation processes for network switch management and operations. label Apr 11, 2026
@hardikdr hardikdr added this to Roadmap Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/switch-automation Automation processes for network switch management and operations.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants