Commit eedf3811 authored by Remi Mommsen's avatar Remi Mommsen
Browse files

references #136: update scripts to latest version from baseline_phosphorus_15

parent 93271da9
This diff is collapsed.
...@@ -207,7 +207,6 @@ class RU(Context): ...@@ -207,7 +207,6 @@ class RU(Context):
def addRuApplication(self,properties): def addRuApplication(self,properties):
properties.append( ('ferolPorts','unsignedInt',(self.hostinfo['frlPort1'],self.hostinfo['frlPort2'])) )
if self.role in ('EVM','EVMBU'): if self.role in ('EVM','EVMBU'):
app = Application.Application('evb::EVM',RU.instance,properties) app = Application.Application('evb::EVM',RU.instance,properties)
app.params['tid'] = '1' app.params['tid'] = '1'
...@@ -220,6 +219,24 @@ class RU(Context): ...@@ -220,6 +219,24 @@ class RU(Context):
properties.append(('useLock','boolean','false')); properties.append(('useLock','boolean','false'));
app.params['network'] = 'evb' app.params['network'] = 'evb'
inputSource = app.getInputSource() inputSource = app.getInputSource()
if inputSource == "Socket":
self.addPtBlitApplication()
self.applications.append(app)
def addPtBlitApplication(self):
maxBlockSize='0x20000'
properties = [
('maxClients','unsignedInt','64'),
('maxReceiveBuffers','unsignedInt','16'),
('maxBlockSize','unsignedInt',maxBlockSize)
]
app = Application.Application('pt::blit::Application',Context.ptInstance,properties)
Context.ptInstance += 1
app.params['frlHostname'] = self.hostinfo['frlHostname']
app.params['frlPort1'] = self.hostinfo['frlPort1']
app.params['frlPort2'] = self.hostinfo['frlPort2']
app.params['maxbulksize'] = maxBlockSize
self.applications.append(app) self.applications.append(app)
......
...@@ -366,7 +366,7 @@ class TestCase: ...@@ -366,7 +366,7 @@ class TestCase:
('dummyFedSize','unsignedInt',str(dummyFedSize)), ('dummyFedSize','unsignedInt',str(dummyFedSize)),
('dummyFedSizeStdDev','unsignedInt',str(dummyFedSizeDev)) ('dummyFedSizeStdDev','unsignedInt',str(dummyFedSizeDev))
) ) ) )
return ('fedSourceIds','unsignedInt',fedSourceIds),('ferolSources','Struct',ferolSources) return [('fedSourceIds','unsignedInt',fedSourceIds),('ferolSources','Struct',ferolSources)]
def getFiles(self,regex,app,instance=None,dir="/tmp"): def getFiles(self,regex,app,instance=None,dir="/tmp"):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment