Multi-Interface CNI Plugin for Unified Container IP Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing container networking solutions require multiple CNI plugins for different virtual network interface types, leading to complexity and potential IP address conflicts, especially when managing diverse deployments of applications across VMs, containers, and bare metal servers.

Innovation Solution

A CNI plugin that supports multiple virtual network interface types, such as veth, SR-IOV VF, and Virtio, allowing for unified IP address management and configuration without the need for separate plugins or meta-CNI plugins, by using a common network attachment definition.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If multiple CNI plugins are used for different virtual network interface types, then support for diverse interface types is improved, but system complexity increases

Engineering Contradiction:
Improvesupport for diverse interface typesVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The CNI plugin is designed to support multiple virtual network interface types (veth, SR-IOV VF, Virtio) through a single unified plugin implementation. The plugin detects the required interface type from configuration parameters and dynamically creates the appropriate interface, eliminating the need for separate specialized plugins for each interface type.

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

2Adaptability or versatility

If multiple CNI plugins are used for different virtual network interface types, then interface type support is improved, but IP address conflict risk increases

Engineering Contradiction:
Improveinterface type supportVSAvoidIP address conflict risk
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The plugin merges IP address management functionality into a single unified process. It maintains an IP address pool and systematically allocates addresses to different interface types, ensuring that veth, SR-IOV VF, and Virtio interfaces all receive unique IP addresses from the same management system, thereby eliminating conflicts between multiple independent plugins.

Inventive Principle:
Principle #5Merging (Combining)

3Adaptability or versatility

If separate CNI plugins are used for each interface type, then specialized functionality is improved, but management difficulty increases

Engineering Contradiction:
Improvespecialized functionalityVSAvoidmanagement difficulty
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The unified CNI plugin provides specialized functionality for multiple interface types (veth, SR-IOV VF, Virtio) within a single plugin. The plugin automatically detects the required interface type from configuration parameters and creates the appropriate specialized interface, maintaining the benefits of specialized functionality while simplifying management through a single plugin interface.

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

Data Source

PatentUS12101253B2Container networking interface for multiple types of interfaces
Publication Date: 2024.09.24 JUNIPER NETWORKS INC
  • US12101253B2 patent drawing
  • US12101253B2 patent drawing
  • US12101253B2 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.