We study the baryogenesis via leptogenesis in a class of left-right symmetric models, in which $D$-parity is broken spontaneously. We first discuss the consequence of the spontaneous $D$-parity breaking on the neutrino masses. Than we study the lepton asymmetry in various cases, from the decay of right handed neutrino as well as the triplet Higgs, depending on their relative masses they acquire from the symmetry breaking pattern. The leptogenesis bound on their masses are discussed by taking into account the low energy neutrino oscillation data. It is shown that a TeV scale leptogenesis is viable if there are additional sources of CP violation like domain wall originating from the spontaneous $D$-parity violation.