Skip to content

NS3 support for P4 programs using bmv2

Notifications You must be signed in to change notification settings

GianniAntichi/ns3-bmv2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  • Install bmv2
  • Install NS3 dependencies listed here
  • Follow the installation steps below:
$ cd
$ mkdir ns3-repos
$ cd ns3-repos
$ hg clone http://code.nsnam.org/ns-3-allinone
$ cd ns-3-allinone
$ ./download.py -n ns-3.29
$ cd ns-3.29/
Optional:
$ ./waf configure --enable-tests --enable-examples
$ ./waf build
  • Clone this repo and install it on top of the NS3 source files:
$ cd ~/ns3-repos/
$ git clone https://github.com/PIFO-TM/ns3-bmv2.git
$ cd ns3-bmv2/
NOTE: This next step is very hacky and should be fixed in the future ...
Update the NS3_SRC_DIR in the install.sh script then run:
$ bash install.sh
$ cd ~/ns3-repos/ns-3-allinone/ns-3.29/
$ ./waf configure --enable-tests --enable-examples
$ ./waf build

About

NS3 support for P4 programs using bmv2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 71.8%
  • P4 14.9%
  • Python 12.9%
  • Other 0.4%