update directory

This commit is contained in:
IluaAir
2025-06-30 20:03:47 +03:00
parent 8715f2223d
commit 08eef97ec3
5 changed files with 91 additions and 113 deletions

14
init.py Normal file
View File

@@ -0,0 +1,14 @@
import pynetbox
from oxi.manager import OxidizedAPI
from settings import settings
netbox = pynetbox.api(
settings.nb_url,
token=settings.nb_token)
netbox.http_session.verify = False
oxi = OxidizedAPI(
username=settings.oxi_username,
password=settings.oxi_password,
verify=False)