主权项 |
1. A method comprising:
receiving, by a redundant power supply, configuration data specifying a priority and a power requirement for each of a plurality of ports within a plurality of network switches, wherein the redundant power supply is connected to the network switches by one or more control busses and one or more reserve power busses, each of the network switches having a respective power supply separate from the redundant power supply; receiving, by the redundant power supply, via the one or more control busses, a request from one of the network switches for reserve power from the redundant power supply in response to power from the respective power supply for the network switch failing in the network switch; in response to the request, determining, by the redundant power supply, based on the priorities and power requirements of the ports within the network switches, an amount of reserve power to grant to the network switch requesting the reserve power; outputting the amount of reserve power via at least one of the one or more reserve power busses from the redundant power supply to the network switch requesting the reserve power; and upon determining that there is insufficient reserve power available from the redundant power supply to provide the amount of reserve power granted to the network switch that requested the reserve power, outputting one or more messages from the redundant power supply by the one or more control busses to direct at least one of the switches to deactivate one or more of the ports having low priorities so that there is sufficient reserve power available from the redundant power supply to provide the amount of reserve power granted to the network switch that requested the reserve power. |