Identifier assignment to a new switch in a switch group
First Claim
1. A switch, comprising:
- fabric circuitry configured to maintain a membership in a network of interconnected switches identified by a fabric identifier, which is assigned to the switch;
persistent storage circuitry configured to store configuration information associated with the network of interconnected switches in a database table of an object relational database constructed based on an object-oriented language and stored in a persistent storage of the switch, wherein a respective database table of the object relational database corresponds to a class, which is defined in the object-oriented language and associated with the switch; and
allocation circuitry configured to;
determine that a second switch is in a default mode indicating that the second switch is not a part of the network of interconnected switches;
in response to determining that the second switch is in the default mode, obtain a switch identifier by looking up in the database tablein the object relational database using a media access control (MAC) address of the second switch, wherein the switch identifier is for identifying the second switch in the network of interconnected switches;
construct, prior to the second switch joining the network of interconnected switches, a control message that comprises the switch identifier and the fabric identifier, and is destined to the second switch; and
determine, for the control message, an egress port of the switch corresponding to the second switch.
4 Assignments
0 Petitions
Accused Products
Abstract
One embodiment of the present invention provides a switch. The switch includes a switch group module, a persistent storage module, and an allocation module. The switch group module maintains a membership in a switch group. The switch group includes a plurality of switches and operates as a single switch. The persistent storage module stores configuration information associated with the switch group in a data structure in a local persistent storage. The allocation module determines that a second switch is in a default mode and obtains a switch identifier from the persistent storage based on a switch media access control (MAC) address of the second switch. The allocation module then constructs a control message, which is destined for the second switch and includes the switch identifier and a switch group identifier of the switch group.
-
Citations
21 Claims
-
1. A switch, comprising:
-
fabric circuitry configured to maintain a membership in a network of interconnected switches identified by a fabric identifier, which is assigned to the switch; persistent storage circuitry configured to store configuration information associated with the network of interconnected switches in a database table of an object relational database constructed based on an object-oriented language and stored in a persistent storage of the switch, wherein a respective database table of the object relational database corresponds to a class, which is defined in the object-oriented language and associated with the switch; and allocation circuitry configured to; determine that a second switch is in a default mode indicating that the second switch is not a part of the network of interconnected switches; in response to determining that the second switch is in the default mode, obtain a switch identifier by looking up in the database table in the object relational database using a media access control (MAC) address of the second switch, wherein the switch identifier is for identifying the second switch in the network of interconnected switches; construct, prior to the second switch joining the network of interconnected switches, a control message that comprises the switch identifier and the fabric identifier, and is destined to the second switch; and determine, for the control message, an egress port of the switch corresponding to the second switch. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method, comprising:
-
maintaining a membership of a first switch in a network of interconnected switches identified by a fabric identifier, which is assigned to the first switch; storing configuration information associated with the network of interconnected switches in a database table of an object relational database constructed based on an object-oriented language and stored in a persistent storage of the first switch, wherein a respective database table of the object relational database corresponds to a class, which is defined in the object-oriented language and associated with the first switch; determining that a second switch is in a default mode indicating that the second switch is not a part of the network of interconnected switches; in response to determining that the second switch is in the default mode, obtaining a switch identifier by looking up in the database table in the object relational database using a media access control (MAC) address of the second switch, wherein the switch identifier is for identifying the second switch in the network of interconnected switches; constructing, prior to the second switch joining the network of interconnected switches, a control message that comprises the switch identifier and the fabric identifier, and is destined to the second switch; and determining, for the control message, an egress port of the first switch corresponding to the second switch. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A non-transitory computer-readable storage medium storing instructions that when executed by a computing system cause the computing system to perform a method for assigning a switch identifier to a new switch, the method comprising:
-
maintaining a membership of a first switch in a network of interconnected switches identified by a fabric identifier, which is assigned to the first switch; storing configuration information associated with the network of interconnected switches in a database table of an object relational database constructed based on an object-oriented language and stored in a persistent storage of the first switch, wherein a respective database table of the object relational database corresponds to a class, which is defined in the object-oriented language and associated with the first switch; determining that a second switch is in a default mode indicating that the second switch is not part of the network of interconnected switches; in response to determining that the second switch is in the default mode, obtaining a switch identifier by looking up in the database table in the object relational database using a media access control (MAC) address of the second switch, wherein the switch identifier is for identifying the second switch in the network of interconnected switches; constructing, prior to the second switch joining the network of interconnected switches, a control message that comprises the switch identifier and the fabric identifier, and is destined to the second switch; and determining, for the control message, an egress port of the first switch corresponding to the second switch.
-
Specification