Skip to content

Commit

Permalink
Add separate variable for batman interface code
Browse files Browse the repository at this point in the history
  • Loading branch information
TobleMiner committed May 2, 2017
1 parent 0731f35 commit bec6468
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/fastd.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
define ffnord::fastd( $mesh_code,
$batman_code,
$mesh_interface, # may not be more than 10 characters
$mesh_mac,
$mesh_hop_penalty = 60, # hop penalty for batman advanced
Expand Down
2 changes: 2 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
} ->
ffnord::fastd { "fastd_${mesh_code}":
mesh_code => $mesh_code,
batman_code => $mesh_code,
mesh_interface => $mesh_code,
mesh_mac => $mesh_mac,
mesh_hop_penalty=> $mesh_hop_penalty,
Expand All @@ -86,6 +87,7 @@
} ->
ffnord::fastd { "fastd_igw_${mesh_code}":
mesh_code => "igw-${mesh_code}",
batman_code => $mesh_code,
mesh_interface => "igw-${mesh_code}",
mesh_mac => $mesh_mac,
mesh_hop_penalty=> $igw_hop_penalty,
Expand Down

0 comments on commit bec6468

Please sign in to comment.