随笔分类 -  P4 Language

P4: The programming language of SDN Data Plane
摘要:参考: "[P4 dev] swapping p4 program using load_new_config and swap_configs commands" BMv2 运行时切换P4程序 相关演示demo: "demo" 1.在运行simple_switch时加入 参数: 2.启动运行时CL 阅读全文
posted @ 2018-04-29 17:15 Wasdns 阅读(1023) 评论(0) 推荐(1) 编辑
该文被密码保护。
posted @ 2017-11-22 20:21 Wasdns 阅读(7) 评论(0) 推荐(0) 编辑
摘要:参考: "[Question] How to make conversion between P4 14 and P4 16? " 使用p4c将P4 14代码转换为16代码: 其中, 为14程序, 为16程序。 2017.9 阅读全文
posted @ 2017-09-10 13:59 Wasdns 阅读(522) 评论(0) 推荐(0) 编辑
摘要:参考: "Github p4c README" Ubuntu14.04下 安装p4c 这里提供一个直接安装p4c的脚本: "install_p4c.sh" 。 1.git clone下来p4c: 注意, 如果没有使用 , 则需要再将submodule clone下来: 2.安装依赖: 依赖(原文): 阅读全文
posted @ 2017-09-01 14:55 Wasdns 阅读(1432) 评论(9) 推荐(0) 编辑
摘要:参考: "How to install cmake 3.2 on ubuntu 14.04?" Ubuntu14.04下升级cmake 1.通过PPA安装: 还未安装cmake: 安装过cmake: 2.通过下载安装包自己安装,从这里获取安装包: "Downloads" ,这里安装3.2.2版本。 阅读全文
posted @ 2017-09-01 14:40 Wasdns 阅读(3505) 评论(0) 推荐(0) 编辑
摘要:Reference: "dRMT, SIGCOMM 2017" 今年的SIGCOMM17会议上,Cisco System和MIT的团队针对RMT模型现有的问题,合作发表了这篇"dRMT: Disaggregated Programmable Switching",从芯片方面推近了可编程数据平面领域的 阅读全文
posted @ 2017-08-25 19:07 Wasdns 阅读(1648) 评论(0) 推荐(0) 编辑
摘要:Change the Forwarding: RMT Architecture Note on "Forwarding Metamorphosis: Fast Programmable Match Action Processing in Hardware for SDN", SIGCOMM 201 阅读全文
posted @ 2017-08-22 21:54 Wasdns 阅读(1605) 评论(0) 推荐(0) 编辑
摘要:Future Works on P4 P4 and NV: MPvisor, Hyper4, HyperV, Flex4 P4 and NFV P4 and Network Cache P4 and Forwarding with Stateful: P5(NSDI 2017), OpenState 阅读全文
posted @ 2017-07-29 22:56 Wasdns 阅读(292) 评论(0) 推荐(0) 编辑
摘要:参考: "[dpdk users] Fw: DPDK Error EAL: No free hugepages reported in hugepages 2048kB" "DPDK无法分出连续大页面(contiguous hugepages)的几个解决方法" DPDK无法分出大页面:EAL: No 阅读全文
posted @ 2017-06-05 10:34 Wasdns 阅读(8372) 评论(0) 推荐(0) 编辑
摘要:Structure What's NSP4? src source code introduction What's NSP4? NSP4是一个用于P4的网络仿真工具,旨在简化P4的环境部署和运行,将原有的指令和Runtime Commands抽象为GUI上的控件,达到轻松上手P4的目的。 详细介绍 阅读全文
posted @ 2017-06-03 08:47 Wasdns 阅读(612) 评论(0) 推荐(0) 编辑
摘要:注:此为2017年5月份的安装方法,最新的p4c安装方法见: "Ubuntu14.04下 安装p4c" 参考: "p4c README" Ubuntu 14.04 下 P4v16编译器 p4c的安装 系统要求 Ubuntu 14.04, 64bit 依赖安装 Documentation buildi 阅读全文
posted @ 2017-05-13 19:50 Wasdns 阅读(782) 评论(6) 推荐(0) 编辑
摘要:2017 P4 中国峰会 北京 本次会议依然侧重介绍P4,并highlight P4的benifit,大致分为以下几类: 1.学术界 未来网络的发展,为何提出P4技术? 未来网络和实体经济、其他学科相结合 P4是可编程网络的助力器,其作用是将网络功能、协议设计交付给广大设计者而不是传统的网络设备厂商 阅读全文
posted @ 2017-05-09 11:58 Wasdns 阅读(991) 评论(0) 推荐(0) 编辑
摘要:P4 Related Tools Installation 安装P4相关工具的步骤和说明。 本说明只适用于 Ubuntu 14.04 系统。 推荐安装的其他工具 mininet:SDN网络仿真工具 vim:编辑器 scapy:Python的一个功能十分强大的库,可以用于生成数据报 pip:Pytho 阅读全文
posted @ 2017-04-11 18:01 Wasdns 阅读(417) 评论(0) 推荐(0) 编辑
摘要:Github链接: "Exercise 2: Implementing TCP flowlet switching" P4 Tutorials Flowlet Switching 最近P4社区更新了Tutorial这个Demo的代码,今天偶然发现了它并且觉得很有学习的价值,于是简单的写一个对源码的解 阅读全文
posted @ 2017-04-10 08:50 Wasdns 阅读(2092) 评论(0) 推荐(0) 编辑
摘要:repo: "Github PI" 这个是P4社区目前正在开发的一个repo,根据它给的介绍,是一个控制平面的架构,提供了管理P4交换机的工具。接下来持续跟进它。 首先要安装相关依赖: 配置: 如果安装了bmv2,加上 ;如果要使用p4runtime.proto 则需要安装Google的protob 阅读全文
posted @ 2017-04-05 22:30 Wasdns 阅读(1192) 评论(0) 推荐(0) 编辑
摘要:《重构网络 SDN架构与实现》: "SDNLAB 《重构网络 SDN架构与实现》新书有奖试读活动 " "资源下载" 随笔 有幸拜读了李呈前辈和杨泽卫杨老师的作品《重构网络 SDN架构与实现》的前两个章节,晚辈阅读该书之后感悟和学习颇多,特此记之。由于我对章节一的印象十分深刻,所以本文主要是对章节一的 阅读全文
posted @ 2017-04-01 23:15 Wasdns 阅读(3767) 评论(0) 推荐(0) 编辑
摘要:Github "Switch" Introduction Structure: PTF: 2.cd switch Run Tests 1.In terminal 1, start the software switch: 2.In terminal 2, start the drivers: 3.I 阅读全文
posted @ 2017-02-13 23:08 Wasdns 阅读(533) 评论(0) 推荐(0) 编辑
摘要:参考: "[11]缺少动态连接库.so cannot open shared object file: No such file or directory" "Importing Issues: cannot open shared object file: No such file or dire 阅读全文
posted @ 2017-02-07 17:37 Wasdns 阅读(1350) 评论(0) 推荐(0) 编辑
摘要:Github链接: "Github P4Lang Tutorials p4v1.1" 前言 本文主要对Barefoot开源教程中的p4v1.1实例simple_router的实战步骤进行记录与阐述,希望能帮助大家进一步对P4v1.1有所认识与了解。 实验环境 1.OS:Ubuntu 14.04,64 阅读全文
posted @ 2017-01-20 22:06 Wasdns 阅读(2121) 评论(0) 推荐(0) 编辑
摘要:在执行一个发包脚本的时候,遇到了如下问题: 原因:脚本是没有问题的,但它并不是可以被python执行的可执行文件。 解决方法: 1.使用 命令执行脚本。 2.在python文件中的开头加上: 参考: "Getting Python error “from: can't read /var/mail/ 阅读全文
posted @ 2017-01-17 14:51 Wasdns 阅读(11461) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示