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

Remove un-supported configs from os-net-config schema

XMLWordPrintable

    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • os-net-config-18.1.0-18.0.20260202134807.bbae2ed.el9osttrunk.noarch.rpm
    • rhos-connectivity-nfv
    • None
    • Hide
      To prevent user from defining invalid network_config, the following changes are made in os-net-config schema:

      schema: remove un-supported configs in brigde, bond interfaces
      - ovs_bond cannot contain vlan members
      - linux_bond cannot contain vlan members
      - ovs_user_bridge cannot contain ovs_bond members
      Show
      To prevent user from defining invalid network_config, the following changes are made in os-net-config schema: schema: remove un-supported configs in brigde, bond interfaces - ovs_bond cannot contain vlan members - linux_bond cannot contain vlan members - ovs_user_bridge cannot contain ovs_bond members
    • Proposed
    • Low

      To Reproduce Steps to reproduce the behavior:

      1. Try to configure ovs_bond, dpdkbond directly wth member ports in os-net-config (without ovs_bridge)
      • name: bond0
          type: ovs_bond
          addresses:
            - ip_netmask: 172.31.7.16/24
          ovs_options: "bond_mode=balance-slb"
          mtu: 9000
          members:
            - mtu: 9000
              name: eno3
              type: interface
              use_dhcp: false
            - name: eno4
              mtu: 9000
              type: interface
              use_dhcp: false
      • Similarly try to configure dpdkbond
      • Apply the config
      • No Schema error is seen

      Expected behavior

      • Schema error should be noted

      Screenshots

      • Attached Image

      Additional context

      • Both for os-net-config and nmstate provider

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

                Created:
                Updated: