[asterisk-scf-commits] asterisk-scf/release/testsuite.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon May 14 14:51:28 CDT 2012


branch "master" has been updated
       via  0f734b5a5bcda414699fa5cec8b32b548f5a636c (commit)
      from  4a06979733b74b417628fc1f90b4cb3857c52b29 (commit)

Summary of changes:
 plugins/testsuite_remotes.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit 0f734b5a5bcda414699fa5cec8b32b548f5a636c
Author: Darren Sessions <dsessions at digium.com>
Date:   Mon May 14 14:51:18 2012 -0500

    Made sure during startup that the interfaces using shared ips are brought down. Additionally, during startup the arp caches are flushed.

diff --git a/plugins/testsuite_remotes.py b/plugins/testsuite_remotes.py
index 1ab8714..a0ea4b0 100644
--- a/plugins/testsuite_remotes.py
+++ b/plugins/testsuite_remotes.py
@@ -38,6 +38,14 @@ class plugin(Plugin.BaseClass):
                 if res['success'] == False:
                     return res
 
+            res = self.rpcBatchCmd(globalVars.remoteAgents, ('run', 'startup', 'sharedip', ['ifconfig', 'eth0:0', 'down'], True))
+            if res['success'] == False:
+                return res
+
+            res = self.rpcBatchCmd(globalVars.remoteAgents, ('run', 'startup', 'arpcache', ['arp', '-i', 'eth0', '-d', '10.19.136.15'], True))
+            if res['success'] == False:
+                return res
+
             return self.resSuccess()
 
 	elif testData['cmd'] == 'wait5':

-----------------------------------------------------------------------


-- 
asterisk-scf/release/testsuite.git



More information about the asterisk-scf-commits mailing list