... | ... | @@ -2,7 +2,7 @@ |
|
|
|
|
|
## Introduction
|
|
|
|
|
|
The *Simple Switch* target is the de-facto architecture used in P4 development. The *Simple Switch* architecture is an implementation of the *abstract switch model* presented in the [*P4-14* Specification](https://p4.org/p4-spec/p4-14/v1.1.0/tex/p4.pdf) (the first version of the P4 language). The *Simple Switch* target has been implemented using the [*Behavioral Model* (BMv2)](https://github.com/p4lang/behavioral-model) library, which is a framework that allows developers to implement their own software P4 targets.
|
|
|
The *Simple Switch* target is the de-facto architecture used in P4 development. The *Simple Switch* architecture is an implementation of the *abstract switch model* presented in the [*P4-14* Specification](https://p4.org/p4-spec/p4-14/v1.1.0/tex/p4.pdf) (the first version of the P4 language). The *Simple Switch* target has been implemented using the [*Behavioral Model* (BMv2) library](https://github.com/p4lang/behavioral-model), which is a framework that allows developers to implement their own software P4 targets.
|
|
|
|
|
|
The BMv2 repository implements two different versions of the *Simple Switch* that have different control plane interfaces.
|
|
|
|
... | ... | @@ -11,7 +11,7 @@ The BMv2 repository implements two different versions of the *Simple Switch* tha |
|
|
| [`simple_switch`](https://github.com/p4lang/behavioral-model/tree/main/targets/simple_switch) | `Thrift` |
|
|
|
| [`simple_switch_grpc`](https://github.com/p4lang/behavioral-model/tree/main/targets/simple_switch_grpc) | `P4Runtime`, `Thrift` |
|
|
|
|
|
|
The targets, however, still keep the **same** data plane configuration options using P4. Therefore, the instruction given in this document, which are mostly related to data plane, are valid for both. For what concerns the control plane, the following tables shows different methods to configure the *Simple Switch*.
|
|
|
The targets, however, still keep the **same** data plane configuration options using P4. Therefore, the instruction given in this document, which are mostly related to data plane, are valid for both. For what concerns the control plane, the following table shows different methods to configure the *Simple Switch*.
|
|
|
|
|
|
| Control Plane | Methods |
|
|
|
|:--------------|:--------------------------------------------|
|
... | ... | |