Bug 1481 - Openflow example does not run
Openflow example does not run
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: openflow
ns-3-dev
All All
: P5 normal
Assigned To: Blake Hurd
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-05 21:08 UTC by Josh Pelkey
Modified: 2012-08-27 03:19 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Pelkey 2012-08-05 21:08:15 UTC
I had to modify the wscript to get the openflow example to run correctly. I don't know if this is exactly the right thing to do, but I pulled it from the click wscript:

diff -r d830f5eac8ec src/openflow/wscript
--- a/src/openflow/wscript	Sat Aug 04 09:40:51 2012 -0700
+++ b/src/openflow/wscript	Sun Aug 05 21:03:12 2012 -0400
@@ -106,6 +106,8 @@
     conf.env['LIBPATH_OPENFLOW'] = [
         os.path.abspath(os.path.join(conf.env['WITH_OPENFLOW'],'build','default')),
         os.path.abspath(os.path.join(conf.env['WITH_OPENFLOW'],'lib'))]
+
+    conf.env['DEFINES_OPENFLOW'] = ['NS3_OPENFLOW']
     
     conf.env['OPENFLOW'] = conf.check_nonfatal(fragment=test_code, lib='openflow', 
                                                libpath=conf.env['LIBPATH_OPENFLOW'],
Comment 1 Tom Henderson 2012-08-27 03:19:45 UTC
changeset: e3475c94c01a