2024-02-21 14:49:59 +00:00
|
|
|
.. only:: comment
|
|
|
|
|
|
2024-06-05 09:11:37 +01:00
|
|
|
© Crown-owned copyright 2024, Defence Science and Technology Laboratory UK
|
2024-02-21 14:49:59 +00:00
|
|
|
|
|
|
|
|
.. _computer_configuration:
|
|
|
|
|
|
|
|
|
|
``computer``
|
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
A basic representation of a computer within the simulation.
|
|
|
|
|
|
|
|
|
|
See :py:mod:`primaite.simulator.network.hardware.nodes.host.computer.Computer`
|
|
|
|
|
|
|
|
|
|
example computer
|
|
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
.. code-block:: yaml
|
|
|
|
|
|
2024-02-26 09:47:12 +00:00
|
|
|
simulation:
|
|
|
|
|
network:
|
|
|
|
|
nodes:
|
|
|
|
|
- ref: client_1
|
|
|
|
|
hostname: client_1
|
|
|
|
|
type: computer
|
|
|
|
|
ip_address: 192.168.0.10
|
|
|
|
|
subnet_mask: 255.255.255.0
|
|
|
|
|
default_gateway: 192.168.0.1
|
|
|
|
|
dns_server: 192.168.1.10
|
|
|
|
|
applications:
|
|
|
|
|
...
|
|
|
|
|
services:
|
|
|
|
|
...
|
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:: computer
|
|
|
|
|
.. |NODE_TYPE| replace:: ``computer``
|