An energy saving routing algorithm for a green OSPF protocol