'Makes initialization of OpenVSwitch.
:param tmpdir: Tmp directory for save openvswitch test files.
:param db_path: Path of OVS database.
:param db_socket: Path of OVS db socket.
:param db_pidfile: Path of OVS db ovsdb-server pid.
:param ovs_pidfile: Path of OVS ovs-vswitchd pid.
:param install_prefix: Path where is openvswitch installed.'

def __init__(self, tmpdir, db_path=None, db_socket=None, db_pidfile=None, ovs_pidfile=None, dbschema=None, install_prefix=None):

    super(OpenVSwitch, self).__init__(db_path, db_socket, db_pidfile, ovs_pidfile, dbschema, install_prefix)
    self.tmpdir = ('/%s/openvswitch' % tmpdir)
    try:
        os.mkdir(self.tmpdir)
    except OSError as e:
        if (e.errno != 17):
            raise
