Skip to content
Snippets Groups Projects
Commit a4ef724d authored by Neda Moeini's avatar Neda Moeini
Browse files

Fixed Netbox device role.

parent f3fe9d06
No related branches found
No related tags found
1 merge request!119Fixed Netbox device role issue
Pipeline #84667 passed
This commit is part of merge request !119. Comments created here will be created in the context of that merge request.
......@@ -173,7 +173,7 @@ class NetboxClient:
device = self.netbox.dcim.devices.create(
name=device_name,
device_type=device_type.id,
device_role=device_role.id,
role=device_role.id,
site=device_site.id,
)
module_bays = list(self.netbox.dcim.module_bays.filter(device_id=device.id))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment