IP Library › Granted Patent US 11,283,680
Granted Patent B2
US 11,283,680 · App. 15/661,889 · Granted Mar 22, 2022

Identifying components for removal in a network configuration

Inventors: Ramana Rao Kompella (Cupertino, CA); Chandra Nagarajan (Fremont, CA); John Thomas Monk (Palo Alto, CA); Purna Mani Kumar Ghantasala (Sunnyvale, CA)
Assignee: CISCO TECHNOLOGY, INC.
H04L41/0853H04L41/0893H04L41/145H04L41/0813H04L41/12H04L45/64H04L45/7457H04L47/2441H04L49/10H04L49/1515
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,283,680
App. No.
15/661,889
Granted
Mar 22, 2022
Kind
B2
Abstract

Systems, methods, and computer-readable media analyzing memory usage in a network node. A network assurance appliance may be configured to determine a hit count for a concrete level rule implemented on a node and identify one or more components of a logical model, wherein each of the one or more components are associated with the concrete level rule. The network assurance appliance may attribute the hit count for the concrete level rule to each of the components of the logical model, determine a number of hardware level entries associated with the each of the one or more components, and generate a report comprising the one or more components of the logical model, the hit count attributed to each of the one or more components of the logical model, and the number of hardware level entries associated with the one or more components of the logical model.

Claims (55)

1. A computer-implemented method comprising:

determining, by at least one processor, a hit count for a concrete level rule implemented on a node of a network, wherein the concrete level rule was rendered from a logical model and at least controls a flow of data at the node;

identifying one or more components of the network from the logical model, wherein the one or more components of the logical model specify a logical intent for the node;

attributing the hit count for the concrete level rule to each of the one or more components;

determining a number of hardware level entries associated with the one or more components, wherein the number of hardware level entries comprises one or more TCAM entries;

calculating a number of stale TCAM entries based on a number of TCAM entries not found in a set of reference rule identifiers;

generating a report including the one or more components, the hit count, the number of hardware level entries, the number of stale TCAM entries, and a recommendation, the recommendation identifying a removal candidate of the one or more components for removal from a network configuration based at least on the hit count and the number of hardware level entries or stale TCAM entries; and

removing the removal candidate from the network configuration.

2. The computer-implemented method of claim 1 , further comprising:

identifying the concrete level rule implemented on the node by querying the node for rule identifiers for the concrete level rule.

3. The computer-implemented method of claim 1 , further comprising:

identifying a logical level intent associated with the concrete level rule, the logical level intent associated with the one or more components.

4. The computer-implemented method of claim 1 , wherein the determining of the number of hardware level entries comprises querying the node for the number of hardware level entries associated with the concrete level rule.

5. The computer-implemented method of claim 1 , wherein the determining of the hit count for the concrete level rule comprises querying the node for the hit count for the concrete level rule.

6. The computer-implemented method of claim 1 , wherein the determining of the hit count for the concrete level rule comprises querying a network controller for the hit count for the concrete level rule.

7. The computer-implemented method of claim 1 , wherein the concrete level rule comprises an access control (actrl) rule.

8. The computer-implemented method of claim 1 , wherein the one or more components comprise an endpoint and a protocol.

9. The computer-implemented method of claim 1 ,

wherein,

the one or more components include one or more contracts, and

the removal candidate is an identified one of the one or more contracts with no hits and most entries.

10. The computer-implemented method of claim 1 , wherein the node is a leaf node.

11. A system comprising:

one or more processors; and

at least one computer-readable storage medium having stored therein instructions which, when executed by the one or more processors, cause the system to:

determine a hit count for a concrete level rule implemented on a node of a network, wherein the concrete level rule was rendered from a logical model and at least controls a flow of data at the node;

identify one or more logical level components of the network from the logical model, wherein the one or more components of the logical model specify a logical intent for the node;

attribute the hit count for the concrete level rule to each of the one or more logical level components;

determine a number of hardware level entries associated with the one or more logical level components, wherein the number of hardware level entries comprises one or more TCAM entries;

calculate a number of stale TCAM entries based on a number of TCAM entries not found in a set of reference rule identifiers;

provide a report including at least one logical level component in the one or more logical level components, the hit count attributed, the number of hardware level entries, the number of stale TCAM entries, and a recommendation, the recommendation identifying the at least one logical level component as a removal candidate of the one or more components for removal from a network configuration based at least on the hit count and the number of hardware level entries or stale TCAM entries; and

remove the removal candidate from the network configuration.

12. The system of claim 11 , wherein the at least one logical level component is associated with a lowest hit count of the one or more logical level components.

13. The system of claim 12 ,

wherein,

the at least one logical level component is a contract with no hits and most entries relative to other contracts, and

the removal candidate is the contract.

14. The system of claim 11 , wherein the instructions further cause the system to identify the concrete level rule by querying a leaf node for rule identifiers for the concrete level rule.

15. The system of claim 11 , wherein the instructions further cause the system to identify a logical level intent associated with the concrete level rule, wherein the logical level intent is associated with the one or more logical level components.

16. A non-transitory computer-readable storage medium comprising instructions which, when executed by one or more processors, cause the one or more processors to:

determine a hit count for a concrete level rule implemented on a node of a network, wherein the concrete level rule was rendered from a logical model and at least controls a flow of data at the node;

identify one or more network contracts associated with the concrete level rule;

attribute the hit count to the each of one or more network contracts;

determine a number of hardware level entries associated with the one or more network contracts, wherein the number of hardware level entries comprises one or more TCAM entries;

calculate a number of stale TCAM entries based on a number of TCAM entries not found in a set of reference rule identifiers;

generate a report including the one or more network contracts, the hit count, the number of hardware level entries, the number of stale TCAM entries, and a recommendation, the recommendation identifying a removal candidate of the one or more contracts for removal from a network configuration based at least on the hit count and the number of hardware level entries or stale TCAM entries; and

remove the removal candidate from the network configuration.

17. The non-transitory computer-readable storage medium of claim 16 , wherein the instructions further cause the one or more processors to:

identify, for the concrete level rule, one or more logical level components associated with the concrete level rule; and

attribute the hit count to the one or more logical level components;

attribute the number of hardware level entries associated with each of the one or more logical level components; and

wherein the report further comprises the one or more logical level components, the hit count, and the number of hardware level entries.

18. The non-transitory computer-readable storage medium of claim 16 , wherein the instructions further cause the one or more processors to query the node for the number of hardware level entries associated with the concrete level rule.

19. The non-transitory computer-readable storage medium of claim 16 , wherein the determining of the hit count for the concrete level rule comprises querying a network controller for the hit count for the concrete level rule.

20. The non-transitory computer-readable storage medium of claim 16 , wherein the concrete level rule comprises an access control (actrl) rule.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 3, 2017
From: KOMPELLA, RAMANA RAO; NAGARAJAN, CHANDRA; MONK, JOHN THOMAS; GHANTASALA, PURNA MANI KUMAR
To: CISCO TECHNOLOGY, INC.
Reel/Frame 043764/0188 →
Continuity (2)
Provisional Application 62521629 · Jun 19, 2017
Related Publication 20180367387A1 · Dec 20, 2018
Cited By (3)
US 12,353,595 US 12,401,573 US 12,425,365