Unified CNI Plugin for Multi-Interface Container Networking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current container networking solutions require separate plugins for each type of virtual network interface, leading to complexity and potential IP address conflicts, especially when multiple interface types need to be managed within the same computing environment.

Innovation Solution

A Container Networking Interface (CNI) plugin that supports multiple types of virtual network interfaces, allowing for unified IP address management and configuration of different virtual network interfaces without the need for separate plugins or third-party managers, by using a common network attachment definition.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If separate CNI plugins are used for each virtual network interface type, then each interface type can be managed with dedicated functionality, but the overall system complexity increases and IP address conflicts may occur

Engineering Contradiction:
Improveinterface management reliabilityVSAvoidCNI plugin complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges multiple separate CNI plugins into a single unified CNI plugin that can handle multiple virtual network interface types (veth, SR-IOV VF, Virtio). This consolidation eliminates the need for separate plugins while maintaining the ability to manage different interface types through a common codebase, thereby reducing system complexity while preserving management reliability.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The unified CNI plugin implements multi-functionality by supporting multiple virtual network interface types within a single plugin. The plugin can detect the required interface type from annotations and configure accordingly, providing universal interface management capabilities that replace multiple specialized plugins and reduce the risk of IP address conflicts through centralized control.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Adaptability or versatility

If multiple CNI plugins are deployed to support different interface types, then comprehensive interface coverage is achieved, but IP address management becomes complex and conflicts increase

Engineering Contradiction:
Improveinterface type coverageVSAvoidIP address management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The unified CNI plugin provides universal support for multiple virtual network interface types (veth, SR-IOV VF, Virtio) through a single multi-functional implementation. This approach maintains comprehensive interface coverage while simplifying IP address management through centralized control, eliminating the complexities and conflict risks associated with multiple independent plugins.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The plugin implements feedback mechanisms by reading annotations from pod specifications to determine the required interface type, and by coordinating IP address allocation across different interface types. This feedback-driven approach ensures appropriate interface configuration while maintaining consistent IP address management, preventing conflicts that would arise from independent plugin operations.

Inventive Principle:
Principle #23Feedback

3Ease of operation

If a unified CNI plugin is used for multiple interface types, then management is simplified and IP conflicts are reduced, but the plugin must handle greater diversity in interface configurations

Engineering Contradiction:
Improvenetwork management easeVSAvoidplugin internal complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The unified CNI plugin internally segments the handling of different virtual network interface types through separate processing paths for veth, SR-IOV VF, and Virtio interfaces. This segmentation allows the plugin to maintain simplified external operations while managing the complexity of diverse interface configurations through organized internal structures and dedicated handling logic for each interface type.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The plugin uses annotations as an intermediary mechanism to communicate interface type requirements from pod specifications to the CNI plugin. This intermediary approach simplifies operations by providing a standardized interface for requesting different interface types, while the plugin internally manages the complexity of translating these requests into appropriate interface configurations and IP address allocations.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11743182B2Container networking interface for multiple types of interfaces
Publication Date: 2023.08.29 JUNIPER NETWORKS INC
  • US11743182B2 patent drawing
  • US11743182B2 patent drawing
  • US11743182B2 patent drawing

AI summary

In general, techniques are described for a computing device including a virtual router, a pod comprising a container, and a network plugin. The virtual router includes a virtual router agent. The network plugin includes processing circuitry configured to receive, from the virtual router agent, an indication of an interface type for a virtual network for the pod and to configure, for the pod, a virtual network interface having the interface type, the virtual network interface for communicating on the virtual network.