ソースを参照

ff-supernode role now configures radvd

Till Klocke 9 年 前
コミット
8d8499de95

+ 1 - 0
roles/ff-supernode/meta/main.yml

@@ -31,3 +31,4 @@ dependencies:
 - bird
 - bird
 - supernode-interfaces
 - supernode-interfaces
 - pdellaert.dhcp_server
 - pdellaert.dhcp_server
+- debops.radvd

+ 12 - 1
roles/ff-supernode/vars/main.yml

@@ -21,4 +21,15 @@ dhcp_classes:
   - name: MSFT
   - name: MSFT
     rule: 'match if substring(option vendor-class-identifier, 0, 4) = "MSFT"'
     rule: 'match if substring(option vendor-class-identifier, 0, 4) = "MSFT"'
     options:
     options:
-      - opt: 'dhcp-parameter-request-list = concat(option dhcp-parameter-request-list, fc)'
+      - opt: 'dhcp-parameter-request-list = concat(option dhcp-parameter-request-list, fc)'
+
+radvd_default_interface: 'bat0'
+radvd_default_interface_options: |
+  AdvSendAdvert on;
+  IgnoreIfMissing on;
+  MaxRtrAdvInterval 600;
+  MinDelayBetweenRAs 10;
+  AdvLinkMTU 1280;
+  prefix {{supernode_mesh_net_ipv6}}
+  {
+  };

+ 1 - 1
test/integration/supernode/serverspec/test_spec.rb

@@ -126,5 +126,5 @@ describe user('fritz') do
 end
 end
 
 
 describe port(67) do
 describe port(67) do
-  it { should be_listening.with('udp')}
+  it { should be_listening.with('udp') }
 end
 end