Skip to content

Latest commit

 

History

History
106 lines (74 loc) · 2.57 KB

README.md

File metadata and controls

106 lines (74 loc) · 2.57 KB

Integration

Diagram

DPU SW Components

Prereqs

Install docker-compose https://docs.docker.com/compose/install/

Minimal supported version is:

 $ docker-compose -v
docker-compose version 1.29.2, build unknown

Prereqs - Red Hat

docker-compose does work on Red Hat OSes starting with podman 3.x. For example:

sudo dnf install -y podman podman-docker podman-plugins
sudo systemctl enable podman.socket --now

Prereqs - PIP

One can install latest docker-compose via PIP

sudo python3 -m pip install --upgrade docker-compose

Start

This pulls the latest images and only builds those it cannot find.

./scripts/integration.sh start

If you are making changes to the container images, you can build them before running start. Note This does not work for images pulled from a cr like the spdk-target image.

./scripts/integration.sh build
./scripts/integration.sh start

If you try to run on a platform that does not support every extended instruction that SPDK supports, the pulled spdk-target image will not function. To work around this, set the BUILD_SPDK variable before starting:

BUILD_SPDK=1 ./scripts/integration.sh start

Start - Red Hat

Note Root-less podman is not supported. So run the integration script as root:

sudo ./scripts/integration.sh start

Test

To manually check the run, execute the following:

You can also run the CI tests and log collection as follows:

./scripts/integration.sh tests
./scripts/integration.sh logs

Stop

./scripts/integration.sh stop

Stop - Red Hat

Note stop currently has an issue in this environment where you need to run it twice to fully clean up.

sudo ./scripts/integration.sh stop
sudo ./scripts/integration.sh stop