Skip to content

tyler-8/pyoxidized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyOxidized

A basic Python wrapper for the Oxidized REST API. Full API documentation can be found at the Oxidized Github repo.

Getting Started

Authentication (Optional)

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.

Example

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)

To-Do

  • Unit tests
  • Diff support
  • Show blob of a version

About

A basic Python wrapper for the Oxidized REST API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages