Skip to content

Commit

Permalink
Add seperate 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 1ba22ca
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 1ba22ca

Please sign in to comment.