Browse Source

We now also start batadv-vis and check in serverspec for the running process

Till Klocke 9 years ago
parent
commit
e4dc55afd2

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

@@ -35,6 +35,9 @@ radvd_default_interface_options: |
   prefix {{supernode_mesh_ipv6|ipaddr('subnet')}}
   {
   };
+  RDNSS {{supernode_mesh_ipv6|ipaddr('address')}} 
+  {
+  };
 
 radvd_default_interface_nameservers:
   - rdnss: 
@@ -42,4 +45,6 @@ radvd_default_interface_nameservers:
 
 supervisor_services:
   - name: alfred
-    command: /usr/local/sbin/alfred -i alfred0
+    command: /usr/local/sbin/alfred -i alfred0
+  - name: batadv-vis
+    command: /usr/local/sbin/batadv-vis -s

+ 4 - 0
test/integration/supernode/serverspec/batman_spec.rb

@@ -10,4 +10,8 @@ end
 
 describe process('alfred') do
   it { should be_running }
+end
+
+describe process('batadv-vis') do
+  it { should be_running }
 end

+ 4 - 0
test/integration/supernode/serverspec/network_spec.rb

@@ -30,4 +30,8 @@ end
 
 describe interface('uplink1') do
   it { should exist }
+end
+
+describe process('radvd') do
+  it { should be_running }
 end