Cloud infrastructure services
First Claim
1. A method comprising:
- replicating, at a logical layer of a memory device, a first state associated with a physical device, wherein the first state is stored at the physical device as a physical layer, and wherein replicating the first state associated with the physical device at the logical layer of the memory device causes the first state associated with the physical device to be stored also at the logical layer of the memory device;
executing, at the logical layer of the memory device, actions of a transaction, wherein executing the actions of the transaction at the logical layer of the memory device causes a first change, at the logical layer of the memory device, from the first state associated with the physical device to a second state;
recording, during execution of the actions of the transaction at the logical layer of the memory device, an execution log, wherein the execution log comprises the actions of the transaction executed at the logical layer of the memory device;
determining, at the logical layer of the memory device, whether the first change, at the logical layer of the memory device, from the first state associated with the physical device to the second state satisfies a constraint;
in response to determining that the first change, at the logical layer of the memory device, from the first state associated with the physical device to the second state satisfies the constraint, replaying, at the physical layer, the actions of the transaction of the execution log to execute the actions of the transaction at the physical layer and cause a second change, at the physical layer, from the first state associated with the physical device to the second state;
after successfully executing a portion of the actions of the transaction at the physical layer, determining that an action of the actions of the transaction fails at the physical layer; and
in response to determining that the action of the actions of the transaction fails at the physical layer,reversing, at the logical layer of the memory device, the second state back to the first state associated with the physical device,identifying, at the physical layer, the portion of the actions of the transaction that successfully executed, andimplementing, at the physical layer, an undo action for each of the portion of the actions of the transaction that successfully executed at the physical layer, the undo action for each of the portion of the actions of the transaction being executed in a reverse chronological order from an order of execution of the portion of the actions of the transaction at the physical layer.
1 Assignment
0 Petitions
Accused Products
Abstract
An aspect of the disclosed technology is a general-purpose platform that may be used to provide resilient cloud services. Tasks may be written as procedures in general-purpose programming languages that directly manipulate resources via control interfaces. In one implementation, resource states, such as router configurations and virtual machine states, associated with a cloud customer that provides communications services, may be abstracted into tables in a relational or semi-structured database. State changes that have been written to the database tables are automatically propagated by the database to appropriate customer physical devices, such as network elements, thereby implementing various customer network operations.
-
Citations
16 Claims
-
1. A method comprising:
-
replicating, at a logical layer of a memory device, a first state associated with a physical device, wherein the first state is stored at the physical device as a physical layer, and wherein replicating the first state associated with the physical device at the logical layer of the memory device causes the first state associated with the physical device to be stored also at the logical layer of the memory device; executing, at the logical layer of the memory device, actions of a transaction, wherein executing the actions of the transaction at the logical layer of the memory device causes a first change, at the logical layer of the memory device, from the first state associated with the physical device to a second state; recording, during execution of the actions of the transaction at the logical layer of the memory device, an execution log, wherein the execution log comprises the actions of the transaction executed at the logical layer of the memory device; determining, at the logical layer of the memory device, whether the first change, at the logical layer of the memory device, from the first state associated with the physical device to the second state satisfies a constraint; in response to determining that the first change, at the logical layer of the memory device, from the first state associated with the physical device to the second state satisfies the constraint, replaying, at the physical layer, the actions of the transaction of the execution log to execute the actions of the transaction at the physical layer and cause a second change, at the physical layer, from the first state associated with the physical device to the second state; after successfully executing a portion of the actions of the transaction at the physical layer, determining that an action of the actions of the transaction fails at the physical layer; and in response to determining that the action of the actions of the transaction fails at the physical layer, reversing, at the logical layer of the memory device, the second state back to the first state associated with the physical device, identifying, at the physical layer, the portion of the actions of the transaction that successfully executed, and implementing, at the physical layer, an undo action for each of the portion of the actions of the transaction that successfully executed at the physical layer, the undo action for each of the portion of the actions of the transaction being executed in a reverse chronological order from an order of execution of the portion of the actions of the transaction at the physical layer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer-readable medium having stored thereon a plurality of instructions that, when executed by a processor, cause the processor to perform operations comprising:
-
replicating, at a logical layer, a first state associated with a physical device, wherein the first state is stored at the physical device as a physical layer, and wherein replicating the first state associated with the physical device at the logical layer causes the first state associated with the physical device to be stored also at the logical layer of the memory device; executing, at the logical layer, actions of a transaction, wherein executing the actions of the transaction at the logical layer causes a first change, at the logical layer, from the first state associated with the physical device to a second state; recording, during execution of the actions of the transaction at the logical layer, an execution log, wherein the execution log comprises the actions of the transaction executed at the logical layer of the memory device; determining, at the logical layer, whether the first change, at the logical layer, from the first state associated with the physical device to the second state satisfies a constraint; in response to determining that the first change, at the logical layer, from the first state to the second state satisfies the constraint, replaying, at the physical layer, the actions of the transaction of the execution log to execute the actions of the transaction at the physical layer and cause a second change, at the physical layer, from the first state to the second state; after successfully executing a portion of the actions of the transaction at the physical layer, determining that an action of the actions of the transaction fails at the physical layer; and in response to determining that the action of the transaction fails at the physical layer, reversing, at the logical layer, second state back to the first state associated with the physical device, identifying, at the physical layer, the portion of the actions of the transaction that successfully executed, and implementing, at the physical layer, an undo action for each of the portion of the actions of the transaction that successfully executed at the physical layer, the undo action for each of the portion of the actions of the transaction being executed in a reverse chronological order from an order of execution of the portion of the actions of the transaction at the physical layer. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification