Hi,
This is a question, as you can see in the subroutine enable_unplanned_outage i have a code to calculate the total time taken by all the nodes/servers , same code i have to use in the subroutine disable_unplanned_outage. Since it is exactly same code, i was thinking of creating another subroutine which will do that for me.