A new approach for dependability planning of network systems