[][src]Module ttstack::model

Structs

Env

Core unit of TT.

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 a template of VM.

Traits

Firewall

This trait describes how to manage the 'firewall rule'.

Storage

This trait describes how to manage the 'runtime image'.

VmEngine

Common methods for each engine, such as 'Firecracker', 'Qemu', 'Docker' ...

Type Definitions

Id

Use u64 to express an ID, e.g. ENV, VM ...

InnerSockPort

Service ports within the VM.

IpAddr

Inner IP(v4) address of VM.

MacAddr

MAC address of VM.

NetAddr

Use String to express a network address, in the the perspective of the client, see NetAddr.

PubSockPort

Service ports within the host machine.

SockPort

Use u16 to express a socket port.

VmEngineFeat

Use u32 as the uint of supported vm-engine-features.