An orientifold with fluxes and branes via T-duality