network/

directory
v0.0.0-...-8df008b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2023 License: Apache-2.0

README

OPI Network APIs

Network API Objectives and Goals

  • OPI defines/recommends protobuf definitions that each vendor can tie into the underlying SDKs.
  • The protobuf definitions will be aligned with the API and behavioral models available from OVS DB, OpenConfig, OpenFlow, P4, etc. to allow configuration of the service.
  • OPI provides a LAN service implementation for the network capabilities that is compatible with OVS, SONiC, VPP, P4, etc.
  • OPI defines a device interface for the data services that are delivered through the the PF/VF from the xPU.
  • OPI provides a prototype client for sending gRPC, REST protobufs to the xPU for configuation and management.

Network Use Case

A basic network use case is to provide a LAN/VLAN connection between two servers to allow for container and VM applications to interoperate.

Configuration of the basic use case should consider the ability to setup OVS, SONiC, VPP, and P4 flows through the associated APIs. Additionally the ability to subscribe to telemetry services such as OTEL is desired to allow for network telemetry information to be delivered.

Network Services Offload Use Case

The basic setup can then be extended to include IPSec traffic flows for building additional services.

Network APIs to be defined

We have identified two network APIs that need to be defined

  • Configuration and Orchestration
  • Data Flow

There is possibly a third API that needs to be considered, Application API. This API supports the ability to provide service chaining between operations within the DPU which may be processed locally or be terminated into the PF/VF to the CPU complex that handles the Container/VMs.

The objective of the API definition is to identify a common programming interface; however, given the various solutions that need to be considered, there may be solution specific APIs for a particular domain.

Considerations

The nework APIs need to consider the various deployment types that can be leveraged with the DPU/IPU solution. These deployment types consist of, but are not limited to:

  • Cloud
  • Kubernetes
  • Telco

Where each of these solutions may have a common set of API operations and a solution unique set of API operations.

Mapping Diagram

Mapping models for the industry available APIs.

OpenConfig Model

The openconfig model below is a majority subset of the full OpenConfig model set. Some of the available capabilities (such as WiFi) have been left out since the current xPU cards don't currently have support for those specific operations.

Network OpenConfig Model

Directories

Path Synopsis
cloud
evpn-gw
k8s
opinetcommon
telco

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL