update directory
This commit is contained in:
14
init.py
Normal file
14
init.py
Normal 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)
|
||||
Reference in New Issue
Block a user