kolla/docker/openvswitch/openvswitch-netcontrold/extend_start.sh
Gowrishankar Muthukrishnan 1c6145f0da Provision building netcontrold container
Netcontrold container service[1] is used to load balance PMD
threads in OpenVSwitch for the dataplane traffic. This patch
enables building netcontrold container for Openstack.

[1] https://github.com/netcontrold/netcontrold-py

Change-Id: I09cb42323d36fcff49da81fc2356c9f83400d5d6
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukr@redhat.com>
2020-01-21 12:00:02 +05:30

8 lines
261 B
Bash

#!/bin/bash
if [[ ! -d "/var/log/kolla/openvswitch/netcontrold" ]]; then
mkdir -p /var/log/kolla/openvswitch/netcontrold
fi
if [[ $(stat -c %a /var/log/kolla/openvswitch/netcontrold) != "755" ]]; then
chmod 755 /var/log/kolla/openvswitch/netcontrold
fi