Scalable Policy Management in Edge Virtual Bridging
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In Edge Virtual Bridging (EVB) environments, existing systems face scalability issues in managing policies due to the need for replicating TCAM rules for each virtual machine (VM), leading to inefficiencies and increased resource requirements as the number of VMs increases.
Innovation Solution
A scalable policy management system that generates a VSI-ID table and a VSI-DB table, allowing for the retrieval and application of rules based on VM type and VLAN ID, reducing the need for replicated TCAM rules and enhancing scalability by storing policy information in a non-TCAM memory device.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If TCAM rules are replicated for each virtual machine (VM), then policy enforcement accuracy is maintained, but resource requirements and system complexity increase proportionally with the number of VMs
Solution Approach 1:
The patent segments the monolithic TCAM rule replication approach into a hierarchical structure with a global policy store and per-VM policy caches. The global policy store maintains the master policy definitions, while individual VMs maintain only their specific policy instances in local caches or soft state tables, dramatically reducing the complexity growth from linear O(N) to logarithmic or constant time complexity for policy lookups.
Solution Approach 2:
The patent introduces a new dimensional approach by adding a temporal and hierarchical dimension to policy management. Instead of flat TCAM replication across all VMs, policies are organized in a multi-level hierarchy with global policies at one level and VM-specific policies at another, with time-based soft state expiration mechanisms. This dimensional transformation allows the system to handle large numbers of VMs without proportional increases in TCAM resources.
2Reliability
If TCAM rules are replicated for each virtual machine (VM), then policy enforcement is maintained, but resource requirements increase with the number of VMs
Solution Approach 1:
The patent merges the policy storage function into a centralized global policy store that is shared across all VMs, eliminating the need for separate TCAM rule copies for each VM. The global policy store maintains a single instance of each policy definition, which is then referenced or cached by individual VMs as needed, reducing total resource requirements from O(N) to O(1) for the master policy definitions.
Solution Approach 2:
The patent implements selective copying where only necessary policy portions are copied to VM-specific caches or soft state tables, rather than replicating entire TCAM rule sets. The copied data structures are maintained in soft state with expiration mechanisms, allowing the system to use minimal local copies while maintaining policy enforcement, significantly reducing the quantity of resources required compared to full replication.
3Reliability
If full TCAM rule replication is performed for each VM, then complete policy control is achieved, but scalability is limited due to linear resource consumption
Solution Approach 1:
The patent introduces dynamic policy management through soft state data structures with time-based expiration and refresh mechanisms. Policy information is dynamically cached at VM level with automatic expiration and renewal, allowing the system to scale to large numbers of VMs without requiring permanent TCAM rule copies for each one. This dynamic approach transforms the static O(N) replication model into a scalable model where resource usage does not grow linearly with VM count.
Solution Approach 2:
The patent changes the fundamental parameters of policy storage by transitioning from hard-state permanent TCAM replication to soft-state cached policies with expiration. By changing the persistence parameter from permanent to temporary with automatic renewal, the system achieves scalability while maintaining policy control. The parameter change from synchronous TCAM updates to asynchronous policy caching and expiration enables the system to handle large-scale VM environments efficiently.
Data Source
AI summary
A device includes a memory that is configured to store instructions. The device includes a processor configured to execute the instructions to: validate a message including virtual machine (VM) information using a value of a virtual station interface (VSI) type identification (ID) to perform a lookup of a fetched VSI database. The VM information for the VM includes VSI type ID and virtual local area network (VLAN) ID. The processor further generates a first table for multiple different VM types with at least a portion of information from the VSI database, retrieves an address of the VM from the first table for the multiple different VM types based on using VSI type ID and network ID, retrieves rules associated with the retrieved address of the VM and the VSI type ID from a second table including VM information, and applies the associated rules for the VM.


