'Return OVS bridge options'

def bridgeOpts(self):

    opts = (('    other_config:datapath-id=%s' % self.dpid) + ('    fail_mode=%s' % self.failMode))
    if (not self.inband):
        opts += '    other-config:disable-in-band=true'
    if (self.datapath == 'user'):
        opts += '    datapath_type=netdev'
    if (self.protocols and (not self.isOldOVS())):
        opts += ('    protocols=%s' % self.protocols)
    if (self.stp and (self.failMode == 'standalone')):
        opts += '    stp_enable=true'
    return opts
