|
@@ -1191,7 +1191,8 @@ class Device(
|
|
|
from .cables import Cable
|
|
from .cables import Cable
|
|
|
cable_pks = []
|
|
cable_pks = []
|
|
|
for component_model in [
|
|
for component_model in [
|
|
|
- ConsolePort, ConsoleServerPort, PowerPort, PowerOutlet, Interface, FrontPort, RearPort
|
|
|
|
|
|
|
+ ConsolePort, ConsoleServerPort, PowerPort, PowerOutlet, CoolingPort, CoolingOutlet, Interface, FrontPort,
|
|
|
|
|
+ RearPort
|
|
|
]:
|
|
]:
|
|
|
cable_pks += component_model.objects.filter(
|
|
cable_pks += component_model.objects.filter(
|
|
|
device=self, cable__isnull=False
|
|
device=self, cable__isnull=False
|