Client
Netbox API client to interact with the Netbox API, main class to interact other classes, this class is responsible for the authentication and the base URL to interact with the API.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
API_IP |
str
|
The IP address of the Netbox API. |
required |
API_TOKEN |
str
|
The token to authenticate with the Netbox API. |
required |
Examples:
>>> from netboxcli import Client
>>> client = Client('http://localhost:8000','9437417491269694621969126946')
Attributes:
| Name | Type | Description |
|---|---|---|
organization |
Organization
|
The organization object. |
devices |
Devices
|
The devices object. |
connections |
Connections
|
The connections object. |
wireless |
Wireless
|
The wireless object. |
ipam |
Ipam
|
The ipam object. |
vpn |
Vpn
|
The vpn object. |
virtualization |
Virtualization
|
The virtualization object. |
circuits |
Circuits
|
The circuits object. |
power |
Power
|
The power object. |
provisioning |
Provisioning
|
The provisioning object. |
customization |
Customization
|
The customization object. |
operations |
Operations
|
The operations object. |