Guest User

Untitled

a guest
Sep 4th, 2018
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. cat /etc/ots_server.ini
  2. # ***** BEGIN LICENCE BLOCK *****
  3. # This file is part of OTS
  4. #
  5. # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
  6. #
  7. # Contact: Mikko Makinen <mikko.al.makinen@nokia.com>
  8. #
  9. # This library is free software; you can redistribute it and/or
  10. # modify it under the terms of the GNU Lesser General Public License
  11. # version 2.1 as published by the Free Software Foundation.
  12. #
  13. # This library is distributed in the hope that it will be useful, but
  14. # WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. # Lesser General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Lesser General Public
  19. # License along with this library; if not, write to the Free Software
  20. # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  21. # 02110-1301 USA
  22. # ***** END LICENCE BLOCK *****
  23.  
  24.  
  25. [ots.results]
  26. # Path to result xml schema file. (From test-definition package)
  27. results_xsd = /usr/share/test-definition/testdefinition-results.xsd
  28.  
  29.  
  30. ##############################
  31. # Default values for testruns
  32. #
  33.  
  34. [swproducts] # SW products can be defined by adding new sub sections here
  35.  
  36.  
  37. # Example SW product
  38.  
  39. [[example_sw_product]] # Name of the sw_product
  40.  
  41. timeout = 60 # Testrun timeout
  42.  
  43. distribution_model = default # Package distribution model
  44.  
  45. email = on # result email sending
  46.  
  47. email-attachments = off # if on, all result files will be included in
  48. # result email
  49.  
  50. emmc = "" # url to emmc image
  51.  
  52. [[[device]]] # Device properties
  53. devicegroup = meego_bglr
  54.  
  55.  
  56. #################
  57. # Email settings
  58. #
  59. [ots.email_plugin]
  60. disabled = false # Setting this true disables email plugin
  61. from_address = "ots@nokia.com"
  62. smtp_server = "mail.nokia.com"
  63. message_body = """
  64. SW Product : %s
  65. BUILD Request ID: %s
  66. OTS testrun ID: %s
  67.  
  68. Test packages:
  69. %s
  70.  
  71. Test result: %s
  72.  
  73. Test result details:
  74.  
  75. %s
  76.  
  77. Build request:
  78. %s"""
  79.  
  80. message_subject = "[OTS] [%s] Req#%s: %s"
  81.  
  82.  
  83.  
  84. ###################################################
  85. # AMQP Specific options for ots.server.distributor
  86. #
  87.  
  88. [ots.server.distributor]
  89.  
  90. host = 10.225.137.35
  91. vhost = /
  92. port = 5672
  93. username = guest
  94. password = guest
  95. queue = foo
  96. consumer_tag = worker
  97. services_exchange = services
  98.  
  99. # Timeouts in seconds
  100. timeout_connect = 10
  101. timeout_fetch_channel = 10
  102. timeout_send_message = 10
  103. timeout_task_start = 18000
  104. timeout_extra_for_client = 10
  105. timeout_for_preparation = 1800
  106.  
  107. #######################################
  108. # Options for simple ots xmlrpc server
  109. #
  110.  
  111. [ots.server.xmlrpc]
  112.  
  113. host = 10.225.137.35
  114. port = 5670
  115.  
  116. #####################################
  117. # Options for ots.server.allocator
  118. #
  119.  
  120. [ots.server.allocator]
  121. storage_host = # This defines the hostname where
  122. # ots.worker.conductor connects to.
  123. # (Http Logger & AMQP)
  124. # If empty, socket.gethostname() will be
  125. # used. That should work in most setups.
Add Comment
Please, Sign In to add comment