[−][src]Module tt_framework::model
Design Model
Design of the core infrastructure.
Structs
Env | The base unit of TT, stands for a complete workspace for client. |
EnvState | Info about the state of ENV. |
Snapshot | Snapshot management. |
Vm | Infomations about a VM instance. |
VmResource | Info about the resource of VM. |
VmState | Info about the state of VM. |
VmTemplate | Infomations about the template of VM, or in other word, the base image of VM. |
Enums
NetKind | Kind of network. |
Traits
Network | This trait describes how to manage the network, such as 'firewall rule' in the NAT mode. |
Storage | This trait describes how to manage the 'runtime image'. |
VmEngine | Common methods for each engine, such as 'Firecracker', 'Qemu', 'Docker' ... |
Type Definitions
EnvId | ID alias for ENV. |
Id | |
InnerSockPort | Service ports within the VM. |
IpAddr | Inner IP(v4) address of VM. |
MacAddr | MAC address of VM. |
NetAddr | Use |
PubSockPort | Service ports within the host machine. |
SockPort | Use |
VmEngineFeat | Use |
VmId | ID alias for VM. |