Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Document my last hack
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 13 Dec 2021 16:22:54 +0000 (17:22 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Mon, 13 Dec 2021 16:22:54 +0000 (17:22 +0100)
docs/source/Models.rst
docs/source/conf.py

index f0c6b52..d175a95 100644 (file)
@@ -217,6 +217,14 @@ ns-3 model, such as `examples/platforms/dogbone.xml <https://framagit.org/simgri
 Check the file  `examples/cpp/network-ns3/network-ns3.tesh <https://framagit.org/simgrid/simgrid/tree/master/examples/cpp/network-ns3/network-ns3.tesh>`_
 to see which ones are used in our regression tests.
 
+Alternatively, you can manually modify the ns-3 settings by retrieving
+the ns-3 node from any given host with the
+:cpp:func:`simgrid::get_ns3node_from_sghost` function (defined in
+``simgrid/plugins/ns3.hpp``).
+
+.. doxygenfunction:: simgrid::get_ns3node_from_sghost
+
+
 WiFi platforms
 ^^^^^^^^^^^^^^
 
index a0e3778..1b78ffd 100644 (file)
@@ -94,6 +94,9 @@ nitpick_ignore = [
   ('cpp:identifier', 'kernel::resource::NetworkAction'),
   ('cpp:identifier', 'kernel::routing'),
   ('cpp:identifier', 'kernel::routing::NetPoint'),
+  ('cpp:identifier', 'ns3'),
+  ('cpp:identifier', 'ns3::Ptr<ns3::Node>'),
+  ('cpp:identifier', 'ns3::Node'),
   ('cpp:identifier', 's4u'),
   ('cpp:identifier', 's4u_Actor'),
   ('cpp:identifier', 's4u_Barrier'),