As far as the difference between an allegory and metaphor is worried, both of those seem to belong to the identical group of figures of speech. The rationale is the fact that the two indicate comparison. An extended metaphor, or conceit, sets up a principal topic with a number of subsidiary topics or comparisons. In the above mentioned quotation