sns3 github code example

Example 1: sns3 github

$ ./bake.py check

Example 2: sns3 github

$ cd ns-3.29/contrib
$ git clone https://github.com/sns3/sns3-satellite satellite

Example 3: sns3 github

$ cd ns-3.29
$ ./waf configure -d optimized --enable-examples --enable-tests
$ ./waf build -j 6

Example 4: sns3 github

$ ./waf --help

Example 5: sns3 github

$ cd source/ns-3.29/contrib/satellite
$ git submodule update --init --recursive

Example 6: sns3 github

<configuration>
  <modules>
    <module name="sns3-satellite" type="ns-contrib" min_version="ns-3.29">
      <source type="git">
        <attribute name="url" value="https://github.com/sns3/sns3-satellite.git"/>
        <attribute name="module_directory" value="satellite"/>
      </source>
      <build type="none">
      </build>
    </module>
    <module name="sns3-stats" type="ns-contrib" min_version="ns-3.29">
      <source type="git">
        <attribute name="url" value="https://github.com/sns3/stats.git"/>
        <attribute name="module_directory" value="magister-stats"/>
      </source>
      <build type="none">
      </build>
    </module>
    <module name="sns3-traffic" type="ns-contrib" min_version="ns-3.29">
      <source type="git">
        <attribute name="url" value="https://github.com/sns3/traffic.git" />
        <attribute name="module_directory" value="traffic"/>
      </source>
      <build type="none">
      </build>
    </module>
  </modules>
</configuration>

Example 7: sns3 github

$ git clone https://gitlab.com/nsnam/ns-3-dev.git ns-3.29

Example 8: sns3 github

$ rm bakefile.xml

Example 9: sns3 github

$ ./bake.py configure -e ns-3.29 -e sns3-satellite -e sns3-stats -e sns3-traffic
$ ./bake.py deploy

Example 10: sns3 github

$ git clone https://github.com/sns3/traffic.git traffic
$ git clone https://github.com/sns3/stats.git magister-stats

Tags:

Misc Example