Metadata-Version: 2.4
Name: olav-netops
Version: 0.22.0
Summary: OLAV Network Operations domain package — SSH collection, topology analysis, audit, drift detection
Author: OLAV Team
License: BSL-1.1
Keywords: agent,aiops,containerlab,netops,network-automation,nornir
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: System Administrators
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: System :: Networking :: Monitoring
Requires-Python: >=3.11
Requires-Dist: netutils>=1.17.1
Requires-Dist: networkx>=3.6.1
Requires-Dist: nornir-netmiko>=1.0.0
Requires-Dist: nornir>=3.3.0
Requires-Dist: ntc-templates>=9.0.0
Requires-Dist: olav>=0.22.0
Requires-Dist: rich>=13.0.0
Requires-Dist: ruptures>=1.1.9
Requires-Dist: scikit-learn>=1.8.0
Requires-Dist: scipy>=1.17.1
Requires-Dist: textfsm>=1.1.3
Provides-Extra: sim
Requires-Dist: pybatfish>=2024.7.22.1569; extra == 'sim'
Description-Content-Type: text/markdown

# olav-netops 🐺

Network-operations domain extension for the [OLAV](https://pypi.org/project/olav/)
agentic operations platform: SSH collection (Nornir + TextFSM), topology
analysis and What-If simulation (networkx), cross-snapshot drift detection,
compliance audits, and ContainerLab digital-twin validation.

## Install

```bash
pip install olav olav-netops
olav skill install olav-netops     # deploys the netops + audit agents
```

The second command deploys the agent workspaces bundled inside this wheel
into your project's `.olav/workspace/`. From then on:

```bash
olav --agent netops "/netops_init"                 # collect device data via SSH
olav --agent netops "simulate R2 link failure"     # What-If analysis
olav --agent audit  "run bgp_health check"         # compliance profiles
```

With Batfish simulation support:

```bash
pip install "olav-netops[sim]"
```

## What it adds

| Agent | Capabilities |
|-------|--------------|
| `netops` | Parallel SSH collection (command-whitelisted), BGP/OSPF analysis, topology queries, ECMP/failure simulation, ContainerLab twin deploy + commit-validate |
| `audit` | Health-check profiles (author + run), schema-aware reporting, TextFSM template learning |

Plus `netops.*` DuckDB tables auto-registered into the platform's ingest
pipeline, and slash commands (`/netops_init`, `/netops_snapshot`) exposed
through the platform CLI/TUI.

## Documentation

**Docs**: [docs.olavai.com](https://docs.olavai.com/netops/quick-start/) ·
**Website**: [olavai.com](https://olavai.com)

## Versioning

`olav-netops` releases in lockstep with the `olav` platform — install
matching versions (the dependency pin enforces the minimum).

## License

BSL-1.1 — Business Source License 1.1 (same as the OLAV platform).
