Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-11207

[nmstate provider] [testonly] Support configuring NIC partitoning without DPDK

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None

      The EPIC https://issues.redhat.com/browse/OSPRH-2273 already covers the required PR details, so this story is for testing and verification only.

      os-net-config supports NIC partitioning without DPDK.

      A sample template is given below:

      network_config:
        -
          type: sriov_pf
          name: p2p1
          numvfs: 10
          drivers_autoprobe: true
          use_dhcp: false
          promisc: true
          ethtool_opts: "speed 1000 duplex full"
      
        -
          type: sriov_pf
          name: p2p2
          numvfs: 10
          drivers_autoprobe: true
          use_dhcp: false
          promisc: true
        - type: sriov_vf
          vfid: 5
          addresses:
          - ip_netmask: 192.0.2.1/24
          vlan_id: 100
          qos: 2
          trust: true
          ethtool_opts: "speed 1000 duplex full"
        - type: ovs_bridge
          name: br-vfs
          use_dhcp: true
          members:
          - type: sriov_vf
            device: p2p1
            vfid: 1
            vlan_id: 116
            qos: 3
      
        - type: ovs_bridge
          name: br-bond
          use_dhcp: true
          members:
          -
            type: ovs_bond
            name: bond_vf
            ovs_options: "bond_mode=active-backup"
            members:
            -
              type: sriov_vf
              device: p2p1
              vfid: 2
              vlan_id: 112
              qos: 4
              primary: true
            -
              type: sriov_vf
              device: p2p2
              vfid: 2
              vlan_id: 112
              qos: 4
      
        - type: linux_bond
          name: bond_lnx
          use_dhcp: true
          bonding_options: "mode=active-backup"
          members:
          -
            type: sriov_vf
            device: p2p1
            vfid: 3
            vlan_id: 113
            qos: 5
            primary: true
          -
            type: sriov_vf
            device: p2p2
            vfid: 3
            vlan_id: 113
            qos: 5 

              Unassigned Unassigned
              vcandapp@redhat.com Vijayalakshmi Candappa
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: