Merge "Remove delete port commands in ovs agent init"
This commit is contained in:
commit
b0de771314
@ -197,8 +197,6 @@ function process_dpdk_nics {
|
|||||||
|
|
||||||
bind_dpdk_nic ${target_driver} "${dpdk_pci_id}"
|
bind_dpdk_nic ${target_driver} "${dpdk_pci_id}"
|
||||||
|
|
||||||
ovs-vsctl --db=unix:${OVS_SOCKET} --if-exists del-port ${port_name}
|
|
||||||
|
|
||||||
dpdk_options=""
|
dpdk_options=""
|
||||||
ofport_request=$(get_dpdk_config_value ${nic} '.ofport_request')
|
ofport_request=$(get_dpdk_config_value ${nic} '.ofport_request')
|
||||||
if [ -n "${ofport_request}" ]; then
|
if [ -n "${ofport_request}" ]; then
|
||||||
@ -331,7 +329,6 @@ function process_dpdk_bonds {
|
|||||||
fi
|
fi
|
||||||
done < /tmp/nics_array
|
done < /tmp/nics_array
|
||||||
|
|
||||||
ovs-vsctl --db=unix:${OVS_SOCKET} --if-exists del-port "${bond_name}"
|
|
||||||
ovs-vsctl --db=unix:${OVS_SOCKET} --may-exist add-bond "${dpdk_bridge}" "${bond_name}" \
|
ovs-vsctl --db=unix:${OVS_SOCKET} --may-exist add-bond "${dpdk_bridge}" "${bond_name}" \
|
||||||
${nic_name_str} \
|
${nic_name_str} \
|
||||||
"${ovs_options}" ${dev_args_str}
|
"${ovs_options}" ${dev_args_str}
|
||||||
|
Loading…
Reference in New Issue
Block a user