| 7 | | == Data Structure == |
| | 7 | == Data Structure == #data |
| | 8 | Our layout will try to capture the relationship between nodes (which for our current purposes means motherboards) and devices (any network/communication device). The relationship heirachy looks like this: |
| | 9 | {{{ |
| | 10 | TESTBED - |
| | 11 | | |
| | 12 | -> Node - |
| | 13 | -INV_... -- Inventory Attributes (e.g. motherboard serial number, disk size, cpu type,...) |
| | 14 | -INF_... -- Infrastructure Attributes (Control IP, Control interface,...) |
| | 15 | -CM_... -- CM attributes (e.g. CM IP, CM Version, ...) |
| | 16 | | |
| | 17 | -> Device |
| | 18 | -name = FQDNofContainingNode_dev_random# |
| | 19 | -INV_if_name= "name the os thinks this device is. (e.g. eth0)" |
| | 20 | -INV_dev_id = "xxxx:xxxx" where the x's are hex numbers that represent the device identifiers. |
| | 21 | }}} |
| | 22 | |
| | 23 | At some point we'll make a complete map of these. |