Files
PrimAITE/docs/source/simulation_components/system/common/common_configuration.rst

58 lines
1.3 KiB
ReStructuredText
Raw Normal View History

2024-02-26 11:35:17 +00:00
.. only:: comment
© Crown-owned copyright 2024, Defence Science and Technology Laboratory UK
2024-02-26 11:35:17 +00:00
.. _Common Configuration:
2024-02-23 16:49:01 +00:00
Common Configuration
""""""""""""""""""""
2024-02-23 16:49:01 +00:00
ref
"""
2024-02-23 16:49:01 +00:00
Human readable name used as reference for the software class. Not used in code.
2024-02-23 16:49:01 +00:00
type
""""
2024-02-23 16:49:01 +00: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
options
"""""""
2024-07-02 16:55:28 +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
fix_duration
""""""""""""
2024-07-02 16:55:28 +01:00
Optional. Default value is ``2``.
The number of timesteps the software will remain in a ``FIXING`` state before going into a ``GOOD`` state.
listen_on_ports
^^^^^^^^^^^^^^^
Optional. The set of ports to listen on. This is in addition to the main port the software is designated. This can either be
the string name of ports or the port integers
Example:
.. code-block:: yaml
simulation:
network:
nodes:
- hostname: [hostname]
type: [Node Type]
services:
- type: [Service Type]
options:
listen_on_ports:
- 631
applications:
- type: [Application Type]
options:
listen_on_ports:
- SMB