Moving around path weight tagging. Now CcnxFace owns metric field, which is used for tagging.
Correcting bugs in blackhole-sprint scenario. This time it should be
the right one:
- instead of a hijacker app, all faces on hijacked node are turned down
- there was a trick with RTT estimation (when batch, it is necessary to
reset history upon a new batch)
- instead of random runs, trying all possible combinations of
producer/hijacker
diff --git a/model/ccnx-path-stretch-tag.cc b/model/ccnx-path-stretch-tag.cc
index c8fc6dd..31adca1 100644
--- a/model/ccnx-path-stretch-tag.cc
+++ b/model/ccnx-path-stretch-tag.cc
@@ -105,11 +105,12 @@
if (info != m_infos.begin ()) os << ",";
NS_ASSERT (info->node != 0);
- std::string name = Names::FindName (info->node);
- if (!name.empty ())
- os << name;
- else
- os << info->node->GetId ();
+ os << info->node->GetId () << "(" << Names::FindName (info->node) << ")";
+ // std::string name = Names::FindName (info->node);
+ // if (!name.empty ())
+ // os << name;
+ // else
+ // os << info->node->GetId ();
os << ":" << info->weight;
}
}