git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ns3 linux example
[nepi.git]
/
src
/
nepi
/
resources
/
linux
/
ns3
/
ns3simulation.py
diff --git
a/src/nepi/resources/linux/ns3/ns3simulation.py
b/src/nepi/resources/linux/ns3/ns3simulation.py
index
f4a5a6b
..
69cdf18
100644
(file)
--- a/
src/nepi/resources/linux/ns3/ns3simulation.py
+++ b/
src/nepi/resources/linux/ns3/ns3simulation.py
@@
-340,6
+340,11
@@
class LinuxNS3Simulation(LinuxApplication, NS3Simulation):
def pygccxml_version(self):
return "pygccxml-1.0.0"
def pygccxml_version(self):
return "pygccxml-1.0.0"
+ @property
+ def dce_repo(self):
+ #return "http://code.nsnam.org/ns-3-dce"
+ return "http://code.nsnam.org/epmancini/ns-3-dce"
+
@property
def _build(self):
# If the user defined local sources for ns-3, we uncompress the sources
@property
def _build(self):
# If the user defined local sources for ns-3, we uncompress the sources
@@
-398,9
+403,12
@@
class LinuxNS3Simulation(LinuxApplication, NS3Simulation):
# Get dce source code
" ( "
" mkdir -p ${SRC}/dce && "
# Get dce source code
" ( "
" mkdir -p ${SRC}/dce && "
- " hg clone
http://code.nsnam.org/ns-3-dce
${SRC}/dce/ns-3-dce"
+ " hg clone
%(dce_repo)s
${SRC}/dce/ns-3-dce"
" ) "
" ) "
- )
+ ) % {
+ 'dce_repo': self.dce_repo
+ }
+
return (
# NS3 installation
return (
# NS3 installation