Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

mmahacek/netbox-onms-provision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netbox-onms-provision

Overview

This is a proof of concept of using pynetbox and pyonms to build a requisition and send it to an OpenNMS instance.

NOTE: This is just a sample of pulling devices and building a requisition. You will most likely want to update the logic to fit how you want to provision your devices.

Setup

Install requirements

  1. Setup a Python virtual environment python3 -m venv venv
  2. Activate the virtual environment source venv/bin/activate
  3. Import the necessary libraries pip3 install -r requirements.txt

Define secrets

Define system environment variables, or create a .env file that defines the following:

  • onms_host
  • onms_user
  • onms_pass
  • nb_host
  • nb_token

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages