Add associatiton from power outlet to power port/phase

This commit is contained in:
Jeremy Stretch
2019-04-10 14:16:16 -04:00
parent c181e691e5
commit 2076c0f494
8 changed files with 137 additions and 10 deletions

View File

@@ -44,6 +44,8 @@ class DCIMFieldChoicesViewSet(FieldChoicesViewSet):
(FrontPortTemplate, ['type']),
(Interface, ['form_factor', 'mode']),
(InterfaceTemplate, ['form_factor']),
(PowerOutlet, ['feed_leg']),
(PowerOutletTemplate, ['feed_leg']),
(PowerPort, ['connection_status']),
(Rack, ['outer_unit', 'status', 'type', 'width']),
(RearPort, ['type']),