Skip to content

Commit

Permalink
Merge pull request #596 from markkuleinio/netbox-3.7
Browse files Browse the repository at this point in the history
Add `vpn` app for NetBox 3.7 compatibility
  • Loading branch information
abhi1693 committed Dec 29, 2023
2 parents e56aba1 + 4a2910c commit 5b3551f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pynetbox/core/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ class Api:
you can specify which app and endpoint you wish to interact with.
Valid attributes currently are:
* circuits
* core (NetBox 3.5+)
* dcim
* extras
* ipam
* circuits
* tenancy
* extras
* virtualization
* users
* virtualization
* vpn (NetBox 3.7+)
* wireless
Calling any of these attributes will return
Expand Down Expand Up @@ -75,14 +76,15 @@ def __init__(
self.base_url = base_url
self.http_session = requests.Session()
self.threading = threading
self.circuits = App(self, "circuits")
self.core = App(self, "core")
self.dcim = App(self, "dcim")
self.extras = App(self, "extras")
self.ipam = App(self, "ipam")
self.circuits = App(self, "circuits")
self.tenancy = App(self, "tenancy")
self.extras = App(self, "extras")
self.virtualization = App(self, "virtualization")
self.users = App(self, "users")
self.virtualization = App(self, "virtualization")
self.vpn = App(self, "vpn")
self.wireless = App(self, "wireless")
self.plugins = PluginsApp(self)

Expand Down

0 comments on commit 5b3551f

Please sign in to comment.