customizations icon indicating copy to clipboard operation
customizations copied to clipboard

Add script to flip a rack while preserving physical positions

Open pv2b opened this issue 2 years ago • 1 comments

So have you ever fully documented a rack only for someone to come along and say you got the rack coordinates backwards? Maybe you're using a rack that has two coordinate schemes like ENOC racks which label their coordinates as 1/47, 2/46 etc and you arbitrarilly chose the "wrong" choice that's different compared to all other racks in your org? (True story)

Well, with this script you can take an existing rack, flip the numbering scheme between ascending/descending coordinates, and then change all device coordinates, so that, by the time the script is done, it looks like only the rack coordinates have changed without any devices physically moving.

pv2b avatar Sep 16 '23 13:09 pv2b

Actually, I just realized this doesn't fix rack reservations, let me fix that

pv2b avatar Sep 16 '23 14:09 pv2b

Thanks for your contribution @pv2b

jsenecal avatar Sep 19 '24 16:09 jsenecal