kolla/docker/ovn/ovn-nb-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/ovnnb.db" ]]; then
ovsdb-tool create "/var/lib/openvswitch/ovnnb.db" "/usr/share/openvswitch/ovn-nb.ovsschema"
fi