Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Conversation

@rajeshrah22
Copy link

Currently, the expander does not support adding a ".100" vlan id to the end of a capture referenced ethernet interface name when creating a vlan interface.

Example: "{{ capture.nic.interfaces.0.name }}.100"

Need to add code to truncate interface to 15 characters as per Linux kernel guidelines.

Resolves: https://issues.redhat.com/browse/NMT-1510

Currently, the expander does not support adding a ".100" vlan
id to the end of a capture referenced ethernet interface name when
creating a vlan interface.

Example: "{{ capture.nic.interfaces.0.name }}.100"

Resolves: https://issues.redhat.com/browse/NMT-1510

Signed-off-by: Rahul Rajesh <rajeshrah22@gmail.com>
@rajeshrah22
Copy link
Author

rajeshrah22 commented Jun 15, 2025

Submitting for early feedback. Need to add truncating logic.

@qinqon
Copy link
Member

qinqon commented Jun 16, 2025

@rajeshrah22 currently kubernetes-nmstate is not using this implementation, is using the implemtation at nmstatectl policy, refer to github.com/nmstate/nmstate to open an issue for this.

@rajeshrah22
Copy link
Author

@rajeshrah22 currently kubernetes-nmstate is not using this implementation, is using the implemtation at nmstatectl policy, refer to github.com/nmstate/nmstate to open an issue for this.

Haha, I realized it after I saw the last update was a couple years ago and then looking into kubernetes-nmstate code.

@rajeshrah22 rajeshrah22 deleted the truncate_iface_name_append_suffix branch June 17, 2025 19:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants