Power management framework for optical infrastructure