System and method for providing a transactional command line interface (CLI) in a network environment
First Claim
Patent Images
1. A method implemented in a network environment on a network switch of a subnet of the network environment, the network switch comprising a processor coupled with a memory for supporting an upgrade of the subnet by a user of the network environment, the method comprising:
- providing a subnet manager (SM) executing on the switch performing probing and discovery operations in the subnet using a current management key (M_Key) protecting the subnet from unauthorized transactions not having the current M_Key;
providing a configuration daemon (CD) associated with the SM, the CD selectively updating the current M_Key;
providing a transactional command line interface (CLI) operating on the network switch,wherein the transactional CLI allows an associated user to interact with the CD of the network environment using a transaction received from the associated user via the transactional CLI to update the subnet of the network environment associated with the network switch;
receiving via the transactional CLI from the associated user an update transaction comprising a new M_Key;
responsive to receiving the update transaction from the associated user via the transactional CLI;
grouping, by the network switch, one or more operations in the update transaction as sets of one or more similar operations;
ensuring, through a transaction start command carried out by the network switch, that no conflicting operations are included in each of the sets; and
selectively implementing, by the network switch and after the ensuring, the sets as sub-transactions of the update transaction, the selectively implementing the sets as the sub-transactions of the update transaction comprising updating by the CD the current M_Key to the new M_Key in a first sub-transaction and deleting the current M_Key in a second sub-transaction implemented after the first sub-transaction.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method can support subnet management in a network environment. A network switch in the network environment can provide a transactional interface, wherein the transactional interface allows a user to interact with the network environment using a transaction. The transactional interface allows a user to group one or more operations in the transaction, and ensures that no conflicting operations are included in the transaction.
75 Citations
16 Claims
-
1. A method implemented in a network environment on a network switch of a subnet of the network environment, the network switch comprising a processor coupled with a memory for supporting an upgrade of the subnet by a user of the network environment, the method comprising:
-
providing a subnet manager (SM) executing on the switch performing probing and discovery operations in the subnet using a current management key (M_Key) protecting the subnet from unauthorized transactions not having the current M_Key; providing a configuration daemon (CD) associated with the SM, the CD selectively updating the current M_Key; providing a transactional command line interface (CLI) operating on the network switch, wherein the transactional CLI allows an associated user to interact with the CD of the network environment using a transaction received from the associated user via the transactional CLI to update the subnet of the network environment associated with the network switch; receiving via the transactional CLI from the associated user an update transaction comprising a new M_Key; responsive to receiving the update transaction from the associated user via the transactional CLI; grouping, by the network switch, one or more operations in the update transaction as sets of one or more similar operations; ensuring, through a transaction start command carried out by the network switch, that no conflicting operations are included in each of the sets; and selectively implementing, by the network switch and after the ensuring, the sets as sub-transactions of the update transaction, the selectively implementing the sets as the sub-transactions of the update transaction comprising updating by the CD the current M_Key to the new M_Key in a first sub-transaction and deleting the current M_Key in a second sub-transaction implemented after the first sub-transaction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for supporting network management in a network environment, the system comprising:
-
one or more microprocessors; a network switch in a subnet of the network environment, the network switch running on the one or more microprocessors, wherein the network switch operates to; provide a subnet manager (SM) executing on the switch performing probing and discovery operations in the subnet using a current management key (M_Key) protecting the subnet from unauthorized transactions not having the current M_Key; provide a configuration daemon (CD) associated with the SM, the CD selectively updating the current M_Key; provide a transactional command line interface (CLI), wherein the transactional CLI allows an associated user to interact with the CD of the network environment using a transaction received from the associated user via the transactional CLI to update the subnet of the network environment associated with the network switch; receive via the transactional CLI from the associated user an update transaction comprising a new M_Key; responsive to receiving the update transaction from the associated user via the transactional CLI; group one or more operations in the update transaction as sets of one or more similar operations; ensure, through a transaction start command, that no conflicting operations are included in each of the sets; and selectively implement, after the ensuring, the sets as sub-transactions of the update transaction, the selectively implement the sets as the sub-transactions of the update transaction comprising updating by the CD the current M_Key to the new M_Key in a first sub-transaction and deleting the current M_Key in a second sub-transaction implemented after the first sub-transaction. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory machine readable storage medium having instructions stored thereon that when executed cause a network switch operating in a subnet of a network environment to perform steps in the network environment comprising:
-
providing a subnet manager (SM) executing on the switch performing probing and discovery operations in the subnet using a current management key (M_Key) protecting the subnet from unauthorized transactions not having the current M_Key; providing a configuration daemon (CD) associated with the SM, the CD selectively updating the current M_Key; providing a transactional command line interface (CLI) operating on the network switch, wherein the transactional CLI allows an associated user to interact with the Cd of the network environment using a transaction received from the user via the transactional CLI to update the subnet of the network environment associated with the network switch; receiving via the transactional CLI from the associated user an update transaction comprising a new M_Key; responsive to receiving the update transaction from the associated user via the transactional CLI; grouping, by the network switch one or more operations in the update transaction as sets of one or more similar operations; ensuring, through a transaction start command carried out by the network switch, that no conflicting operations are included in each of the sets; and selectively implementing, by the network switch and after the ensuring, the sets as sub-transactions of the update transaction, the selectively implementing the sets as the sub-transactions of the update transaction comprising updating by the CD the current M_Key to the new M_Key in a first sub-transaction and deleting the current M_Key in a second sub-transaction implemented after the first sub-transaction.
-
Specification