From f1ffe01d7bce294ad099fc546b3da891f837d4c9 Mon Sep 17 00:00:00 2001 From: Adrian Lasota Date: Fri, 11 Jul 2025 17:13:56 +0200 Subject: [PATCH 1/2] feat: Aggregated docker with MFDs Signed-off-by: Lasota, Adrian --- Dockerfile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..598cd36 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,44 @@ +FROM python:3.13-slim + +# Create a non-root user and set home directory +RUN useradd --create-home appuser + +RUN pip install --no-cache-dir \ + pytest \ + mfd-base-tool==2.7.0 \ + mfd-cli-client==1.11.0 \ + mfd-code-quality==1.2.0 \ + mfd-common-libs==1.11.0 \ + mfd-connect==7.12.0 \ + mfd-const==0.23.0 \ + mfd-dcb==1.18.0 \ + mfd-devcon==2.0.0 \ + mfd-dmesg==1.20.0 \ + mfd-esxi==3.2.0 \ + mfd-ethtool==3.14.0 \ + mfd-event-log==0.9.0 \ + mfd-ftp==1.8.0 \ + mfd-host==2.0.0 \ + mfd-hyperv==2.1.0 \ + mfd-kernel-namespace==1.8.0 \ + mfd-kvm==3.12.0 \ + mfd-libibverbs-utils==1.7.0 \ + mfd-model==0.9.0 \ + mfd-mount==1.8.0 \ + mfd-network-adapter==14.0.0 \ + mfd-osd-control==0.9.0 \ + mfd-package-manager==3.0.0 \ + mfd-packet-capture==2.16.0 \ + mfd-ping==1.15.0 \ + mfd-powermanagement==1.12.0 \ + mfd-serial==1.7.0 \ + mfd-switchmanagement==2.18.0 \ + mfd-sysctl==1.6.0 \ + mfd-traffic-manager==1.18.0 \ + mfd-typing==1.23.0 \ + mfd-win-registry==1.17.0 \ + pytest-mfd-config==3.25.0 \ + pytest-mfd-logging==1.24.0 +# Expose shell as the default command +USER appuser +CMD ["/bin/bash"] From f6431b60c0ef344af1a105fa6c422ac8f73d3c9e Mon Sep 17 00:00:00 2001 From: Arkadiusz Baczek Date: Fri, 11 Jul 2025 17:37:51 +0200 Subject: [PATCH 2/2] docs: Create README.md Signed-off-by: Baczek, Arkadiusz --- README.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..4290e49 --- /dev/null +++ b/README.md @@ -0,0 +1,49 @@ +> [!IMPORTANT] +> This project is under development. All source code and features on the main branch are for the purpose of testing or evaluation and not production ready. + +# Modular Framework Design (MFD) + +The Modular Framework Design (MFD) is a collection of Python libraries designed for use in testing environments. The primary objective of the MFD libraries is to offer a convenient and abstract method for obtaining information and manipulating hosts, network adapters, PCI devices, BMCs, and more. + +## MFD Modules + +| Module Name | GitHub Link | PyPI Link | +|---------------------------|----------------------------------------------------------|------------------------------------------------| +| mfd-base-tool | [GitHub](https://github.com/intel/mfd-tool) | [PyPI](https://pypi.org/project/mfd-base-tool) | +| mfd-cli-client | [GitHub](https://github.com/intel/mfd-cli-client) | [PyPI](https://pypi.org/project/mfd-cli-client)| +| mfd-code-quality | [GitHub](https://github.com/intel/mfd-code-quality) | [PyPI](https://pypi.org/project/mfd-code-quality)| +| mfd-common-libs | [GitHub](https://github.com/intel/mfd-common-libs) | [PyPI](https://pypi.org/project/mfd-common-libs)| +| mfd-connect | [GitHub](https://github.com/intel/mfd-connect) | [PyPI](https://pypi.org/project/mfd-connect) | +| mfd-const | [GitHub](https://github.com/intel/mfd-const) | [PyPI](https://pypi.org/project/mfd-const) | +| mfd-dcb | [GitHub](https://github.com/intel/mfd-dcb) | [PyPI](https://pypi.org/project/mfd-dcb) | +| mfd-devcon | [GitHub](https://github.com/intel/mfd-devcon) | [PyPI](https://pypi.org/project/mfd-devcon) | +| mfd-dmesg | [GitHub](https://github.com/intel/mfd-dmesg) | [PyPI](https://pypi.org/project/mfd-dmesg) | +| mfd-esxi | [GitHub](https://github.com/intel/mfd-esxi) | [PyPI](https://pypi.org/project/mfd-esxi) | +| mfd-ethtool | [GitHub](https://github.com/intel/mfd-ethtool) | [PyPI](https://pypi.org/project/mfd-ethtool) | +| mfd-event-log | [GitHub](https://github.com/intel/mfd-event-log) | [PyPI](https://pypi.org/project/mfd-event-log) | +| mfd-ftp | [GitHub](https://github.com/intel/mfd-ftp) | [PyPI](https://pypi.org/project/mfd-ftp) | +| mfd-host | [GitHub](https://github.com/intel/mfd-host) | [PyPI](https://pypi.org/project/mfd-host) | +| mfd-hyperv | [GitHub](https://github.com/intel/mfd-hyperv) | [PyPI](https://pypi.org/project/mfd-hyperv) | +| mfd-kernel-namespace | [GitHub](https://github.com/intel/mfd-kernel-namespace) | [PyPI](https://pypi.org/project/mfd-kernel-namespace)| +| mfd-kvm | [GitHub](https://github.com/intel/mfd-kvm) | [PyPI](https://pypi.org/project/mfd-kvm) | +| mfd-libibverbs-utils | [GitHub](https://github.com/intel/mfd-libibverbs-utils) | [PyPI](https://pypi.org/project/mfd-libibverbs-utils)| +| mfd-model | [GitHub](https://github.com/intel/mfd-model) | [PyPI](https://pypi.org/project/mfd-model) | +| mfd-mount | [GitHub](https://github.com/intel/mfd-mount) | [PyPI](https://pypi.org/project/mfd-mount) | +| mfd-network-adapter | [GitHub](https://github.com/intel/mfd-network-adapter) | [PyPI](https://pypi.org/project/mfd-network-adapter)| +| mfd-osd-control | [GitHub](https://github.com/intel/mfd-osd-control) | [PyPI](https://pypi.org/project/mfd-osd-control)| +| mfd-package-manager | [GitHub](https://github.com/intel/mfd-package-manager) | [PyPI](https://pypi.org/project/mfd-package-manager)| +| mfd-packet-capture | [GitHub](https://github.com/intel/mfd-packet-capture) | [PyPI](https://pypi.org/project/mfd-packet-capture)| +| mfd-ping | [GitHub](https://github.com/intel/mfd-ping) | [PyPI](https://pypi.org/project/mfd-ping) | +| mfd-powermanagement | [GitHub](https://github.com/intel/mfd-powermanagement) | [PyPI](https://pypi.org/project/mfd-powermanagement)| +| mfd-serial | [GitHub](https://github.com/intel/mfd-serial) | [PyPI](https://pypi.org/project/mfd-serial) | +| mfd-switchmanagement | [GitHub](https://github.com/intel/mfd-switchmanagement) | [PyPI](https://pypi.org/project/mfd-switchmanagement)| +| mfd-sysctl | [GitHub](https://github.com/intel/mfd-sysctl) | [PyPI](https://pypi.org/project/mfd-sysctl) | +| mfd-traffic-manager | [GitHub](https://github.com/intel/mfd-traffic-manager) | [PyPI](https://pypi.org/project/mfd-traffic-manager)| +| mfd-typing | [GitHub](https://github.com/intel/mfd-typing) | [PyPI](https://pypi.org/project/mfd-typing) | +| mfd-win-registry | [GitHub](https://github.com/intel/mfd-win-registry) | [PyPI](https://pypi.org/project/mfd-win-registry)| +| pytest-mfd-config | [GitHub](https://github.com/intel/pytest-mfd-config) | [PyPI](https://pypi.org/project/pytest-mfd-config)| +| pytest-mfd-logging | [GitHub](https://github.com/intel/pytest-mfd-logging) | [PyPI](https://pypi.org/project/pytest-mfd-logging)| + +## Issue reporting + +If you encounter any bugs or have suggestions for improvements, you're welcome to contribute directly or open an issue [here](https://github.com/intel/mfd/issues).