Bug 3026

Summary: virtual-net-device: A simpler and more canonical example for a direct network tunnel
Product: ns-3 Reporter: Richard Sailer <richard_sailer>
Component: virtual-net-deviceAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: PATCH PENDING ---    
Severity: enhancement CC: ns-bugs, tomh
Priority: P5    
Version: ns-3.29   
Hardware: All   
OS: All   
Attachments: patch, for description see above

Description Richard Sailer 2018-12-04 00:06:17 EST
Created attachment 3241 [details]
patch, for description see above

The existing virtual-net-device example created two tunnels , between 3 nodes and has a lot of details about the link layer in the head description/comments. While sophisticated, this is unnecesarry complex for an example. Additionally most users using a tunnel class might expect it adding one tunnel not two. 

This patch simplifies the example to one direct tunnel and rewrites the explanation at the top. It also adds some comments in the code and renames the example to direct-tunnel.cc

Hope it helps,
-- Richard