- rollback changes introduced by commit
c8faacd4
orbdata.append("%smaxGIOPConnectionPerServer = 500 # to allow containers parallel launch"%(prefix))
orbdata.append("%snativeCharCodeSet = UTF-8"%(prefix))
- import socket
- # get ip address on default interface (for instance eth0) to limit listening on this interface (cyber security request)
- ipDefault = socket.gethostbyname(socket.gethostname())
- orbdata.append("%sendPoint = giop:tcp:127.0.0.1:%s"%(prefix,''))
- orbdata.append("%sendPoint = giop:tcp:%s:%s"%(prefix, ipDefault,''))
-
orbdata.append("")
with open(omniorb_config, "w") as f:
ipDefault = ip.split()[-1].decode()
self.CMD = ['omniNames','-start' , aPort]
self.CMD += ['-logdir' , upath, '-errlog', upath+'/omniNameErrors.log']
- self.CMD += ['-ORBendPoint', 'giop:tcp:%s:%s'%(hname,aPort)]
if verbose(): print("... ok")
if verbose(): print("to list contexts and objects bound into the context with the specified name : showNS ")