move net-anim to contrib
This commit is contained in:
@@ -183,14 +183,6 @@ def build(bld):
|
||||
['csma', 'internet-stack'])
|
||||
obj.source = 'radvd-two-prefix.cc'
|
||||
|
||||
obj = bld.create_ns3_program('test-dumbbell',
|
||||
['point-to-point', 'internet-stack'])
|
||||
obj.source = 'test-dumbbell.cc'
|
||||
|
||||
obj = bld.create_ns3_program('test-grid',
|
||||
['point-to-point', 'internet-stack'])
|
||||
obj.source = 'test-grid.cc'
|
||||
|
||||
env = bld.env_of_name('default')
|
||||
if env['ENABLE_EMU']:
|
||||
obj = bld.create_ns3_program('emu-udp-echo', ['emu', 'internet-stack'])
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
#include <netinet/in.h>
|
||||
|
||||
// ns3 includes
|
||||
#include "animation-interface.h"
|
||||
#include "point-to-point-dumbbell-helper.h"
|
||||
#include "node-location.h"
|
||||
#include "ns3/animation-interface.h"
|
||||
#include "ns3/point-to-point-dumbbell-helper.h"
|
||||
#include "ns3/node-location.h"
|
||||
|
||||
#include "ns3/node-list.h"
|
||||
#include "ns3/point-to-point-net-device.h"
|
||||
@@ -16,11 +16,11 @@
|
||||
* Author: Josh Pelkey <jpelkey@gatech.edu>
|
||||
*/
|
||||
|
||||
#include "point-to-point-grid-helper.h"
|
||||
#include "animation-interface.h"
|
||||
#include "internet-stack-helper.h"
|
||||
#include "point-to-point-helper.h"
|
||||
#include "node-location.h"
|
||||
#include "ns3/point-to-point-grid-helper.h"
|
||||
#include "ns3/animation-interface.h"
|
||||
#include "ns3/internet-stack-helper.h"
|
||||
#include "ns3/point-to-point-helper.h"
|
||||
#include "ns3/node-location.h"
|
||||
#include "ns3/string.h"
|
||||
#include "ns3/vector.h"
|
||||
#include "ns3/log.h"
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "ns3/simulator-module.h"
|
||||
#include "ns3/node-module.h"
|
||||
#include "ns3/helper-module.h"
|
||||
#include "ns3/net-anim-module.h"
|
||||
|
||||
using namespace ns3;
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "ns3/simulator-module.h"
|
||||
#include "ns3/node-module.h"
|
||||
#include "ns3/helper-module.h"
|
||||
#include "ns3/net-anim-module.h"
|
||||
|
||||
using namespace ns3;
|
||||
|
||||
25
src/contrib/net-anim/wscript
Normal file
25
src/contrib/net-anim/wscript
Normal file
@@ -0,0 +1,25 @@
|
||||
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
||||
|
||||
def build(bld):
|
||||
obj = bld.create_ns3_module('net-anim')
|
||||
obj.source = [
|
||||
'point-to-point-dumbbell-helper.cc',
|
||||
'point-to-point-grid-helper.cc',
|
||||
'animation-interface.cc',
|
||||
'node-location.cc'
|
||||
]
|
||||
|
||||
headers = bld.new_task_gen('ns3header')
|
||||
headers.module = 'net-anim'
|
||||
headers.source = [
|
||||
'point-to-point-dumbbell-helper.h',
|
||||
'point-to-point-grid-helper.h',
|
||||
'animation-interface.h',
|
||||
'node-location.h'
|
||||
]
|
||||
|
||||
obj = bld.create_ns3_program('test-dumbbell', ['net-anim', 'point-to-point', 'internet-stack'])
|
||||
obj.source = 'test-dumbbell.cc'
|
||||
|
||||
obj = bld.create_ns3_program('test-grid', ['net-anim', 'point-to-point', 'internet-stack'])
|
||||
obj.source = 'test-grid.cc'
|
||||
@@ -39,10 +39,6 @@ def build(bld):
|
||||
'ipv6-list-routing-helper.cc',
|
||||
'ipv6-routing-helper.cc',
|
||||
'ping6-helper.cc',
|
||||
'animation-interface.cc',
|
||||
'node-location.cc',
|
||||
'point-to-point-dumbbell-helper.cc',
|
||||
'point-to-point-grid-helper.cc',
|
||||
'flow-monitor-helper.cc',
|
||||
]
|
||||
|
||||
@@ -87,10 +83,6 @@ def build(bld):
|
||||
'ipv6-routing-helper.h',
|
||||
'ping6-helper.h',
|
||||
'flow-monitor-helper.h',
|
||||
'animation-interface.h',
|
||||
'node-location.h',
|
||||
'point-to-point-dumbbell-helper.h',
|
||||
'point-to-point-grid-helper.h',
|
||||
]
|
||||
|
||||
env = bld.env_of_name('default')
|
||||
|
||||
@@ -45,6 +45,7 @@ all_modules = (
|
||||
'test/ns3tcp',
|
||||
'test/ns3wifi',
|
||||
'contrib/flow-monitor',
|
||||
'contrib/net-anim',
|
||||
)
|
||||
|
||||
def set_options(opt):
|
||||
|
||||
Reference in New Issue
Block a user