2024-02-26 11:35:17 +00:00
|
|
|
.. only:: comment
|
|
|
|
|
|
2024-06-05 09:11:37 +01:00
|
|
|
© Crown-owned copyright 2024, Defence Science and Technology Laboratory UK
|
2024-02-26 11:35:17 +00:00
|
|
|
|
2024-09-04 20:46:35 +01:00
|
|
|
.. _Common Configuration:
|
2024-02-23 16:49:01 +00:00
|
|
|
|
2024-09-04 20:46:35 +01:00
|
|
|
Common Configuration
|
2024-09-05 11:23:52 +01:00
|
|
|
""""""""""""""""""""
|
2024-02-23 16:49:01 +00:00
|
|
|
|
2024-09-04 20:46:35 +01:00
|
|
|
ref
|
|
|
|
|
"""
|
2024-02-23 16:49:01 +00:00
|
|
|
|
2024-09-04 20:46:35 +01:00
|
|
|
Human readable name used as reference for the software class. Not used in code.
|
2024-02-23 16:49:01 +00:00
|
|
|
|
2024-09-04 20:46:35 +01:00
|
|
|
type
|
|
|
|
|
""""
|
2024-02-23 16:49:01 +00:00
|
|
|
|
2024-09-04 20:46:35 +01:00
|
|
|
The type of software that should be added. To add the required software, this must be it's name.
|
2024-07-02 16:55:28 +01:00
|
|
|
|
2024-09-04 20:46:35 +01:00
|
|
|
options
|
|
|
|
|
"""""""
|
2024-07-02 16:55:28 +01:00
|
|
|
|
2024-09-05 16:44:29 +01:00
|
|
|
The configuration options are the attributes that fall under the options for an application or service.
|
2024-07-02 16:55:28 +01:00
|
|
|
|
2024-09-04 20:46:35 +01:00
|
|
|
fix_duration
|
|
|
|
|
""""""""""""
|
2024-07-02 16:55:28 +01:00
|
|
|
|
|
|
|
|
Optional. Default value is ``2``.
|
|
|
|
|
|
2024-09-04 20:46:35 +01:00
|
|
|
The number of timesteps the software will remain in a ``FIXING`` state before going into a ``GOOD`` state.
|
2024-08-08 21:20:20 +01:00
|
|
|
|
|
|
|
|
|
2024-09-04 20:46:35 +01:00
|
|
|
listen_on_ports
|
|
|
|
|
^^^^^^^^^^^^^^^
|
2024-08-08 21:20:20 +01:00
|
|
|
|
2024-09-04 20:46:35 +01:00
|
|
|
Optional. The set of ports to listen on. This is in addition to the main port the software is designated. This can either be
|
2024-08-08 21:20:20 +01:00
|
|
|
the string name of ports or the port integers
|
|
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
|
|
.. code-block:: yaml
|
|
|
|
|
|
|
|
|
|
simulation:
|
|
|
|
|
network:
|
|
|
|
|
nodes:
|
2024-09-04 20:46:35 +01:00
|
|
|
- hostname: [hostname]
|
|
|
|
|
type: [Node Type]
|
2024-08-08 21:20:20 +01:00
|
|
|
services:
|
2024-09-04 12:07:32 +01:00
|
|
|
- type: [Service Type]
|
2024-08-08 21:20:20 +01:00
|
|
|
options:
|
|
|
|
|
listen_on_ports:
|
|
|
|
|
- 631
|
|
|
|
|
applications:
|
2024-09-04 12:07:32 +01:00
|
|
|
- type: [Application Type]
|
2024-08-08 21:20:20 +01:00
|
|
|
options:
|
|
|
|
|
listen_on_ports:
|
|
|
|
|
- SMB
|