Revert "Remove ctl socket ownership"

OVS_CTL file is required by other parts of the init
script.

This reverts commit a9693843d7.

Change-Id: Ia11dc18e0b13d5fe01918a4c7febb82b19303527
This commit is contained in:
Kudaka Poorna Rajesh 2020-08-03 15:05:38 +00:00
parent a9693843d7
commit c3fe19f259

View File

@ -19,6 +19,11 @@ set -ex
OVS_SOCKET=/run/openvswitch/db.sock
chown neutron: ${OVS_SOCKET}
# This enables the usage of 'ovs-appctl' from neutron pod.
OVS_PID=$(cat /run/openvswitch/ovs-vswitchd.pid)
OVS_CTL=/run/openvswitch/ovs-vswitchd.${OVS_PID}.ctl
chown neutron: ${OVS_CTL}
function get_dpdk_config_value {
values=$1
filter=$2