2024-02-21 14:49:59 +00:00
|
|
|
.. only:: comment
|
|
|
|
|
|
2025-01-02 15:05:06 +00:00
|
|
|
© Crown-owned copyright 2025, Defence Science and Technology Laboratory UK
|
2024-02-21 14:49:59 +00:00
|
|
|
|
|
|
|
|
.. _server_configuration:
|
|
|
|
|
|
|
|
|
|
``server``
|
|
|
|
|
==========
|
|
|
|
|
|
|
|
|
|
A basic representation of a server within the simulation.
|
|
|
|
|
|
|
|
|
|
See :py:mod:`primaite.simulator.network.hardware.nodes.host.server.Server`
|
|
|
|
|
|
|
|
|
|
example server
|
|
|
|
|
--------------
|
|
|
|
|
|
|
|
|
|
.. code-block:: yaml
|
|
|
|
|
|
2024-02-26 09:47:12 +00:00
|
|
|
simulation:
|
|
|
|
|
network:
|
|
|
|
|
nodes:
|
2025-03-13 11:36:24 +00:00
|
|
|
- hostname: server_1
|
|
|
|
|
type: server
|
|
|
|
|
ip_address: 192.168.10.10
|
|
|
|
|
subnet_mask: 255.255.255.0
|
|
|
|
|
default_gateway: 192.168.10.1
|
|
|
|
|
dns_server: 192.168.1.10
|
|
|
|
|
applications:
|
2024-02-26 09:47:12 +00:00
|
|
|
...
|
2025-03-13 11:36:24 +00:00
|
|
|
services:
|
2024-02-26 09:47:12 +00:00
|
|
|
...
|
2024-02-21 14:49:59 +00:00
|
|
|
|
|
|
|
|
.. include:: common/common_node_attributes.rst
|
|
|
|
|
|
|
|
|
|
.. include:: common/node_type_list.rst
|
|
|
|
|
|
|
|
|
|
.. include:: common/common_host_node_attributes.rst
|
|
|
|
|
|
|
|
|
|
.. |NODE| replace:: server
|
|
|
|
|
.. |NODE_TYPE| replace:: ``server``
|