Simple switch control language with switch controller
AssigneeSun Microsystems, Inc.
InventorsPedro Vazquez, Alejandro P. Lopez, Pablo Martikian
Life of this patent
Estimating the term…
Abstract
A method for configuring a switch with a switch controller that includes obtaining a switch program, wherein the switch program comprises a plurality of instructions written using a switch control language, and executing the switch program on the switch controller, wherein executing the switch program includes for each instruction in the plurality of instructions determining a switch specified by the instruction, sending the instruction to the switch, and configuring the switch based on the instruction.
Claims20
A method for configuring a plurality of switches with a switch controller comprising:
- obtaining a switch program, wherein the switch program comprises a plurality of instructions written using a switch control language, wherein the plurality of instructions in the switch program identify the plurality of switches, and wherein the switch program defines a heterogeneous configuration of the plurality of switches;
- and
- executing the switch program on the switch controller, wherein executing the switch program during a single execution of the switch program comprises:
- identifying, from the plurality of instructions, a first switch of the plurality of switches;
- sending a first configuration to the first switch, wherein the first configuration is defined for the first switch in the plurality of instructions;
- configuring the first switch according to the first configuration;
- identifying, from the plurality of instructions, a second switch of the plurality of switches;
- sending a second configuration to the second switch, wherein the second configuration is defined for the second switch in the plurality of instructions;
- and
- configuring the second switch according to the second configuration,
- wherein the second switch is not configured with the first configuration, and
- wherein the first configuration specifies a different set of ports than the second configuration.
A computer readable medium for configuring a plurality of switches using a switch controller comprising instructions configured to:
- obtain a switch program, wherein the switch program comprises a plurality of instructions written using a switch control language, wherein the plurality of instructions in the switch program identify the plurality of switches, and wherein the switch program defines a heterogeneous configuration of the plurality of switches;
- and
- execute the switch program on the switch controller, wherein executing the switch program during a single execution of the switch program comprises:
- identifying, from the plurality of instructions, a first switch of the plurality of switches;
- sending a first configuration to the first switch, wherein the first configuration is defined for the first switch in the plurality of instructions;
- configuring the first switch according to the first configuration;
- identifying, from the plurality of instructions, a second switch of the plurality of switches;
- sending a second configuration to the second switch, wherein the second configuration is defined for the second switch in the plurality of instructions;
- and
- configuring the second switch according to the second configuration,
- wherein the second switch is not configured with the first configuration, and
- wherein the first configuration specifies a different set of ports than the second configuration.
A system for configuring a plurality of switches comprising:
- a switch program, wherein the switch program comprises a plurality of instructions written using a switch control language, wherein the plurality of instructions in the switch program identify the plurality of switches, and wherein the switch program defines a heterogeneous configuration of the plurality of switches;
- a switch controller accessing the switch program configured to execute the switch program, wherein executing the switch program during a single execution of the switch program comprises:
- identifying, from the plurality of instructions, a first switch of the plurality of switches;
- sending a first configuration to the first switch, wherein the first configuration is defined for the first switch in the plurality of instructions;
- configuring the first switch according to the first configuration;
- identifying, from the plurality of instructions, a second switch of the plurality of switches;
- sending a second configuration to the second switch, wherein the second configuration is defined for the second switch in the plurality of instructions;
- and
- configuring the second switch according to the second configuration,
- wherein the second switch is not configured with the first configuration, and
- wherein the first configuration specifies a different set of ports than the second configuration.
Dependencies are inferred from the claim text.