Skip to content

Commit dac93e8

Browse files
committed
docs: improve flavor flow diagram by using mermaid
1 parent 01c0734 commit dac93e8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/design-guide/flavors.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@ Flavors enable operators to:
2424

2525
### Data Flow
2626

27-
```text
28-
Hardware Inspection → Traits Applied to Ironic Node
29-
→ resource_class Set (from device-type)
27+
```mermaid
28+
graph TD
29+
A[Hardware Inspection] -->|Discovers hardware| B[Ironic Node]
30+
A -->|Sets traits| B
31+
A -->|Sets resource_class| B
3032
31-
Device-Type Resource Class → CPU cores, RAM, drives defined
33+
C[Device-Type Definition] -->|Defines specs for resource_class| D[CPU, RAM, Drive specs]
3234
33-
Flavor Definition → Match by resource_class
34-
→ Filter by trait requirements
35-
→ Nova Flavor (properties from device-type)
35+
E[Flavor Definition] -->|Matches nodes by| F[resource_class + traits]
36+
D -->|Provides properties| G[Nova Flavor Created]
37+
F --> G
3638
```
3739

3840
## Schema Structure

0 commit comments

Comments
 (0)