'Create a vxlan and bridge unless they already exist.'

def ensure_vxlan_bridge(self, network_id, segmentation_id):

    interface = self.ensure_vxlan(segmentation_id)
    if (not interface):
        LOG.error(_LE('Failed    creating    vxlan    interface    for    %(segmentation_id)s'), {segmentation_id: segmentation_id})
        return
    bridge_name = self.get_bridge_name(network_id)
    self.ensure_bridge(bridge_name, interface, update_interface=False)
    return interface
