Skip to content

Commit 1377eda

Browse files
authored
Add support for L22-30P power port type (#7915)
* Add support for L22-30P power port type Fixes #7892 * Add support for L22-30R power outlet type
1 parent 70259b0 commit 1377eda

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

netbox/dcim/choices.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ class PowerPortTypeChoices(ChoiceSet):
312312
TYPE_NEMA_L1560P = 'nema-l15-60p'
313313
TYPE_NEMA_L2120P = 'nema-l21-20p'
314314
TYPE_NEMA_L2130P = 'nema-l21-30p'
315+
TYPE_NEMA_L2230P = 'nema-l22-30p'
315316
# California style
316317
TYPE_CS6361C = 'cs6361c'
317318
TYPE_CS6365C = 'cs6365c'
@@ -417,6 +418,7 @@ class PowerPortTypeChoices(ChoiceSet):
417418
(TYPE_NEMA_L1560P, 'NEMA L15-60P'),
418419
(TYPE_NEMA_L2120P, 'NEMA L21-20P'),
419420
(TYPE_NEMA_L2130P, 'NEMA L21-30P'),
421+
(TYPE_NEMA_L2230P, 'NEMA L22-30P'),
420422
)),
421423
('California Style', (
422424
(TYPE_CS6361C, 'CS6361C'),
@@ -533,6 +535,7 @@ class PowerOutletTypeChoices(ChoiceSet):
533535
TYPE_NEMA_L1560R = 'nema-l15-60r'
534536
TYPE_NEMA_L2120R = 'nema-l21-20r'
535537
TYPE_NEMA_L2130R = 'nema-l21-30r'
538+
TYPE_NEMA_L2230R = 'nema-l22-30r'
536539
# California style
537540
TYPE_CS6360C = 'CS6360C'
538541
TYPE_CS6364C = 'CS6364C'
@@ -631,6 +634,7 @@ class PowerOutletTypeChoices(ChoiceSet):
631634
(TYPE_NEMA_L1560R, 'NEMA L15-60R'),
632635
(TYPE_NEMA_L2120R, 'NEMA L21-20R'),
633636
(TYPE_NEMA_L2130R, 'NEMA L21-30R'),
637+
(TYPE_NEMA_L2230R, 'NEMA L22-30R'),
634638
)),
635639
('California Style', (
636640
(TYPE_CS6360C, 'CS6360C'),

0 commit comments

Comments
 (0)