kolla/docker/ovn/ovn-sb-db-server/extend_start.sh
Numan Siddique 367a03284a Support OVN docker images
This patch adds kolla images for
 - ovn-northd
 - ovn-controller
 - ovsdb-server for Northbound DB
 - ovsdb-server for Southbound DB

Change-Id: I97f82395cb14108bdff57543e4847a5ece17fe69
Implements: blueprint ovn-controller-neutron
Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
2017-06-02 17:47:10 +05:30

7 lines
192 B
Bash

#!/bin/bash
mkdir -p "/run/openvswitch"
if [[ ! -e "/var/lib/openvswitch/ovnsb.db" ]]; then
ovsdb-tool create "/var/lib/openvswitch/ovnsb.db" "/usr/share/openvswitch/ovn-sb.ovsschema"
fi