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

Support referring bond port using MAC address

    • rhel-sst-network-management
    • ssg_networking
    • 3
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • NMT - RHEL-9.6/RHEL 10 DTM 14
    • Hide

      As a system administrator responsible for managing cluster networking configurations,

      I want to refer to bond ports using the profile name based on MAC address,

      So that I can manage network configurations without depending on kernel device names, particularly when drivers or firmware updates might alter predictable interface names, causing potential networking disruptions.

      Given a system administrator is configuring network bonding through nmstate,

      When they define ethernet interfaces by MAC addresses and refer to these interfaces using profile names within the bond configuration,

      Then nmstate should successfully set up the bond using the ethernet interfaces based solely on the provided MAC addresses, regardless of kernel device names.

      Definition of Done

      • The implementation meets the acceptance criteria
      • The unit tests and integration tests are written and passed
      • The code is part of a build attached to an errata
      Show
      As a system administrator responsible for managing cluster networking configurations, I want to refer to bond ports using the profile name based on MAC address, So that I can manage network configurations without depending on kernel device names, particularly when drivers or firmware updates might alter predictable interface names, causing potential networking disruptions. Given a system administrator is configuring network bonding through nmstate, When they define ethernet interfaces by MAC addresses and refer to these interfaces using profile names within the bond configuration, Then nmstate should successfully set up the bond using the ethernet interfaces based solely on the provided MAC addresses, regardless of kernel device names. Definition of Done The implementation meets the acceptance criteria The unit tests and integration tests are written and passed The code is part of a build attached to an errata
    • None
    • None
    • None

      In https://github.com/nmstate/nmstate/issues/2380 , OpenShift MCO team would like to use MAC address referring for bond and expecting this YAML file would work:

      interfaces: 
      - name: bond0
        type: bond
        state: up
        link-aggregation: 
          mode: balance-rr
          ports-config: 
          - profile-name: bond0-port1
          - profile-name: bond0-port2
      - name: bond0-port1
        type: ethernet
        state: up
        identifier: mac-address
        mac-address: 00:23:45:67:89:1a
      - name: bond0-port2
        type: ethernet
        state: up
        identifier: mac-address
        mac-address: 00:23:45:67:89:1b
      

              fge@redhat.com Gris Ge
              fge@redhat.com Gris Ge
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              2 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: