...
leaf (Tree view key is bold) | Table column | Description |
---|---|---|
uuid | Name | Unique inventory id of this equipment, provided by network element |
parent-uuid | Parent | Unique (network element) inventory id of holder. Not existing or null parent-uuid are root elements. |
tree-level | Containment Level | Starting with 0 .. ( 0 :root level) |
list contained-holder | List of uuid of contained equipment. | |
id | databaseId | not used in read direction. Needs to be null. |
node-id | NodeId of device | nodeId to identify owner of inventory |
During write into database the elements "uuid", "parent-uuid" and "tree-level" are verified for consistency. Inconsist elements are collected under the new created node "unbound".
Inconsistent:
- parent-uuid: If uuid is not existing → to unbound node with tree-level1
- parent-uuid: Null or empty for tree-level=0, else → to unbound
- uuid: not unique → Remove element with related LOG entry
- tree-level: Wrong tree-level (child level = parent level +1)→ to unbound
- uuid not unique: Remove second element with related LOG entry