代码拉取完成,页面将自动刷新
Generates the JSON configuration for the behavioral-model (bmv2).
NOTE: This repository is no longer under active development or maintenance. We recommend that you instead consider using the currently developed open source P4 tools, which are p4c and behavioral-model.
Important: the PD has been moved out of this repository and split between the bmv2 repository (for fixed part of the PD) and the new p4-build repository (build infrastructure for the auto-generated / program-dependent part of the PD).
sudo pip install -r requirements.txt
sudo pip install -r requirements_v1_1.txt
if you are interested in
compiling P4 v1.1 programssudo python setup.py install
p4c-bmv2 -h
--json
to generate a JSON representation of the P4 program--pd
to generate the PD C++ code--p4-v1.1
if your input program is a P4 v1.1 programpython setup.py build install --prefix <your_path>
[--single-version-externally-managed] --record install_files.txt
cat install_files.txt | xargs rm -rf
if you need to uninstall later
on此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。