DCIM¶
pynautobot.models.dcim
¶
Overrides for models in the DCIM app.
Classes, attributes and methods only need to be defined here if they need to override the default behavior.
pynautobot.models.dcim.Cables
¶
pynautobot.models.dcim.ConsolePorts
¶
pynautobot.models.dcim.ConsoleServerPorts
¶
pynautobot.models.dcim.ControllerManagedDeviceGroups
¶
pynautobot.models.dcim.DeviceTypes
¶
pynautobot.models.dcim.Devices
¶
Bases: Record
Devices Object.
Represents a device response from nautobot.
Attributes:
| Name | Type | Description |
|---|---|---|
primary_ip, |
ip4, ip6 (list
|
Tells init in Record() to
take the |
device_type |
obj
|
Tells init in Record() to take the
|
napalm
property
¶
Represents the napalm detail endpoint.
Returns a DetailEndpoint object that is the interface for viewing response from the napalm endpoint.
Returns:
| Type | Description |
|---|---|
DetailEndpoint
|
The |
Examples:
pynautobot.models.dcim.InterfaceConnection
¶
pynautobot.models.dcim.InterfaceConnections
¶
pynautobot.models.dcim.Interfaces
¶
pynautobot.models.dcim.PowerOutlets
¶
pynautobot.models.dcim.PowerPorts
¶
pynautobot.models.dcim.RackReservations
¶
pynautobot.models.dcim.Racks
¶
Bases: Record
Racks Object.
elevation
property
¶
Represents the elevation detail endpoint.
Returns a DetailEndpoint object that is the interface for viewing response from the elevation endpoint updated in Nautobot version 2.8.
Returns:
| Type | Description |
|---|---|
DetailEndpoint
|
The |
Examples:
units
property
¶
Represents the units detail endpoint.
Returns a DetailEndpoint object that is the interface for viewing response from the units endpoint.
Returns:
| Type | Description |
|---|---|
DetailEndpoint
|
The |
Examples: