Add tests for ARP responder config 36/55636/1
authorsrisankethu <sanketh.uppalapati@research.iiit.ac.in>
Sun, 11 Dec 2016 11:17:07 +0000 (16:47 +0530)
committerDaniel Farrell <dfarrell@redhat.com>
Wed, 19 Apr 2017 19:18:40 +0000 (15:18 -0400)
Closes https://github.com/dfarrell07/puppet-opendaylight/issues/92

Change-Id: I878d38bfcbcb4f8b7553b895d9568b718a5d1d91
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
spec/spec_helper.rb
spec/spec_helper_acceptance.rb

index 5777a1c92870c9dc1605951ed93658eb95245c44..19437bc378f7b62940d15fc6bb78322687ecc720 100644 (file)
@@ -210,7 +210,7 @@ def enable_l3_tests(options = {})
         'path'        => '/opt/opendaylight/etc/custom.properties',
         'owner'   => 'odl',
         'group'   => 'odl',
-        'content'     => /^ovsdb.l3.fwd.enabled=yes/
+        'content'     => /^ovsdb.l3.fwd.enabled=yes\novsdb.l3.arp.responder.disabled=no/
       )
     }
   elsif [false, 'no'].include? enable_l3
index 7fbe70e853bf2f91f79f317617531ba030dfe3eb..c88eb1dd573be678533ef3a770a3eb363d8b978b 100644 (file)
@@ -293,7 +293,7 @@ def enable_l3_validations(options = {})
       it { should be_file }
       it { should be_owned_by 'odl' }
       it { should be_grouped_into 'odl' }
-      its(:content) { should match /^ovsdb.l3.fwd.enabled=yes/ }
+      its(:content) { should match /^ovsdb.l3.fwd.enabled=yes\novsdb.l3.arp.responder.disabled=no/ }
     end
   elsif [false, 'no'].include? enable_l3
     # Confirm ODL OVSDB L3 is disabled