From 18bc7ff237cfc62935e292a3a662f3e115aad018 Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Thu, 29 Jun 2023 18:26:18 +0200 Subject: Added new milestones for L2O project, a detail page for finished milestone 7 and corrected the description of the configuration syntax for test ng test cases. --- template/l2o/index.html.j2 | 57 ++++++++++++++++++++++++++++++++++++++++++++- template/l2o/mile7.html.j2 | 52 +++++++++++++++++++++++++++++++++++++++++ template/l2o/testng.html.j2 | 17 ++++++++------ 3 files changed, 118 insertions(+), 8 deletions(-) create mode 100644 template/l2o/mile7.html.j2 diff --git a/template/l2o/index.html.j2 b/template/l2o/index.html.j2 index 17644fde..e859f70f 100644 --- a/template/l2o/index.html.j2 +++ b/template/l2o/index.html.j2 @@ -19,6 +19,9 @@ {{ _("Milestone 4") }} {{ _("Milestone 5") }} {{ _("Milestone 6") }} + {{ _("Milestone 7") }} + {{ _("Milestone 8") }} + {{ _("Milestone 9") }}
@@ -208,7 +211,59 @@ I will finish the project with a performance analysis to optimize the selection


- +

{{ _("Milestone 7 Removing deprecated code") }}


+
+

+ {% trans %} + The code of the old transport API and of the ATS API will be removed from the code base. This is +mainly the use of the API in the Core layer, and suggesting addresses to connect to other peers in +all kinds of other GNUnet layers. Additionally all tests which rely on the removed code will be set +inactive. All usages of the old APIs will be removed. If it is not much work to replace the old with the +new API this will be done directly, otherwise there will be a TODO comment what needs to be doneto make that part of the code working again with the new code. Documentation of code that will be +deleted without replacement, because the functionality is missing in the new API. + {% endtrans %} +


+

Deliverable


+

+ {% trans %} + Removed APIs from code base, deactivated dependent tests and either documentation of what is +necessary for the integration of the new API, or if the effort for this is as high as the documentation +directly the implementation. More Details. + {% endtrans %} +


+
+ +

{{ _("Milestone 8 Make GNUnet start again") }}


+
+

+ {% trans %} + All missing implementations of the new API will be finished, necessary to make GNUnet start and +being usable for its basic functionality (DHT, GNS, CADET, FS, Messenger …). + {% endtrans %} +


+

Deliverable


+

+ {% trans %} + GNUnet running with new API. + {% endtrans %} +


+
+ +

{{ _("Milestone 9 Testing and Fixing") }}


+
+

+ {% trans %} + Because all integration tests are deactivated, and there are no resources to rewrite them at the +time being, extensive manual testing and certainly bug fixing is necessary. + {% endtrans %} +


+

Deliverable


+

+ {% trans %} + GNUnet release running with new API. + {% endtrans %} +


+
diff --git a/template/l2o/mile7.html.j2 b/template/l2o/mile7.html.j2 new file mode 100644 index 00000000..4009f1f4 --- /dev/null +++ b/template/l2o/mile7.html.j2 @@ -0,0 +1,52 @@ + {% extends "common/base.j2" %} +{% block body_content %} +
+
+ +
+

{{ _("NGI Assure project: Layer-2-Overlay") }}

+
+ +
+ +
+ +

Implementation details milestone 7


+ +
+

{{ _("Marked old transport API as deprecated") }}


+

+ {% trans %} + To make the search for the old API methods easier, those methods were marked as deprecated in their header files.

+ + See branch l20integration revision 664286d. + {% endtrans %} +

+
+
+

{{ _("Removed usage of old transport API methods") }}


+

+ {% trans %} + Removed usage of old transport API methods and exchanged them with API methods of L2O or deleted without replacement, if there is no corresponding functionality in L2O.

+ + In the process, the subsystems cadet, core, dhtu, fs and topology were touched.

+ + The blacklist and friend functionality in subsystem topology was deleted without replacement, as well as the bandwith allocation in the fs (file sharing) subsystem.

+ + In the transport subsystem itself, old API methods are still used until the code is finally removed in Milestone 9. There is a cli tool gnunet-transport in the transport subsystem which needs be rewritten partially to get infromation from L2O which can not retrieved via the old API anymore.

+ + Additionally there is a peerinfo cli tool gnunet-peerinfo, which needs to be rewritten partially too.

+ + See branch l20integration revision b78f993. + {% endtrans %} +

+
+
+
+ +
+{% endblock body_content %} diff --git a/template/l2o/testng.html.j2 b/template/l2o/testng.html.j2 index 4509b756..69905711 100644 --- a/template/l2o/testng.html.j2 +++ b/template/l2o/testng.html.j2 @@ -84,28 +84,31 @@ GlobalPluginName = "libgnunet_test_transport_plugin_cmd_", PluginName ;


KValue = EstablishConnectionToPeerViaProtocol ;

IndexOfSubnetRouter = Zero | NaturalNumber ;

-RValue = "{", ProtocolPortToOpen, ":", switch, "}" ;

+RValue = OpenTCP, "|", OpenUDP ;

SubnetPeer = "P:", SubnetIndex, ":", NodeIndexInSubnet ;

-PValue = EstablishConnectionToPeerViaProtocol, "|", { "{", NumberOfAdditionalConnections, "}" } ;

+PValue = EstablishConnectionToPeerViaProtocol, { "|", "{", NumberOfAdditionalConnections, "}" } ;

Zero = "0" ;

NaturalNumber = NumeralWithoutZero, { Numeral } ;

PluginName = Letter , { ( Letter | "_" ) } ;

IndexOfGlobalNode = Zero | NaturalNumber ;

EstablishConnectionToPeerViaProtocol = "{" "connect", ":" EstablishConnectionToPeerViaProtocolValues "}" ;

-ProtocolPortToOpen = "tcp_port" | "udp_port" ;

-switch = On | Off ;

+OpenTCP = OpenTCPNoSource | OpenTCPWithSource ;

+OpenUDP = OpenUDPNoSource | OpenUDPWithSource ;

SubnetIndex = NaturalNumber ;

NodeIndexInSubnet = NaturalNumber ;

NumeralWithoutZero = "0" | Numeral ;

Numeral = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;

Letter = "A" | "B" | ... | "Z" | "a" | ... | "z";

EstablishConnectionToPeerViaProtocolValues = EstablishConnectionToPeerViaProtocolValue { "|", EstablishConnectionToPeerViaProtocolValue } +OpenTCPNoSource = "{tcp_port:", switch, "}" ;

+OpenUDPNoSource = "{udp_port:", switch, "}" ;

+OpenTCPWithSource = "{tcp_port:", SubnetPeer, { "tcp_port", SubnetPeer } ;

+OpenTUDWithSource = "{udp_port:", SubnetPeer, { "udp_port", SubnetPeer } ;

EstablishConnectionToPeerViaProtocolValue = "{", ( GlobalPeer | SubnetPeer ), ":", Protocol, "}" ;

+switch = On | Off ;

+Protocol = "tcp" | "udp" ;

On = 1 ;

Off = 0 ;

-Protocol = "tcp" | "udp" ;

-on = "1" ;

-off = "0" ;

{% endtrans %}

-- cgit v1.2.3