Modelling And Analysis Of Network Resilience