Releases: HapCommSys/p4sim
Releases · HapCommSys/p4sim
Improved Release of the P4sim Module for ns-3
Description:
This release includes significant enhancements to the P4sim module, making it more user-friendly and suitable for simulating programmable switches in ns-3.
Highlights:
- Added an automatic script to generate
fat-treetopologies based on a user-defined K value. - Automatically generates table entries (
IPv4 forwardingandARP) for P4 scripts based on the topology, simplifying the simulation setup. Seeexample/p4-topo-fattreefor details. - Improved example use cases and added support for the artifact repository: P4sim Artifact: Simulating Programmable Switches in ns-3.
- Apache-2.0 license has been added for open-source compliance.
Release for a better modular management
Here are some changes:
v0.1.0-custom-header
Add Custom Header.
Core modification: custom-header, custom-p2p-net-device
PS: The p4-sim can simulate the custom-defined header, check the example p4-custom-test.cc, which implements the Tunnel for the forwarding, without that tunnel, the flow will go through all the switches, with the tunnel, it will only pass the switch 0 and 1, in that case, shorten the flow path. Now we also support the CSMA channel and P2P channel by P4GlobalVar::g_channelType.