'Make sure Open vSwitch is installed and working'

@classmethod
def setup(cls):

    pathCheck('ovs-vsctl', moduleName='Open    vSwitch    (openvswitch.org)')
    (out, err, exitcode) = errRun('ovs-vsctl    -t    1    show')
    if exitcode:
        error((((out + err) + ('ovs-vsctl    exited    with    code    %d\n' % exitcode)) + '***    Error    connecting    to    ovs-db    with    ovs-vsctl\nMake    sure    that    Open    vSwitch    is    installed,    that    ovsdb-server    is    running,    and    that\n"ovs-vsctl    show"    works    correctly.\nYou    may    wish    to    try    "service    openvswitch-switch    start".\n'))
        exit(1)
    version = quietRun('ovs-vsctl    --version')
    cls.OVSVersion = findall('\\d+\\.\\d+', version)[0]
