Skip to content

Commit

Permalink
Fixing doc example to assign a unique address per node
Browse files Browse the repository at this point in the history
  • Loading branch information
twirtgen authored and jadinm committed Jan 17, 2021
1 parent 030b6be commit fb8432f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ specific:

# 'igp_metric' parameter is set to 5 for all the links while
# the 'ip' parameter is set only for the link between 'r1' and 'r2'
self.addLinks((r1, r2, {'ip': ("2042:12::1/64", "10.12.0.1/24")}),
self.addLinks((r1, r2, {'params1': {'ip': ("2042:12::1/64", "10.12.0.1/24")},
'params2': {'ip': ("2042:12::2/64", "10.12.0.2/24")}}),
(s1, r1), (h1, s1), (s2, r2), (h2, s2),
(r2, r3), (r3, r4), (r4, r5), igp_metric=5)

Expand Down

0 comments on commit fb8432f

Please sign in to comment.