blob: 0142579de2fa920a44b3adff2620ed5b3208cab6 [file] [log] [blame]
akmhoque3d06e792014-05-27 16:23:20 -05001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -05002/**
Nick Gordonfeae5572017-01-13 12:06:26 -06003 * Copyright (c) 2014-2017, The University of Memphis,
Vince Lehmanc2e51f62015-01-20 15:03:11 -06004 * Regents of the University of California,
5 * Arizona Board of Regents.
akmhoque3d06e792014-05-27 16:23:20 -05006 *
7 * This file is part of NLSR (Named-data Link State Routing).
8 * See AUTHORS.md for complete list of NLSR authors and contributors.
9 *
10 * NLSR is free software: you can redistribute it and/or modify it under the terms
11 * of the GNU General Public License as published by the Free Software Foundation,
12 * either version 3 of the License, or (at your option) any later version.
13 *
14 * NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 * PURPOSE. See the GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along with
19 * NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
akmhoque3d06e792014-05-27 16:23:20 -050020 **/
Vince Lehman7c603292014-09-11 17:48:16 -050021
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -050022#include "lsdb.hpp"
Nick Gordon098aae42017-08-23 15:18:46 -050023#include "test-common.hpp"
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -050024#include "nlsr.hpp"
25#include "lsa.hpp"
26#include "name-prefix-list.hpp"
27#include <boost/test/unit_test.hpp>
28
Muktadir R Chowdhuryc69da0a2015-12-18 13:24:38 -060029#include <ndn-cxx/util/dummy-client-face.hpp>
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -050030#include <ndn-cxx/util/segment-fetcher.hpp>
Muktadir R Chowdhuryc69da0a2015-12-18 13:24:38 -060031
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -050032#include <unistd.h>
33
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -050034namespace nlsr {
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -050035namespace test {
36
dmcoomes9f936662017-03-02 10:33:09 -060037using std::shared_ptr;
Vince Lehman904c2412014-09-23 19:36:11 -050038
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -050039class LsdbFixture : public UnitTestTimeFixture
Vince Lehman904c2412014-09-23 19:36:11 -050040{
41public:
42 LsdbFixture()
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -050043 : face(m_ioService, m_keyChain)
44 , nlsr(m_ioService, m_scheduler, face, m_keyChain)
Vince Lehmanf1aa5232014-10-06 17:57:35 -050045 , lsdb(nlsr.getLsdb())
46 , conf(nlsr.getConfParameter())
Vince Lehman904c2412014-09-23 19:36:11 -050047 , REGISTER_COMMAND_PREFIX("/localhost/nfd/rib")
48 , REGISTER_VERB("register")
49 {
Vince Lehmanf1aa5232014-10-06 17:57:35 -050050 conf.setNetwork("/ndn");
51 conf.setSiteName("/site");
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -050052 conf.setRouterName("/%C1.Router/this-router");
53
54 addIdentity("/ndn/site/%C1.Router/this-router");
Vince Lehmanf1aa5232014-10-06 17:57:35 -050055
56 nlsr.initialize();
57
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -050058 advanceClocks(ndn::time::milliseconds(1), 10);
59 face.sentInterests.clear();
Ashlesh Gawande5bf83172014-09-19 12:38:17 -050060
61 INIT_LOGGERS("/tmp", "DEBUG");
Vince Lehman904c2412014-09-23 19:36:11 -050062 }
63
Vince Lehmanf1aa5232014-10-06 17:57:35 -050064 void
65 extractParameters(ndn::Interest& interest, ndn::Name::Component& verb,
66 ndn::nfd::ControlParameters& extractedParameters)
Vince Lehman904c2412014-09-23 19:36:11 -050067 {
68 const ndn::Name& name = interest.getName();
69 verb = name[REGISTER_COMMAND_PREFIX.size()];
70 const ndn::Name::Component& parameterComponent = name[REGISTER_COMMAND_PREFIX.size() + 1];
71
72 ndn::Block rawParameters = parameterComponent.blockFromValue();
73 extractedParameters.wireDecode(rawParameters);
74 }
75
Vince Lehmanf1aa5232014-10-06 17:57:35 -050076 void
77 areNamePrefixListsEqual(NamePrefixList& lhs, NamePrefixList& rhs)
78 {
Nick Gordonf14ec352017-07-24 16:09:58 -050079
Vince Lehmanf1aa5232014-10-06 17:57:35 -050080 typedef std::list<ndn::Name> NameList;
81
Nick Gordonf14ec352017-07-24 16:09:58 -050082 NameList lhsList = lhs.getNames();
83 NameList rhsList = rhs.getNames();
Vince Lehmanf1aa5232014-10-06 17:57:35 -050084
85 BOOST_REQUIRE_EQUAL(lhsList.size(), rhsList.size());
86
87 NameList::iterator i = lhsList.begin();
88 NameList::iterator j = rhsList.begin();
89
90 for (; i != lhsList.end(); ++i, ++j) {
91 BOOST_CHECK_EQUAL(*i, *j);
92 }
93 }
94
Vince Lehman904c2412014-09-23 19:36:11 -050095public:
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -050096 ndn::util::DummyClientFace face;
Vince Lehman904c2412014-09-23 19:36:11 -050097 Nlsr nlsr;
Vince Lehmanf1aa5232014-10-06 17:57:35 -050098 Lsdb& lsdb;
99 ConfParameter& conf;
100
Vince Lehman904c2412014-09-23 19:36:11 -0500101 ndn::Name REGISTER_COMMAND_PREFIX;
102 ndn::Name::Component REGISTER_VERB;
103};
104
105BOOST_FIXTURE_TEST_SUITE(TestLsdb, LsdbFixture)
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -0500106
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500107BOOST_AUTO_TEST_CASE(LsdbSync)
108{
109 ndn::Name interestName("/ndn/NLSR/LSA/cs/%C1.Router/router2/name");
110 uint64_t oldSeqNo = 82;
111
112 ndn::Name oldInterestName = interestName;
113 oldInterestName.appendNumber(oldSeqNo);
114
115 lsdb.expressInterest(oldInterestName, 0);
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -0500116 advanceClocks(ndn::time::milliseconds(1), 10);
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500117
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -0500118 std::vector<ndn::Interest>& interests = face.sentInterests;
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500119
120 BOOST_REQUIRE(interests.size() > 0);
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500121
Nick Gordon098aae42017-08-23 15:18:46 -0500122 bool didFindInterest = false;
123 for (const auto& interest : interests) {
124 didFindInterest = didFindInterest || interest.getName() == oldInterestName;
125 }
126
127 BOOST_CHECK(didFindInterest);
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500128 interests.clear();
129
Nick Gordone98480b2017-05-24 11:23:03 -0500130 ndn::time::steady_clock::TimePoint deadline = ndn::time::steady_clock::now() +
131 ndn::time::seconds(LSA_REFRESH_TIME_MAX);
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500132
133 // Simulate an LSA interest timeout
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500134 lsdb.onFetchLsaError(ndn::util::SegmentFetcher::ErrorCode::INTEREST_TIMEOUT, "Timeout",
135 oldInterestName, 0, deadline, interestName, oldSeqNo);
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -0500136 advanceClocks(ndn::time::milliseconds(1), 10);
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500137
138 BOOST_REQUIRE(interests.size() > 0);
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500139
Nick Gordon098aae42017-08-23 15:18:46 -0500140 didFindInterest = false;
141 for (const auto& interest : interests) {
142 didFindInterest = didFindInterest || interest.getName() == oldInterestName;
143 }
144
145 BOOST_CHECK(didFindInterest);
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500146 interests.clear();
147
148 uint64_t newSeqNo = 83;
149
150 ndn::Name newInterestName = interestName;
151 newInterestName.appendNumber(newSeqNo);
152
153 lsdb.expressInterest(newInterestName, 0);
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -0500154 advanceClocks(ndn::time::milliseconds(1), 10);
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500155
156 BOOST_REQUIRE(interests.size() > 0);
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500157
Nick Gordon098aae42017-08-23 15:18:46 -0500158 didFindInterest = false;
159 for (const auto& interest : interests) {
160 didFindInterest = didFindInterest || interest.getName() == newInterestName;
161 }
162
163 BOOST_CHECK(didFindInterest);
164
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500165 interests.clear();
166
167 // Simulate an LSA interest timeout where the sequence number is outdated
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500168 lsdb.onFetchLsaError(ndn::util::SegmentFetcher::ErrorCode::INTEREST_TIMEOUT, "Timeout",
169 oldInterestName, 0, deadline, interestName, oldSeqNo);
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -0500170 advanceClocks(ndn::time::milliseconds(1), 10);
Ashlesh Gawande5bf83172014-09-19 12:38:17 -0500171
172 // Interest should not be expressed for outdated sequence number
173 BOOST_CHECK_EQUAL(interests.size(), 0);
174}
175
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500176BOOST_AUTO_TEST_CASE(SegmentLsaData)
177{
178 ndn::Name router("/ndn/cs/%C1.Router/router1");
179 uint64_t seqNo = 12;
180 NamePrefixList prefixList;
181
182 NameLsa lsa(router, seqNo, ndn::time::system_clock::now(), prefixList);
183
184 ndn::Name prefix("/ndn/edu/memphis/netlab/research/nlsr/test/prefix/");
185
186 int nPrefixes = 0;
Nick Gordonfaf49f42017-10-23 12:36:28 -0500187 while (lsa.serialize().size() < ndn::MAX_NDN_PACKET_SIZE) {
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500188 lsa.addName(ndn::Name(prefix).appendNumber(++nPrefixes));
189 }
190
Nick Gordonfaf49f42017-10-23 12:36:28 -0500191 std::string expectedDataContent = lsa.serialize();
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500192 lsdb.installNameLsa(lsa);
193
Nick Gordon727d4832017-10-13 18:04:25 -0500194 ndn::Name interestName("/ndn/NLSR/LSA/cs/%C1.Router/router1/NAME/");
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500195 interestName.appendNumber(seqNo);
196
197 ndn::Interest interest(interestName);
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -0500198 lsdb.processInterest(ndn::Name(), interest);
199 advanceClocks(ndn::time::milliseconds(1), 10);
200 face.sentData.clear();
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500201
202 lsdb.processInterest(ndn::Name(), interest);
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500203
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -0500204 advanceClocks(ndn::time::milliseconds(1), 10);
205
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500206 std::string recvDataContent;
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -0500207 for (const ndn::Data& data : face.sentData)
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500208 {
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -0500209 const ndn::Block& nameBlock = data.getContent();
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500210 std::string nameBlockContent(reinterpret_cast<char const*>(nameBlock.value()),
211 nameBlock.value_size());
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -0500212
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500213 recvDataContent += nameBlockContent;
214 }
215
216 BOOST_CHECK_EQUAL(expectedDataContent, recvDataContent);
217}
218
219BOOST_AUTO_TEST_CASE(ReceiveSegmentedLsaData)
220{
221 ndn::Name router("/ndn/cs/%C1.Router/router1");
222 uint64_t seqNo = 12;
223 NamePrefixList prefixList;
224
225 NameLsa lsa(router, seqNo, ndn::time::system_clock::now(), prefixList);
226
227 ndn::Name prefix("/prefix/");
228
229 for (int nPrefixes = 0; nPrefixes < 3; ++nPrefixes) {
230 lsa.addName(ndn::Name(prefix).appendNumber(nPrefixes));
231 }
232
Nick Gordon727d4832017-10-13 18:04:25 -0500233 ndn::Name interestName("/ndn/NLSR/LSA/cs/%C1.Router/router1/NAME/");
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500234 interestName.appendNumber(seqNo);
235
Nick Gordonfaf49f42017-10-23 12:36:28 -0500236 const ndn::ConstBufferPtr bufferPtr = std::make_shared<ndn::Buffer>(lsa.serialize().c_str(),
237 lsa.serialize().size());
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500238 lsdb.afterFetchLsa(bufferPtr, interestName);
239
240 NameLsa* foundLsa = lsdb.findNameLsa(lsa.getKey());
241 BOOST_REQUIRE(foundLsa != nullptr);
242
Nick Gordonfaf49f42017-10-23 12:36:28 -0500243 BOOST_CHECK_EQUAL(foundLsa->serialize(), lsa.serialize());
Muktadir R Chowdhuryaa3b0852015-08-06 13:08:56 -0500244}
245
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -0500246BOOST_AUTO_TEST_CASE(LsdbRemoveAndExists)
247{
akmhoquec7a79b22014-05-26 08:06:19 -0500248 ndn::time::system_clock::TimePoint testTimePoint = ndn::time::system_clock::now();
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -0500249 NamePrefixList npl1;
250
akmhoquefdbddb12014-05-02 18:35:19 -0500251 std::string s1 = "name1";
252 std::string s2 = "name2";
253 std::string router1 = "router1/1";
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -0500254
255 npl1.insert(s1);
256 npl1.insert(s2);
257
Vince Lehman904c2412014-09-23 19:36:11 -0500258 //For NameLsa lsType is name.
259 //12 is seqNo, randomly generated.
260 //1800 is the default life time.
Ashlesh Gawanded02c3882015-12-29 16:02:51 -0600261 NameLsa nlsa1(ndn::Name("/router1/1"), 12, testTimePoint, npl1);
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -0500262
Muktadir Chowdhuryf04f9892017-08-20 20:42:56 -0500263 Lsdb lsdb1(nlsr, m_scheduler);
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -0500264
akmhoque31d1d4b2014-05-05 22:08:14 -0500265 lsdb1.installNameLsa(nlsa1);
Alexander Afanasyev411ee4b2014-08-16 23:17:03 -0700266 lsdb1.writeNameLsdbLog();
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -0500267
Nick Gordon727d4832017-10-13 18:04:25 -0500268 BOOST_CHECK(lsdb1.doesLsaExist(ndn::Name("/router1/1/NAME"), Lsa::Type::NAME));
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -0500269
akmhoque31d1d4b2014-05-05 22:08:14 -0500270 lsdb1.removeNameLsa(router1);
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -0500271
Nick Gordon727d4832017-10-13 18:04:25 -0500272 BOOST_CHECK_EQUAL(lsdb1.doesLsaExist(ndn::Name("/router1/1"), Lsa::Type::NAME), false);
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -0500273}
274
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500275BOOST_AUTO_TEST_CASE(InstallNameLsa)
276{
277 // Install lsa with name1 and name2
278 ndn::Name name1("/ndn/name1");
279 ndn::Name name2("/ndn/name2");
280
281 NamePrefixList prefixes;
282 prefixes.insert(name1);
283 prefixes.insert(name2);
284
285 std::string otherRouter("/ndn/site/%C1.router/other-router");
286 ndn::time::system_clock::TimePoint MAX_TIME = ndn::time::system_clock::TimePoint::max();
287
Ashlesh Gawanded02c3882015-12-29 16:02:51 -0600288 NameLsa lsa(otherRouter, 1, MAX_TIME, prefixes);
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500289 lsdb.installNameLsa(lsa);
290
Nick Gordon727d4832017-10-13 18:04:25 -0500291 BOOST_REQUIRE_EQUAL(lsdb.doesLsaExist(otherRouter + "/NAME", Lsa::Type::NAME), true);
292 NamePrefixList& nameList = lsdb.findNameLsa(otherRouter + "/NAME")->getNpl();
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500293
Nick Gordonf14ec352017-07-24 16:09:58 -0500294 BOOST_CHECK_EQUAL(nameList, prefixes);
295 //areNamePrefixListsEqual(nameList, prefixes);
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500296
297 // Add a prefix: name3
298 ndn::Name name3("/ndn/name3");
299 prefixes.insert(name3);
300
Ashlesh Gawanded02c3882015-12-29 16:02:51 -0600301 NameLsa addLsa(otherRouter, 2, MAX_TIME, prefixes);
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500302 lsdb.installNameLsa(addLsa);
303
304 // Lsa should include name1, name2, and name3
Nick Gordonf14ec352017-07-24 16:09:58 -0500305 BOOST_CHECK_EQUAL(nameList, prefixes);
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500306
307 // Remove a prefix: name2
308 prefixes.remove(name2);
309
Ashlesh Gawanded02c3882015-12-29 16:02:51 -0600310 NameLsa removeLsa(otherRouter, 3, MAX_TIME, prefixes);
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500311 lsdb.installNameLsa(removeLsa);
312
313 // Lsa should include name1 and name3
Nick Gordonf14ec352017-07-24 16:09:58 -0500314 BOOST_CHECK_EQUAL(nameList, prefixes);
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500315
316 // Add and remove a prefix: add name2, remove name3
317 prefixes.insert(name2);
318 prefixes.remove(name3);
319
Ashlesh Gawanded02c3882015-12-29 16:02:51 -0600320 NameLsa addAndRemoveLsa(otherRouter, 4, MAX_TIME, prefixes);
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500321 lsdb.installNameLsa(addAndRemoveLsa);
322
323 // Lsa should include name1 and name2
Nick Gordonf14ec352017-07-24 16:09:58 -0500324 BOOST_CHECK_EQUAL(nameList, prefixes);
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500325
326 // Install a completely new list of prefixes
327 ndn::Name name4("/ndn/name4");
328 ndn::Name name5("/ndn/name5");
329
330 NamePrefixList newPrefixes;
331 newPrefixes.insert(name4);
332 newPrefixes.insert(name5);
333
Ashlesh Gawanded02c3882015-12-29 16:02:51 -0600334 NameLsa newLsa(otherRouter, 5, MAX_TIME, newPrefixes);
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500335 lsdb.installNameLsa(newLsa);
336
337 // Lsa should include name4 and name5
Nick Gordonf14ec352017-07-24 16:09:58 -0500338 BOOST_CHECK_EQUAL(nameList, newPrefixes);
Vince Lehmanf1aa5232014-10-06 17:57:35 -0500339}
340
Nick Gordon8f23b5d2017-08-31 17:53:07 -0500341BOOST_AUTO_TEST_CASE(TestIsLsaNew)
342{
343 const ndn::Name::Component CONFIG_NETWORK{"/ndn"};
344 const ndn::Name::Component CONFIG_SITE{"/memphis"};
345 ndn::Name originRouter{};
346 originRouter.append(CONFIG_NETWORK).append(CONFIG_SITE).append("/%C1.Router/other-router");
347
348 // Install Name LSA
349 NamePrefixList nameList;
350 NameLsa lsa(originRouter, 999, ndn::time::system_clock::TimePoint::max(), nameList);
351
352 lsdb.installNameLsa(lsa);
353
354 // Lower NameLSA sequence number
355 uint64_t lowerSeqNo = 998;
Nick Gordon727d4832017-10-13 18:04:25 -0500356 BOOST_CHECK(!lsdb.isLsaNew(originRouter, Lsa::Type::NAME, lowerSeqNo));
Nick Gordon8f23b5d2017-08-31 17:53:07 -0500357
358 // Same NameLSA sequence number
359 uint64_t sameSeqNo = 999;
Nick Gordon727d4832017-10-13 18:04:25 -0500360 BOOST_CHECK(!lsdb.isLsaNew(originRouter, Lsa::Type::NAME, sameSeqNo));
Nick Gordon8f23b5d2017-08-31 17:53:07 -0500361
362 // Higher NameLSA sequence number
363 uint64_t higherSeqNo = 1000;
Nick Gordon727d4832017-10-13 18:04:25 -0500364 BOOST_CHECK(lsdb.isLsaNew(originRouter, Lsa::Type::NAME, higherSeqNo));
Nick Gordon8f23b5d2017-08-31 17:53:07 -0500365}
366
367BOOST_AUTO_TEST_SUITE_END() // TestLsdb
Ashlesh Gawandeeb582eb2014-05-01 14:25:20 -0500368
Nick Gordonfad8e252016-08-11 14:21:38 -0500369} // namespace test
370} // namespace nlsr