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

      None

      Show
      None
    • Yes
    • None
    • Hide

      Same as in the description. Reformulated:

      User story:

      As a user of a multi-interface node (OCP), I want to configure secondary interface  to allow forwarding sysctl (sysctl -w "net.ipv4.conf.eth2.forward=1") in order metallb LBs to work.

      Acceptance Criteria

      Given a system administrator configuring a system where default forwarding is not set (sysctl -w "net.ipv4.ip_forward=0"), 

      When they apply this nmstate config

      ---
      interfaces:
        - name: eth1
          type: ethernet
          state: up
          ipv4:
            address:
            - ip: 192.0.2.251
              prefix-length: 24
            dhcp: false
            enabled: true
            sysctl:
              # using the name defined in
              # https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt
              forwarding: true
       

      Then, the packets entering the eth1 are processed by forwarding rules (e.g. iptables-nft forward chain)

      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
      • The new feature is documented in the Nmstate official documentation and Release Note Text is filled
      Show
      Same as in the description. Reformulated: User story : As a user of a multi-interface node (OCP), I want to configure secondary interface  to allow forwarding sysctl (sysctl -w "net.ipv4.conf.eth2.forward=1") in order metallb LBs to work. Acceptance Criteria Given a system administrator configuring a system where default forwarding is not set (sysctl -w "net.ipv4.ip_forward=0"),  When they apply this nmstate config --- interfaces:   - name: eth1     type: ethernet     state: up     ipv4:       address:       - ip: 192.0.2.251         prefix-length: 24       dhcp: false       enabled: true       sysctl:         # using the name defined in         # https: //www.kernel.org/doc/Documentation/networking/ip-sysctl.txt         forwarding: true Then, the packets entering the eth1 are processed by forwarding rules (e.g. iptables-nft forward chain) 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 The new feature is documented in the Nmstate official documentation and Release Note Text is filled
    • None
    • None
    • Enhancement
    • Hide
      Feature, enhancement (describe the feature or enhancement from the user’s point of view):
      Reason (why has the feature or enhancement been implemented):
      Result (what is the current user experience):
      Show
      Feature, enhancement (describe the feature or enhancement from the user’s point of view): Reason (why has the feature or enhancement been implemented): Result (what is the current user experience):
    • Proposed
    • None

      Goal

      As a user of a multi-interface node (OCP), I want to configure secondary interface  to allow forwarding sysctl (sysctl -w "net.ipv4.conf.eth2.forward=1") in order metallb LBs to work.

      Acceptance Criteria

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • Verify X
      • Verify Y
      • Verify Z

      Given that default forwarding is not set (sysctl -w "net.ipv4.ip_forward=0")

      I apply this nmstate config

      ---
      interfaces:
        - name: eth1
          type: ethernet
          state: up
          ipv4:
            address:
            - ip: 192.0.2.251
              prefix-length: 24
            dhcp: false
            enabled: true
            sysctl:
              # using the name defined in
              # https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt
              forwarding: true
       

      and I see the packets entering the eth1 are processed by forwarding rules (e.g. iptables-nft forward chain)

              rh-ee-sfaye Stanislas Faye
              kkarampo@redhat.com Konstantinos Karampogias
              Stanislas Faye
              Network Management Team Network Management Team
              Mingyu Shi Mingyu Shi
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: