A basic Python wrapper for the Oxidized REST API. Full API documentation can be found at the Oxidized Github repo.
The client supports basic HTTP authentication for environments where a reverse-proxy (nginx/Apache) was set up in front of Oxidized. Example setup for this can be found on PacketPushers.
import pyoxidized
host = "http://<oxidized-server>"
# With authentication
oxi = pyoxidized.OxidizedApi(host, username, password)
# Without authentication
oxi = pyoxidized.OxidizedApi(host)
nodes = oxi.get_nodes()
device = nodes[0]
config = oxi.fetch_config(device)
- Unit tests
- Diff support
- Show blob of a version