Bug 3026 - virtual-net-device: A simpler and more canonical example for a direct network tunnel
virtual-net-device: A simpler and more canonical example for a direct network...
Status: PATCH PENDING
Product: ns-3
Classification: Unclassified
Component: virtual-net-device
ns-3.29
All All
: P5 enhancement
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-12-04 00:06 EST by Richard Sailer
Modified: 2018-12-04 18:05 EST (History)
2 users (show)

See Also:


Attachments
patch, for description see above (21.12 KB, patch)
2018-12-04 00:06 EST, Richard Sailer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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