local

Last updated: 2025-05-02 01:06:18.097128 File source: link on GitLab

Setup Guide

This guide provides instructions for setting up and running the NuNet test suite in the feature environment. It covers both standalone tests (testing individual DMS instances) and distributed tests (testing network interactions between multiple DMS nodes).

Prerequisites

Install Docker

  • https://docs.docker.com/engine/install/

Install LXD

  • https://documentation.ubuntu.com/lxd/en/latest/installing/

  • lxd init and use the following options when prompted:

Would you like to use LXD clustering? (yes/no) [default=no]: no 
Do you want to configure a new storage pool? (yes/no) [default=yes]: yes
Name of the new storage pool [default=default]: 
Name of the storage backend to use (dir, lvm, powerflex, zfs, btrfs, ceph) [default=zfs]: dir
Would you like to connect to a MAAS server? (yes/no) [default=no]: no
Would you like to create a new local network bridge? (yes/no) [default=yes]: 
What should the new bridge be called? [default=lxdbr0]: 
What IPv4 address should be used? (CIDR subnet notation, "auto" or "none") [default=auto]: 
What IPv6 address should be used? (CIDR subnet notation, "auto" or "none") [default=auto]: 
Would you like the LXD server to be available over the network? (yes/no) [default=no]: yes
Address to bind LXD to (not including port) [default=all]: 
Port to bind LXD to [default=8443]: 
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]: 
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]:

Instructions to use

The instructions to use have been moved to the CLI Guide.

Last updated