Subnets
Classes
CybORG.Simulator.Scenarios.EnterpriseScenarioGenerator.SUBNET
Bases: str
, Enum
A class of class attributes that link subnet enums to the corresponding string subnet name.
Source code in /home/onaish/cage-challenge/cage-challenge-4/CybORG/Simulator/Scenarios/EnterpriseScenarioGenerator.py
CybORG.Simulator.Subnet.Subnet
Bases: Entity
Class that holds the details about a subnet.
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
name of the subnet |
size |
int
|
number of hosts in the subnet? |
hosts |
List[str]
|
a list of the hostnames in the subnet? |
nacls |
Dict[str, Dict[str, str]]
|
? |
cidr |
IPv4Network
|
The network object for the subnet |
ip_addresses |
list
|
? |