Files
PrimAITE/tests/config/obs_tests/laydown_with_LINK_TRAFFIC_LEVELS.yaml

111 lines
1.9 KiB
YAML
Raw Normal View History

2023-05-30 15:48:11 +01:00
- itemType: ACTIONS
type: NODE
2023-06-02 09:10:53 +01:00
- itemType: OBSERVATION_SPACE
components:
2023-06-02 12:59:01 +01:00
- name: LINK_TRAFFIC_LEVELS
options:
combine_service_traffic: false
quantisation_levels: 8
2023-05-30 15:48:11 +01:00
- itemType: STEPS
steps: 5
- itemType: PORTS
portsList:
2023-06-01 09:45:46 +01:00
- port: '80'
2023-06-02 12:59:01 +01:00
- port: '53'
2023-05-30 15:48:11 +01:00
- itemType: SERVICES
serviceList:
2023-06-01 09:45:46 +01:00
- name: TCP
2023-06-02 12:59:01 +01:00
- name: UDP
2023-06-01 09:45:46 +01:00
########################################
# Nodes
2023-05-30 15:48:11 +01:00
- itemType: NODE
node_id: '1'
2023-06-01 09:45:46 +01:00
name: PC1
2023-05-30 15:48:11 +01:00
node_class: SERVICE
node_type: COMPUTER
2023-06-01 09:45:46 +01:00
priority: P5
2023-05-30 15:48:11 +01:00
hardware_state: 'ON'
2023-06-01 09:45:46 +01:00
ip_address: 192.168.1.1
2023-05-30 15:48:11 +01:00
software_state: GOOD
file_system_state: GOOD
services:
2023-06-01 09:45:46 +01:00
- name: TCP
port: '80'
state: GOOD
2023-06-02 12:59:01 +01:00
- name: UDP
port: '53'
state: GOOD
2023-06-01 09:45:46 +01:00
- itemType: NODE
node_id: '2'
name: SERVER
node_class: SERVICE
node_type: SERVER
priority: P5
hardware_state: 'ON'
ip_address: 192.168.1.2
software_state: GOOD
file_system_state: GOOD
services:
- name: TCP
port: '80'
state: GOOD
2023-06-02 12:59:01 +01:00
- name: UDP
port: '53'
state: GOOD
2023-06-01 09:45:46 +01:00
- itemType: NODE
node_id: '3'
name: SWITCH1
node_class: ACTIVE
node_type: SWITCH
priority: P2
hardware_state: 'ON'
ip_address: 192.168.1.3
software_state: GOOD
file_system_state: GOOD
########################################
# Links
- itemType: LINK
id: '4'
name: link1
bandwidth: 1000
source: '1'
destination: '3'
- itemType: LINK
id: '5'
name: link2
bandwidth: 1000
source: '3'
destination: '2'
2023-06-02 12:59:01 +01:00
#########################################
# IERS
- itemType: GREEN_IER
id: '5'
startStep: 0
endStep: 5
load: 20
protocol: TCP
port: '80'
source: '1'
destination: '2'
missionCriticality: 5
#########################################
# ACL Rules
- itemType: ACL_RULE
id: '6'
permission: ALLOW
source: 192.168.1.1
destination: 192.168.1.2
protocol: TCP
port: 80
- itemType: ACL_RULE
id: '7'
permission: ALLOW
source: 192.168.1.2
destination: 192.168.1.1
protocol: TCP
port: 80