Skip to content

aopdal/netbox_giftwrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

netbox_giftwrap

Transform NetBox APIs into Business Ready formats

Installing netbox_giftwrap

To install netbox_giftwrap there are a few simple steps:

Ubuntu Linux

The following instructions are based on Windows WSL2 and Ubuntu however any flavour of Linux will work with possibly slightly different commands

Confirm Python 3 is installed
$ python3 -V
Python 3.9.10
Create and activate a virtual environment
$ sudo apt install python3-venv
$ python3 -m venv netbox_giftwrap
$ source netbox_giftwrap/bin/activate
(netbox_giftwrap)$
Install the netbox_giftwrap
(netbox_giftwrap)$pip install netbox_giftwrap
Create an output folder
(netbox_giftwrap)$mkdir output

Windows

Create and activate a virtual environment

C:\>python3 -m venv netbox_giftwrap
C:\>netbox_giftwrap\Scripts\activate
(netbox_giftwrap) C:\>

Install netbox_giftwrap

(message_room)$pip install netbox_giftwrap
Create an output folder
(netbox_giftwrap)$mkdir output

Using the bot

Run the bot as an interactive session

(netbox_giftwrap)$ cd output
(netbox_giftwrap)$~/output/netbox_giftwrap.py
URL:
TOKEN:

Run the bot inline

(netbox_giftwrap)$ cd output
(netbox_giftwrap)$~/output/netbox_giftwrap.py --url {https://netbox_url} --token {netbox token}

Run the bot with environment variables

(netbox_giftwrap)$ cd output
(netbox_giftwrap)$ export URL=https://{netbox_url}
(netbox_giftwrap)$ export TOKEN={netbox_token}
(netbox_giftwrap)$~/output/netbox_giftwrap.py

Current API Coverage

aggregates

asns

cables

circuit-terminations

circuit-types

circuits

cluster-groups

cluster-types

clusters

console-port-templates

console-ports

contact-assignments

contact-groups

contact-roles

contacts

device-bay-templates

device-bays

device-roles

device-types

devices

front-port-templates

front-ports

groups

interface-templates

interfaces

inventory-items

ip-addresses

ip-ranges

locations

manufacturers

module-bay-templates

module-bays

module-types

modules

platforms

power-feeds

power-outlet-templates

power-outlets

power-panels

power-port-templates

power-ports

prefixes

provider-networks

providers

rack-reservations

rack-roles

racks

rear-port-templates

rear-ports

regions

rirs

roles

route-targets

service-templates

services

site-groups

sites

status

tenant-groups

tenants

tokens

users

virtual-chassis

virtual-interfaces

virtual-machines

vlan-groups

vlans

About

Transform NetBox APIs into Business Ready formats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 98.1%
  • Python 1.9%