View Issue Details

IDProjectCategoryView StatusLast Update
1461RackTablesdefaultpublic2015-04-22 05:22
Reportersgroat Assigned To 
PrioritynormalSeveritytweakReproducibilityN/A
Status closedResolutionfixed 
Product Version0.20.10 
Summary1461: Make Reverse Rack #ing per Rack instead of global
DescriptionI currently have an environment with a large mix of rack types, some starting at the bottom and others at the top. The global reverse #ing config doesn't work too well for me.

If I create a patch for reverse #ing per rack instead of global, does that have any chance of being accepted?
TagsNo tags attached.

Activities

adoom42

adoom42

2015-04-19 20:28

administrator   ~0002805

You can reverse the order of specific racks using the REVERSED_RACKS_LISTSRC config option.

If you write a patch that provides a different approach, create a GitHub pull request and it will definitely be considered.
sgroat

sgroat

2015-04-19 22:21

reporter   ~0002807

Would a separate database field be ideal or would modifying the display based off of a specific tag work (i.e. if the tag "reverse" exists on the rack, reverse it)
infrastation

infrastation

2015-04-21 08:42

administrator   ~0002809

There is no need for a patch, it already works as described. Set REVERSED_RACKS_LISTSRC to "{tag}" and only the racks with the tag will have unit numbers going from top to bottom. The option accepts a RackCode expression ("true" and "false" are RackCode expressions too).
sgroat

sgroat

2015-04-22 05:22

reporter   ~0002811

Works perfectly, thanks.

I end up using racktables a lot and would like to update the documentation some so I can point my users to the wiki. Is there a way I can get a login somehow?
sgroat

sgroat

2015-04-22 05:22

reporter   ~0002813

Set REVERSED_RACKS_LISTSRC to "{tag}" and only the racks with the tag will have unit numbers going from top to bottom. The option accepts a RackCode expression ("true" and "false" are RackCode expressions too).

Issue History

Date Modified Username Field Change
2015-04-17 20:03 sgroat New Issue
2015-04-19 20:28 adoom42 Note Added: 0002805
2015-04-19 20:28 adoom42 Status new => feedback
2015-04-19 22:21 sgroat Note Added: 0002807
2015-04-19 22:21 sgroat Status feedback => new
2015-04-21 08:42 infrastation Note Added: 0002809
2015-04-22 05:22 sgroat Note Added: 0002811
2015-04-22 05:22 sgroat Note Added: 0002813
2015-04-22 05:22 sgroat Status new => closed
2015-04-22 05:22 sgroat Resolution open => fixed