@edgible-team/sdk
    Preparing search index...

    Class VmNetwork

    Shared VM-to-VM network over QEMU socket netdevs. Pass one instance as network to every VirtualMachine that should share a segment: the first to attach listens on an allocated host port (default range 5555–5599), the rest connect to it.

    Implements

    Index

    Constructors

    Methods

    • 127.0.0.1:<listenPort> — the address subsequent VMs connect to.

      Returns string

    • Host port the first-attached VM listens on. 0 until the first attach().

      Returns number