Skip to main content

Transform NetBox APIs into Business Ready Documents

Project description

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

Download Python

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

The form questions:

Question 1 - NetBox URL:

Enter the URL of your NetBox instance (e.g. https://demo.netbox.dev):

This can be set as an environment variable

Question 2 - NetBox API Token:

Enter your NetBox API Token - you can create / retrieve one from https://URL/user/api-tokens/

This can be set as an environment variable

Current API Covera

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox_giftwrap-2.0.1.tar.gz (59.7 kB view details)

Uploaded Source

Built Distribution

netbox_giftwrap-2.0.1-py3-none-any.whl (60.9 kB view details)

Uploaded Python 3

File details

Details for the file netbox_giftwrap-2.0.1.tar.gz.

File metadata

  • Download URL: netbox_giftwrap-2.0.1.tar.gz
  • Upload date:
  • Size: 59.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.10.102.1-microsoft-standard-WSL2

File hashes

Hashes for netbox_giftwrap-2.0.1.tar.gz
Algorithm Hash digest
SHA256 3d3bff80ba8cee9bed18f12e35be8b84f1fe32b592b2253113b857c05a238e0b
MD5 1458074e365ff2f8db20d983923aa0d8
BLAKE2b-256 27cbee31438134a44493c3c49333b305bbc3799c6fdbc4b2d5168dc61e258e6e

See more details on using hashes here.

File details

Details for the file netbox_giftwrap-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: netbox_giftwrap-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 60.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.10.102.1-microsoft-standard-WSL2

File hashes

Hashes for netbox_giftwrap-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68d31d1fa9b83b51cd1920afcdb2bad8c23e4e6078f7abbbda72d8ef4cc6eb71
MD5 f092ca8901073215166277c1d7b1bfe5
BLAKE2b-256 df28e397e6031cf278574c6a8d1e0f218f6fa5a4c1c73f8d3e0989efe6432d88

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page