Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-61613

Support truncating interface name in nmpolicy

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • nmstate
    • rhel-sst-network-management
    • ssg_networking
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Given an interface is being configured via Nmstate using a dynamic naming convention, such as {{ capture.nic.interfaces.0.name }}.100, where the total name length exceeds 15 characters, 

      When Nmstate detects that the generated interface name exceeds the Linux kernel limit of 15 characters, 

      Then Nmstate should automatically truncate the interface name to 15 characters and ensure that it is applied without errors.

      Definition of Done:

      • The implementation meets the acceptance criteria
      • Integration tests are written and pass
      • The code is part of a downstream build attached to an errata
      Show
      Given an interface is being configured via Nmstate using a dynamic naming convention, such as {{ capture.nic.interfaces.0.name }}.100, where the total name length exceeds 15 characters,  When Nmstate detects that the generated interface name exceeds the Linux kernel limit of 15 characters,  Then Nmstate should automatically truncate the interface name to 15 characters and ensure that it is applied without errors. Definition of Done: The implementation meets the acceptance criteria Integration tests are written and pass The code is part of a downstream build attached to an errata
    • None
    • None
    • None

      Currently, when using

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

      for interface name, we might exceeded the linux kernel limitation on interface name for 15 chars.

      Nmstate should provide a valid day to truncate this interface in nmpolicy.

              rh-ee-sfaye Stanislas Faye
              rh-ee-lhadad Linoy Hadad
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: