[OSP16.1] Add OVS_EXTRA parameters to OVSDPDKBond in RHOSP16 templates

Solution Verified - Updated -

Issue

This is the exist compute-ovsdpdk nod OVSDPDKBond ifcfg-bond1 shown below. We would like to add the parameters listed toe the OVS_Extra settings by making changes to the deployment templates.

[root@ompute-ovsdpdk-0 network-scripts]# cat ifcfg-bond1 
# This file is autogenerated by os-net-config
DEVICE=bond1
ONBOOT=yes
HOTPLUG=no
NM_CONTROLLED=no
PEERDNS=no
DEVICETYPE=ovs
TYPE=OVSDPDKBond
OVS_BRIDGE=br-ex
BOND_IFACES="dpdk0 dpdk1"
RX_QUEUE=2
OVS_OPTIONS="bond_mode=balance-slb lacp=active"
MTU=9000
OVS_EXTRA="set Interface dpdk0 options:dpdk-devargs=0000:1b:00.1 -- set Interface dpdk1 options:dpdk-devargs=0000:1f:00.0 -- set Interface dpdk0 mtu_request=$MTU -- set Interface dpdk1 mtu_request=$MTU -- set Interface dpdk0 options:n_rxq=$RX_QUEUE -- set Interface dpdk1 options:n_rxq=$RX_QUEUE"

[root@compute-ovsdpdk-0 network-scripts]#
set interface dpdk0 other_config:pmd-rxq-affinity=0:6
set interface dpdk1 other_config:pmd-rxq-affinity=0:10
set Interface dpdk0 options:n_rxq_desc
set Interface dpdk1 options:n_txq_desc
set Interface dpdk0 options:dpdk-devargs
set Interface dpdk1 options:dpdk-devargs

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content