26-11-2015 дата публикации
Номер: US20150339240A1
Embodiments described herein provide techniques for atomically updating a ternary content addressable memory (TCAM)-based access control list (ACL). According to one embodiment, a current version bit of the ACL is determined. The current version bit indicates that a rule in the ACL is active is the version flag in the rule matches the current version bit. Through these techniques, a first set of rules can be modified to create a second set of rules (e.g., by insertions, deletions, and replacements, etc.). 17-. (canceled)8. A system , comprising:a processor; and receiving an update to apply to the access control list;', 'identifying a first group of entries in the TCAM using an active version bit, wherein each entry in the first group has a ternary flag has a value matching a current value of the active version bit, wherein the ternary flag value indicates one of matching, not matching, or always matching the active version bit;', 'updating the ternary flag value of one or more entries in the TCAM to define a second group of entries, wherein each entry in the second group of entries has ternary flag value of either not matching or always matching; and', 'atomically performing the update by inverting the value of the active version bit., 'a memory storing a program, which, when executed on the processor, performs an operation for atomically updating an access control list stored in a ternary content addressable memory (TCAM), the operation comprising9. The system of claim 8 , wherein the operation further comprises claim 8 , updating the ternary flag in each TCAM entry of the second group to match the inverted value of the active version bit.10. The system of claim 8 , wherein the update inserts one or more entries in the TCAM claim 8 , and wherein updating the ternary flag of the one or more entries comprises:inserting one or more entries in the TCAM, wherein the ternary flag of each inserted entry has a value that does not match the value of the active version bit; ...
Подробнее