From 17d515d035ee5efe8f447cfa5e0fe60db522d810 Mon Sep 17 00:00:00 2001 From: Christian Manivong Date: Mon, 12 Oct 2026 23:42:14 +0000 Subject: [PATCH] Add package skeleton pyproject.toml (Apache-2.0, Python >= 3.10, depends on the DMTF redfish library) and an empty napalm_redfish package. No napalm.drivers entry point yet: the driver class waits for the ManagementControllerDriver role base. --- napalm_redfish/__init__.py | 3 +++ pyproject.toml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 napalm_redfish/__init__.py create mode 100644 pyproject.toml diff --git a/napalm_redfish/__init__.py b/napalm_redfish/__init__.py new file mode 100644 index 0000000..265035b --- /dev/null +++ b/napalm_redfish/__init__.py @@ -0,0 +1,3 @@ +"""NAPALM driver for server BMCs over DMTF Redfish.""" + +__version__ = "0.1.0.dev0" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..2c82a1e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,32 @@ +[build-system] +requires = ["setuptools>=64"] +build-backend = "setuptools.build_meta" + +[project] +name = "napalm-redfish" +version = "0.1.0.dev0" +description = "NAPALM driver for server baseboard management controllers over DMTF Redfish" +readme = "README.md" +license = { file = "LICENSE" } +requires-python = ">=3.10" +dependencies = [ + "redfish>=3.2", +] +classifiers = [ + "License :: OSI Approved :: Apache Software License", + "Programming Language :: Python :: 3", + "Topic :: System :: Hardware", + "Topic :: System :: Networking", +] + +[project.optional-dependencies] +test = [ + "pytest>=7", + "responses>=0.23", +] + +[tool.setuptools.packages.find] +include = ["napalm_redfish*"] + +[tool.pytest.ini_options] +testpaths = ["tests"]