Reliability of a Network with Heterogeneous Components