- Bump pynetbox dependency to >=7.5.0 - Change get_device_asn to read ASN from device custom field instead of filtering ASNs by device (unsupported in NetBox 4.4) - Remove device_name filter from get_l2vpn_terminations as L2VPN terminations cannot be filtered by device in NetBox 4.4 - Refactor get_vrf_interfaces to query IP addresses with VRF filter and extract associated interfaces (VRF filtering on interfaces unsupported) - Add get_interface_mlag_id method to read MLAG ID from interface custom field
39 lines
779 B
TOML
39 lines
779 B
TOML
[project]
|
|
name = "fabric-orchestrator"
|
|
version = "0.1.0"
|
|
description = "Declarative Network Fabric Orchestrator - Terraform-like infrastructure management for Arista EVPN-VXLAN using gNMI, YANG, and NetBox as Source of Truth"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"click>=8.1.0",
|
|
"pygnmi>=0.8.0",
|
|
"pynetbox>=7.5.0",
|
|
"rich>=13.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
fabric-orch = "src.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src"]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = ["src"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W"]
|
|
ignore = ["E501"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0.14.10",
|
|
]
|