[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Topology file format
From: |
Schanzenbach, Martin |
Subject: |
Re: Topology file format |
Date: |
Thu, 20 Feb 2020 21:51:53 +0100 |
Hi,
unfortunately I have no experience with testbed.
But the configuration should be
1:2|3 3:4|0 0:2
(fixed spacing)
I would assume that peers get connected like you said you expect them.
I am not sure why they don't; might be a bug in testbed.
In general if peer A connects to peer B you should have a bi-directional
connection (at core level).
So the output you posted does not match the configuration above.
grothoff may know more about topology and testbed though.
BR
> On 20. Feb 2020, at 19:42, Vikas Maurya <address@hidden> wrote:
>
>
> Hi,
> Reposting this question as there were no replies.
>
> If the question is too long or confusing, I have one simple question.
> In topology file format when we give
> 1:2|3 3:4| 0 0: 2
>
> Is the connection 2->1 is bidirectional or only 2 can connect to 1 and not
> vice versa?
>
> Thanks,
> Vikas Maurya
>
>
> ---------- Forwarded message ---------
> From: Vikas Maurya <address@hidden>
> Date: Sat, Feb 15, 2020 at 8:56 PM
> Subject: Topology file format
> To: <address@hidden>
>
>
> Hi,
> I was working with topology file while using gnunet-testbed-profiler. I saw
> the example given here.
>
> <snip>
> For example, the following file will result in 5 overlay connections: [2->1],
> [3->1],[4->3], [0->3], [2->0] 1:2|3 3:4| 0 0: 2
> <snip>
>
> I am having difficulty understanding how this actually works when I run
> gnunet-core to see which peers are connected.
> for example after running above example
> I saw the following result
> <snip>
> ~$ gnunet-core --config=/tmp/testbedNfC39S/0/config
> Sa Feb 15 20:47:51 2020: connection established 6YNB (timeout in
> 283 s)
> ~$ gnunet-core --config=/tmp/testbedNfC39S/1/config
> Sa Feb 15 20:47:57 2020: connection established DK5W (timeout in
> 276 s)
> Sa Feb 15 20:47:57 2020: connection established 6DEV (timeout in
> 276 s)
> Sa Feb 15 20:47:57 2020: connection established G3FK (timeout in
> 276 s)
> ~$ gnunet-core --config=/tmp/testbedNfC39S/2/config
> Sa Feb 15 20:48:01 2020: connection established 6YNB (timeout in
> 272 s)
> ~$ gnunet-core --config=/tmp/testbedNfC39S/3/config
> Sa Feb 15 20:48:05 2020: connection established 6YNB (timeout in
> 268 s)
> ~$ gnunet-core --config=/tmp/testbedNfC39S/4/config
> ~$
> <snip>
>
> These results doesn't make sense when compared to the explanation given in
> the example(why does node 4 has zero connections for example).
> so I have two questions
> 1. What exactly does the above example translates to ?
> 2. When we say 1:2|3 , does that mean the connection will be bidirectional?
>
> Thanks,
> Vikas Maurya
>
>