moat-db-inv 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- moat_db_inv-0.1.1/LICENSE.txt +14 -0
- moat_db_inv-0.1.1/PKG-INFO +36 -0
- moat_db_inv-0.1.1/README.md +12 -0
- moat_db_inv-0.1.1/debian/.gitignore +7 -0
- moat_db_inv-0.1.1/debian/changelog +29 -0
- moat_db_inv-0.1.1/debian/control +23 -0
- moat_db_inv-0.1.1/debian/py3dist-overrides +3 -0
- moat_db_inv-0.1.1/debian/rules +5 -0
- moat_db_inv-0.1.1/debian/source/format +1 -0
- moat_db_inv-0.1.1/pyproject.toml +40 -0
- moat_db_inv-0.1.1/setup.cfg +4 -0
- moat_db_inv-0.1.1/src/moat/db/inv/__init__.py +7 -0
- moat_db_inv-0.1.1/src/moat/db/inv/_main.py +940 -0
- moat_db_inv-0.1.1/src/moat/db/inv/ip.py +234 -0
- moat_db_inv-0.1.1/src/moat/db/inv/migrate.py +381 -0
- moat_db_inv-0.1.1/src/moat/db/inv/model.py +516 -0
- moat_db_inv-0.1.1/src/moat/db/inv/model_.py +274 -0
- moat_db_inv-0.1.1/src/moat/db/inv/resolve.py +247 -0
- moat_db_inv-0.1.1/src/moat/db/inv/vlans.py +215 -0
- moat_db_inv-0.1.1/src/moat_db_inv.egg-info/PKG-INFO +36 -0
- moat_db_inv-0.1.1/src/moat_db_inv.egg-info/SOURCES.txt +22 -0
- moat_db_inv-0.1.1/src/moat_db_inv.egg-info/dependency_links.txt +1 -0
- moat_db_inv-0.1.1/src/moat_db_inv.egg-info/requires.txt +5 -0
- moat_db_inv-0.1.1/src/moat_db_inv.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
The code in this repository, and all MoaT submodules it refers to,
|
|
2
|
+
is part of the MoaT project.
|
|
3
|
+
|
|
4
|
+
Unless a submodule's LICENSE.txt states otherwise, all included files are
|
|
5
|
+
licensed under the LGPL V3, as published by the FSF at
|
|
6
|
+
https://www.gnu.org/licenses/lgpl-3.0.html .
|
|
7
|
+
|
|
8
|
+
In addition to the LGPL's terms, the author(s) respectfully ask all users of
|
|
9
|
+
this code to contribute any bug fixes or enhancements. Also, please link back to
|
|
10
|
+
https://M-o-a-T.org.
|
|
11
|
+
|
|
12
|
+
Thank you.
|
|
13
|
+
|
|
14
|
+
Copyright © 2021 ff.: the MoaT contributor(s), as per the git changelog(s).
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: moat-db-inv
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: MoaT network inventory database (VLANs, networks, hosts, interfaces, cables)
|
|
5
|
+
Author-email: Matthias Urlichs <matthias@urlichs.de>
|
|
6
|
+
Project-URL: homepage, https://m-o-a-t.org
|
|
7
|
+
Project-URL: repository, https://github.com/M-o-a-T/moat
|
|
8
|
+
Keywords: MoaT
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Framework :: AsyncIO
|
|
12
|
+
Classifier: Framework :: Trio
|
|
13
|
+
Classifier: Framework :: AnyIO
|
|
14
|
+
Classifier: Development Status :: 3 - Alpha
|
|
15
|
+
Requires-Python: >=3.11
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE.txt
|
|
18
|
+
Requires-Dist: moat-util~=0.64.0
|
|
19
|
+
Requires-Dist: moat-db~=0.3.1
|
|
20
|
+
Requires-Dist: moat-db-thing~=0.0.5
|
|
21
|
+
Requires-Dist: moat-lib-run~=0.2.2
|
|
22
|
+
Requires-Dist: netaddr
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
|
|
25
|
+
# MoaT-DB-Inv
|
|
26
|
+
|
|
27
|
+
% start synopsis
|
|
28
|
+
% start main
|
|
29
|
+
|
|
30
|
+
This module provides a database-backed network inventory for MoaT,
|
|
31
|
+
migrated from the legacy DistKV inventory (`moat.kv.inv`) to a
|
|
32
|
+
`moat.db.inv` SQLAlchemy + Alembic submodule. It manages VLANs, IP
|
|
33
|
+
networks, hosts, interfaces, addresses, cables, wires, and host groups.
|
|
34
|
+
|
|
35
|
+
% end synopsis
|
|
36
|
+
% end main
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# MoaT-DB-Inv
|
|
2
|
+
|
|
3
|
+
% start synopsis
|
|
4
|
+
% start main
|
|
5
|
+
|
|
6
|
+
This module provides a database-backed network inventory for MoaT,
|
|
7
|
+
migrated from the legacy DistKV inventory (`moat.kv.inv`) to a
|
|
8
|
+
`moat.db.inv` SQLAlchemy + Alembic submodule. It manages VLANs, IP
|
|
9
|
+
networks, hosts, interfaces, addresses, cables, wires, and host groups.
|
|
10
|
+
|
|
11
|
+
% end synopsis
|
|
12
|
+
% end main
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
moat-db-inv (0.1.1-1) unstable; urgency=medium
|
|
2
|
+
|
|
3
|
+
* New release for 26.4.26
|
|
4
|
+
|
|
5
|
+
-- Matthias Urlichs <matthias@urlichs.de> Sat, 03 Oct 2026 12:56:05 +0200
|
|
6
|
+
|
|
7
|
+
moat-db-inv (0.1.0-2) unstable; urgency=medium
|
|
8
|
+
|
|
9
|
+
* New release for 26.4.8
|
|
10
|
+
|
|
11
|
+
-- Matthias Urlichs <matthias@urlichs.de> Thu, 01 Oct 2026 11:17:49 +0200
|
|
12
|
+
|
|
13
|
+
moat-db-inv (0.1.0-1) unstable; urgency=medium
|
|
14
|
+
|
|
15
|
+
* New release for 26.4.7
|
|
16
|
+
|
|
17
|
+
-- Matthias Urlichs <matthias@urlichs.de> Thu, 01 Oct 2026 10:20:35 +0200
|
|
18
|
+
|
|
19
|
+
moat-db-inv (0.0.3-2) unstable; urgency=medium
|
|
20
|
+
|
|
21
|
+
* New release for 26.4.1
|
|
22
|
+
|
|
23
|
+
-- Matthias Urlichs <matthias@urlichs.de> Tue, 29 Sep 2026 17:04:10 +0200
|
|
24
|
+
|
|
25
|
+
moat-db-inv (0.0.3-1) unstable; urgency=medium
|
|
26
|
+
|
|
27
|
+
* Initial release for 26.4.0.
|
|
28
|
+
|
|
29
|
+
-- Matthias Urlichs <matthias@urlichs.de> Mon, 29 Sep 2026 17:00:00 +0200
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Source: moat-db-inv
|
|
2
|
+
Maintainer: Matthias Urlichs <matthias@urlichs.de>
|
|
3
|
+
Section: python
|
|
4
|
+
Priority: optional
|
|
5
|
+
Build-Depends: dh-python, python3-all, debhelper (>= 13),
|
|
6
|
+
python3-setuptools,
|
|
7
|
+
python3-wheel,
|
|
8
|
+
Standards-Version: 3.9.6
|
|
9
|
+
Homepage: https://github.com/M-o-a-T/moat
|
|
10
|
+
X-DH-Compat: 13
|
|
11
|
+
|
|
12
|
+
Package: moat-db-inv
|
|
13
|
+
Architecture: all
|
|
14
|
+
Depends: ${misc:Depends}, ${python3:Depends},
|
|
15
|
+
moat-db,
|
|
16
|
+
moat-db-thing,
|
|
17
|
+
Description: MoaT network inventory database
|
|
18
|
+
Database-backed network inventory for MoaT, migrated from the legacy
|
|
19
|
+
DistKV inventory (moat.kv.inv) to a moat.db.inv SQLAlchemy + Alembic
|
|
20
|
+
submodule.
|
|
21
|
+
.
|
|
22
|
+
Manages VLANs, IP networks, hosts, interfaces, addresses, cables,
|
|
23
|
+
wires, and host groups.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0 (quilt)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
build-backend = "setuptools.build_meta"
|
|
3
|
+
requires = ["setuptools", "wheel"]
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "moat-db-inv"
|
|
7
|
+
version = "0.1.1"
|
|
8
|
+
description = "MoaT network inventory database (VLANs, networks, hosts, interfaces, cables)"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
|
+
keywords = ["MoaT"]
|
|
12
|
+
classifiers = [
|
|
13
|
+
"Intended Audience :: Developers",
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
"Framework :: AsyncIO",
|
|
16
|
+
"Framework :: Trio",
|
|
17
|
+
"Framework :: AnyIO",
|
|
18
|
+
"Development Status :: 3 - Alpha",
|
|
19
|
+
]
|
|
20
|
+
dependencies = [
|
|
21
|
+
"moat-util ~= 0.64.0",
|
|
22
|
+
"moat-db ~= 0.3.1",
|
|
23
|
+
"moat-db-thing ~= 0.0.5",
|
|
24
|
+
"moat-lib-run ~= 0.2.2",
|
|
25
|
+
"netaddr",
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
[[project.authors]]
|
|
29
|
+
name = "Matthias Urlichs"
|
|
30
|
+
email = "matthias@urlichs.de"
|
|
31
|
+
|
|
32
|
+
[project.urls]
|
|
33
|
+
homepage = "https://m-o-a-t.org"
|
|
34
|
+
repository = "https://github.com/M-o-a-T/moat"
|
|
35
|
+
|
|
36
|
+
[tool.setuptools.packages.find]
|
|
37
|
+
where = ["src"]
|
|
38
|
+
|
|
39
|
+
[tool.setuptools.package-data]
|
|
40
|
+
"*" = ["*.yaml"]
|