[RFE] Add support for operators on root device hints
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Wishlist
|
Lucas Alvares Gomes | ||
ironic-lib |
Fix Released
|
Wishlist
|
Lucas Alvares Gomes | ||
ironic-python-agent |
Fix Released
|
Wishlist
|
Lucas Alvares Gomes |
Bug Description
Root device hints is a mechanism that allow operators to pass some hints to the deploy ramdisk about which disk it should pick for the deployment.
Currently this mechanism only supports exact values, so you operators can not specify things like: Pick a disk which the size is greater than etc...
By support operators we would improve a lot the use of root device hints, making it less rigid. This RFE proposes supporting the same operators as nova for capabilities [0], which are:
* = (equal to or greater than as a number) (I know...)
* == (equal to as a number)
* != (not equal to as a number)
* >= (greater than or equal to as a number)
* <= (less than or equal to as a number)
* s== (equal to as a string)
* s!= (not equal to as a string)
* s>= (greater than or equal to as a string)
* s> (greater than as a string)
* s<= (less than or equal to as a string)
* s< (less than as a string)
* <in> (substring)
* <all-in> (all elements contained in collection)
* <or> (find one of these)
Examples are: ">= 5", "s== 2.1.0", "<in> gcc", "<all-in> aes mmx", and "<or> fpu <or> gpu"
tags: | added: rfe |
Changed in ironic: | |
importance: | Undecided → Wishlist |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in ironic: | |
status: | New → Confirmed |
description: | updated |
tags: |
added: rfe-approved removed: rfe |
Changed in ironic-lib: | |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
Changed in ironic-python-agent: | |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
Changed in ironic-lib: | |
importance: | Undecided → Wishlist |
Changed in ironic-python-agent: | |
importance: | Undecided → Wishlist |
Changed in ironic-lib: | |
status: | New → In Progress |
Changed in ironic-python-agent: | |
status: | New → Triaged |
Changed in ironic-python-agent: | |
status: | Triaged → In Progress |
Changed in ironic-python-agent: | |
status: | In Progress → Fix Released |
Going to talk about this at the next meeting, thinking this may not need a spec.