Update test assets to new link naming convention
This commit is contained in:
@@ -136,16 +136,16 @@ agents:
|
|||||||
label: LINKS
|
label: LINKS
|
||||||
options:
|
options:
|
||||||
link_references:
|
link_references:
|
||||||
- router_1___switch_1
|
- router_1:eth-1<->switch_1:eth-8
|
||||||
- router_1___switch_2
|
- router_1:eth-2<->switch_2:eth-8
|
||||||
- switch_1___domain_controller
|
- switch_1:eth-1<->domain_controller:eth-1
|
||||||
- switch_1___web_server
|
- switch_1:eth-2<->web_server:eth-1
|
||||||
- switch_1___database_server
|
- switch_1:eth-3<->database_server:eth-1
|
||||||
- switch_1___backup_server
|
- switch_1:eth-4<->backup_server:eth-1
|
||||||
- switch_1___security_suite
|
- switch_1:eth-7<->security_suite:eth-1
|
||||||
- switch_2___client_1
|
- switch_2:eth-1<->client_1:eth-1
|
||||||
- switch_2___client_2
|
- switch_2:eth-2<->client_2:eth-1
|
||||||
- switch_2___security_suite
|
- switch_2:eth-7<->security_suite:eth-2
|
||||||
- type: "NONE"
|
- type: "NONE"
|
||||||
label: ICS
|
label: ICS
|
||||||
options: {}
|
options: {}
|
||||||
@@ -687,53 +687,43 @@ simulation:
|
|||||||
type: DNSClient
|
type: DNSClient
|
||||||
|
|
||||||
links:
|
links:
|
||||||
- ref: router_1___switch_1
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: switch_1
|
endpoint_b_ref: switch_1
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: router_1___switch_2
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: switch_2
|
endpoint_b_ref: switch_2
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: switch_1___domain_controller
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: domain_controller
|
endpoint_b_ref: domain_controller
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___web_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: web_server
|
endpoint_b_ref: web_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___database_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 3
|
endpoint_a_port: 3
|
||||||
endpoint_b_ref: database_server
|
endpoint_b_ref: database_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___backup_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 4
|
endpoint_a_port: 4
|
||||||
endpoint_b_ref: backup_server
|
endpoint_b_ref: backup_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___security_suite
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_1
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: client_1
|
endpoint_b_ref: client_1
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_2
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: client_2
|
endpoint_b_ref: client_2
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___security_suite
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 2
|
endpoint_b_port: 2
|
||||||
|
|||||||
@@ -162,13 +162,11 @@ simulation:
|
|||||||
# pre installed services and applications
|
# pre installed services and applications
|
||||||
|
|
||||||
links:
|
links:
|
||||||
- ref: switch_1___client_1
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: client_1
|
endpoint_b_ref: client_1
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___client_2
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: client_2
|
endpoint_b_ref: client_2
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
|
|||||||
@@ -152,16 +152,16 @@ agents:
|
|||||||
label: LINKS
|
label: LINKS
|
||||||
options:
|
options:
|
||||||
link_references:
|
link_references:
|
||||||
- router_1___switch_1
|
- router_1:eth-1<->switch_1:eth-8
|
||||||
- router_1___switch_2
|
- router_1:eth-2<->switch_2:eth-8
|
||||||
- switch_1___domain_controller
|
- switch_1:eth-1<->domain_controller:eth-1
|
||||||
- switch_1___web_server
|
- switch_1:eth-2<->web_server:eth-1
|
||||||
- switch_1___database_server
|
- switch_1:eth-3<->database_server:eth-1
|
||||||
- switch_1___backup_server
|
- switch_1:eth-4<->backup_server:eth-1
|
||||||
- switch_1___security_suite
|
- switch_1:eth-7<->security_suite:eth-1
|
||||||
- switch_2___client_1
|
- switch_2:eth-1<->client_1:eth-1
|
||||||
- switch_2___client_2
|
- switch_2:eth-2<->client_2:eth-1
|
||||||
- switch_2___security_suite
|
- switch_2:eth-7<->security_suite:eth-2
|
||||||
- type: "NONE"
|
- type: "NONE"
|
||||||
label: ICS
|
label: ICS
|
||||||
options: {}
|
options: {}
|
||||||
@@ -703,53 +703,43 @@ simulation:
|
|||||||
type: DNSClient
|
type: DNSClient
|
||||||
|
|
||||||
links:
|
links:
|
||||||
- ref: router_1___switch_1
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: switch_1
|
endpoint_b_ref: switch_1
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: router_1___switch_2
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: switch_2
|
endpoint_b_ref: switch_2
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: switch_1___domain_controller
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: domain_controller
|
endpoint_b_ref: domain_controller
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___web_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: web_server
|
endpoint_b_ref: web_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___database_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 3
|
endpoint_a_port: 3
|
||||||
endpoint_b_ref: database_server
|
endpoint_b_ref: database_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___backup_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 4
|
endpoint_a_port: 4
|
||||||
endpoint_b_ref: backup_server
|
endpoint_b_ref: backup_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___security_suite
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_1
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: client_1
|
endpoint_b_ref: client_1
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_2
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: client_2
|
endpoint_b_ref: client_2
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___security_suite
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 2
|
endpoint_b_port: 2
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ agents:
|
|||||||
label: LINKS
|
label: LINKS
|
||||||
options:
|
options:
|
||||||
link_references:
|
link_references:
|
||||||
- client_1___switch_1
|
- client_1:eth-1<->switch_1:eth-1
|
||||||
- type: "NONE"
|
- type: "NONE"
|
||||||
label: ICS
|
label: ICS
|
||||||
options: {}
|
options: {}
|
||||||
|
|||||||
@@ -147,16 +147,16 @@ agents:
|
|||||||
label: LINKS
|
label: LINKS
|
||||||
options:
|
options:
|
||||||
link_references:
|
link_references:
|
||||||
- router_1___switch_1
|
- router_1:eth-1<->switch_1:eth-8
|
||||||
- router_1___switch_2
|
- router_1:eth-2<->switch_2:eth-8
|
||||||
- switch_1___domain_controller
|
- switch_1:eth-1<->domain_controller:eth-1
|
||||||
- switch_1___web_server
|
- switch_1:eth-2<->web_server:eth-1
|
||||||
- switch_1___database_server
|
- switch_1:eth-3<->database_server:eth-1
|
||||||
- switch_1___backup_server
|
- switch_1:eth-4<->backup_server:eth-1
|
||||||
- switch_1___security_suite
|
- switch_1:eth-7<->security_suite:eth-1
|
||||||
- switch_2___client_1
|
- switch_2:eth-1<->client_1:eth-1
|
||||||
- switch_2___client_2
|
- switch_2:eth-2<->client_2:eth-1
|
||||||
- switch_2___security_suite
|
- switch_2:eth-7<->security_suite:eth-2
|
||||||
- type: "NONE"
|
- type: "NONE"
|
||||||
label: ICS
|
label: ICS
|
||||||
options: {}
|
options: {}
|
||||||
@@ -613,16 +613,16 @@ agents:
|
|||||||
label: LINKS
|
label: LINKS
|
||||||
options:
|
options:
|
||||||
link_references:
|
link_references:
|
||||||
- router_1___switch_1
|
- router_1:eth-1<->switch_1:eth-8
|
||||||
- router_1___switch_2
|
- router_1:eth-2<->switch_2:eth-8
|
||||||
- switch_1___domain_controller
|
- switch_1:eth-1<->domain_controller:eth-1
|
||||||
- switch_1___web_server
|
- switch_1:eth-2<->web_server:eth-1
|
||||||
- switch_1___database_server
|
- switch_1:eth-3<->database_server:eth-1
|
||||||
- switch_1___backup_server
|
- switch_1:eth-4<->backup_server:eth-1
|
||||||
- switch_1___security_suite
|
- switch_1:eth-7<->security_suite:eth-1
|
||||||
- switch_2___client_1
|
- switch_2:eth-1<->client_1:eth-1
|
||||||
- switch_2___client_2
|
- switch_2:eth-2<->client_2:eth-1
|
||||||
- switch_2___security_suite
|
- switch_2:eth-7<->security_suite:eth-2
|
||||||
- type: "NONE"
|
- type: "NONE"
|
||||||
label: ICS
|
label: ICS
|
||||||
options: {}
|
options: {}
|
||||||
@@ -1162,53 +1162,43 @@ simulation:
|
|||||||
type: DNSClient
|
type: DNSClient
|
||||||
|
|
||||||
links:
|
links:
|
||||||
- ref: router_1___switch_1
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: switch_1
|
endpoint_b_ref: switch_1
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: router_1___switch_2
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: switch_2
|
endpoint_b_ref: switch_2
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: switch_1___domain_controller
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: domain_controller
|
endpoint_b_ref: domain_controller
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___web_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: web_server
|
endpoint_b_ref: web_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___database_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 3
|
endpoint_a_port: 3
|
||||||
endpoint_b_ref: database_server
|
endpoint_b_ref: database_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___backup_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 4
|
endpoint_a_port: 4
|
||||||
endpoint_b_ref: backup_server
|
endpoint_b_ref: backup_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___security_suite
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_1
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: client_1
|
endpoint_b_ref: client_1
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_2
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: client_2
|
endpoint_b_ref: client_2
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___security_suite
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 2
|
endpoint_b_port: 2
|
||||||
|
|||||||
@@ -226,16 +226,16 @@ agents:
|
|||||||
label: LINKS
|
label: LINKS
|
||||||
options:
|
options:
|
||||||
link_references:
|
link_references:
|
||||||
- router_1___switch_1
|
- router_1:eth-1<->switch_1:eth-8
|
||||||
- router_1___switch_2
|
- router_1:eth-2<->switch_2:eth-8
|
||||||
- switch_1___domain_controller
|
- switch_1:eth-1<->domain_controller:eth-1
|
||||||
- switch_1___web_server
|
- switch_1:eth-2<->web_server:eth-1
|
||||||
- switch_1___database_server
|
- switch_1:eth-3<->database_server:eth-1
|
||||||
- switch_1___backup_server
|
- switch_1:eth-4<->backup_server:eth-1
|
||||||
- switch_1___security_suite
|
- switch_1:eth-7<->security_suite:eth-1
|
||||||
- switch_2___client_1
|
- switch_2:eth-1<->client_1:eth-1
|
||||||
- switch_2___client_2
|
- switch_2:eth-2<->client_2:eth-1
|
||||||
- switch_2___security_suite
|
- switch_2:eth-7<->security_suite:eth-2
|
||||||
- type: "NONE"
|
- type: "NONE"
|
||||||
label: ICS
|
label: ICS
|
||||||
options: {}
|
options: {}
|
||||||
@@ -921,53 +921,43 @@ simulation:
|
|||||||
|
|
||||||
|
|
||||||
links:
|
links:
|
||||||
- ref: router_1___switch_1
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: switch_1
|
endpoint_b_ref: switch_1
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: router_1___switch_2
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: switch_2
|
endpoint_b_ref: switch_2
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: switch_1___domain_controller
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: domain_controller
|
endpoint_b_ref: domain_controller
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___web_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: web_server
|
endpoint_b_ref: web_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___database_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 3
|
endpoint_a_port: 3
|
||||||
endpoint_b_ref: database_server
|
endpoint_b_ref: database_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___backup_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 4
|
endpoint_a_port: 4
|
||||||
endpoint_b_ref: backup_server
|
endpoint_b_ref: backup_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___security_suite
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_1
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: client_1
|
endpoint_b_ref: client_1
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_2
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: client_2
|
endpoint_b_ref: client_2
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___security_suite
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 2
|
endpoint_b_port: 2
|
||||||
|
|||||||
@@ -226,16 +226,16 @@ agents:
|
|||||||
label: LINKS
|
label: LINKS
|
||||||
options:
|
options:
|
||||||
link_references:
|
link_references:
|
||||||
- router_1___switch_1
|
- router_1:eth-1<->switch_1:eth-8
|
||||||
- router_1___switch_2
|
- router_1:eth-2<->switch_2:eth-8
|
||||||
- switch_1___domain_controller
|
- switch_1:eth-1<->domain_controller:eth-1
|
||||||
- switch_1___web_server
|
- switch_1:eth-2<->web_server:eth-1
|
||||||
- switch_1___database_server
|
- switch_1:eth-3<->database_server:eth-1
|
||||||
- switch_1___backup_server
|
- switch_1:eth-4<->backup_server:eth-1
|
||||||
- switch_1___security_suite
|
- switch_1:eth-7<->security_suite:eth-1
|
||||||
- switch_2___client_1
|
- switch_2:eth-1<->client_1:eth-1
|
||||||
- switch_2___client_2
|
- switch_2:eth-2<->client_2:eth-1
|
||||||
- switch_2___security_suite
|
- switch_2:eth-7<->security_suite:eth-2
|
||||||
- type: "NONE"
|
- type: "NONE"
|
||||||
label: ICS
|
label: ICS
|
||||||
options: {}
|
options: {}
|
||||||
@@ -953,53 +953,43 @@ simulation:
|
|||||||
|
|
||||||
|
|
||||||
links:
|
links:
|
||||||
- ref: router_1___switch_1
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: switch_1
|
endpoint_b_ref: switch_1
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: router_1___switch_2
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: switch_2
|
endpoint_b_ref: switch_2
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: switch_1___domain_controller
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: domain_controller
|
endpoint_b_ref: domain_controller
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___web_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: web_server
|
endpoint_b_ref: web_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___database_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 3
|
endpoint_a_port: 3
|
||||||
endpoint_b_ref: database_server
|
endpoint_b_ref: database_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___backup_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 4
|
endpoint_a_port: 4
|
||||||
endpoint_b_ref: backup_server
|
endpoint_b_ref: backup_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___security_suite
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_1
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: client_1
|
endpoint_b_ref: client_1
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_2
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: client_2
|
endpoint_b_ref: client_2
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___security_suite
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 2
|
endpoint_b_port: 2
|
||||||
|
|||||||
@@ -160,16 +160,16 @@ agents:
|
|||||||
label: LINKS
|
label: LINKS
|
||||||
options:
|
options:
|
||||||
link_references:
|
link_references:
|
||||||
- router_1___switch_1
|
- router_1:eth-1<->switch_1:eth-8
|
||||||
- router_1___switch_2
|
- router_1:eth-2<->switch_2:eth-8
|
||||||
- switch_1___domain_controller
|
- switch_1:eth-1<->domain_controller:eth-1
|
||||||
- switch_1___web_server
|
- switch_1:eth-2<->web_server:eth-1
|
||||||
- switch_1___database_server
|
- switch_1:eth-3<->database_server:eth-1
|
||||||
- switch_1___backup_server
|
- switch_1:eth-4<->backup_server:eth-1
|
||||||
- switch_1___security_suite
|
- switch_1:eth-7<->security_suite:eth-1
|
||||||
- switch_2___client_1
|
- switch_2:eth-1<->client_1:eth-1
|
||||||
- switch_2___client_2
|
- switch_2:eth-2<->client_2:eth-1
|
||||||
- switch_2___security_suite
|
- switch_2:eth-7<->security_suite:eth-2
|
||||||
- type: "NONE"
|
- type: "NONE"
|
||||||
label: ICS
|
label: ICS
|
||||||
options: {}
|
options: {}
|
||||||
@@ -743,53 +743,43 @@ simulation:
|
|||||||
protocol: ICMP
|
protocol: ICMP
|
||||||
|
|
||||||
links:
|
links:
|
||||||
- ref: router_1___switch_1
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: switch_1
|
endpoint_b_ref: switch_1
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: router_1___switch_2
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: switch_2
|
endpoint_b_ref: switch_2
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: switch_1___domain_controller
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: domain_controller
|
endpoint_b_ref: domain_controller
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___web_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: web_server
|
endpoint_b_ref: web_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___database_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 3
|
endpoint_a_port: 3
|
||||||
endpoint_b_ref: database_server
|
endpoint_b_ref: database_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___backup_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 4
|
endpoint_a_port: 4
|
||||||
endpoint_b_ref: backup_server
|
endpoint_b_ref: backup_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___security_suite
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_1
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: client_1
|
endpoint_b_ref: client_1
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_2
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: client_2
|
endpoint_b_ref: client_2
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___security_suite
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 2
|
endpoint_b_port: 2
|
||||||
|
|||||||
@@ -160,16 +160,16 @@ agents:
|
|||||||
label: LINKS
|
label: LINKS
|
||||||
options:
|
options:
|
||||||
link_references:
|
link_references:
|
||||||
- router_1___switch_1
|
- router_1:eth-1<->switch_1:eth-8
|
||||||
- router_1___switch_2
|
- router_1:eth-2<->switch_2:eth-8
|
||||||
- switch_1___domain_controller
|
- switch_1:eth-1<->domain_controller:eth-1
|
||||||
- switch_1___web_server
|
- switch_1:eth-2<->web_server:eth-1
|
||||||
- switch_1___database_server
|
- switch_1:eth-3<->database_server:eth-1
|
||||||
- switch_1___backup_server
|
- switch_1:eth-4<->backup_server:eth-1
|
||||||
- switch_1___security_suite
|
- switch_1:eth-7<->security_suite:eth-1
|
||||||
- switch_2___client_1
|
- switch_2:eth-1<->client_1:eth-1
|
||||||
- switch_2___client_2
|
- switch_2:eth-2<->client_2:eth-1
|
||||||
- switch_2___security_suite
|
- switch_2:eth-7<->security_suite:eth-2
|
||||||
- type: "NONE"
|
- type: "NONE"
|
||||||
label: ICS
|
label: ICS
|
||||||
options: {}
|
options: {}
|
||||||
@@ -710,53 +710,43 @@ simulation:
|
|||||||
type: DNSClient
|
type: DNSClient
|
||||||
|
|
||||||
links:
|
links:
|
||||||
- ref: router_1___switch_1
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: switch_1
|
endpoint_b_ref: switch_1
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: router_1___switch_2
|
- endpoint_a_ref: router_1
|
||||||
endpoint_a_ref: router_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: switch_2
|
endpoint_b_ref: switch_2
|
||||||
endpoint_b_port: 8
|
endpoint_b_port: 8
|
||||||
- ref: switch_1___domain_controller
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: domain_controller
|
endpoint_b_ref: domain_controller
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___web_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: web_server
|
endpoint_b_ref: web_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___database_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 3
|
endpoint_a_port: 3
|
||||||
endpoint_b_ref: database_server
|
endpoint_b_ref: database_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___backup_server
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 4
|
endpoint_a_port: 4
|
||||||
endpoint_b_ref: backup_server
|
endpoint_b_ref: backup_server
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_1___security_suite
|
- endpoint_a_ref: switch_1
|
||||||
endpoint_a_ref: switch_1
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_1
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 1
|
endpoint_a_port: 1
|
||||||
endpoint_b_ref: client_1
|
endpoint_b_ref: client_1
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___client_2
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 2
|
endpoint_a_port: 2
|
||||||
endpoint_b_ref: client_2
|
endpoint_b_ref: client_2
|
||||||
endpoint_b_port: 1
|
endpoint_b_port: 1
|
||||||
- ref: switch_2___security_suite
|
- endpoint_a_ref: switch_2
|
||||||
endpoint_a_ref: switch_2
|
|
||||||
endpoint_a_port: 7
|
endpoint_a_port: 7
|
||||||
endpoint_b_ref: security_suite
|
endpoint_b_ref: security_suite
|
||||||
endpoint_b_port: 2
|
endpoint_b_port: 2
|
||||||
|
|||||||
@@ -69,8 +69,8 @@ def test_link_observation():
|
|||||||
assert link_1 is not None
|
assert link_1 is not None
|
||||||
assert link_2 is not None
|
assert link_2 is not None
|
||||||
|
|
||||||
link_1_observation = LinkObservation(where=["network", "links", link_1.uuid])
|
link_1_observation = LinkObservation(where=["network", "links", "switch:eth-1<->computer_1:eth-1"])
|
||||||
link_2_observation = LinkObservation(where=["network", "links", link_2.uuid])
|
link_2_observation = LinkObservation(where=["network", "links", "switch:eth-2<->computer_2:eth-1"])
|
||||||
|
|
||||||
state = sim.describe_state()
|
state = sim.describe_state()
|
||||||
link_1_obs = link_1_observation.observe(state)
|
link_1_obs = link_1_observation.observe(state)
|
||||||
|
|||||||
Reference in New Issue
Block a user