Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following elements contain information for building the odlux ODLUX treeview and managing the data:

id

leaf (Tree view key is bold)

Table column

Description

uuidName

Unique inventory id of this equipment, provided by network element

parent-uuidParentUnique (network element) inventory id of holder. 
Not existing or null parent-uuid are root elements.
tree-levelContainment LevelStarting with 0 .. ( 0 :root level)list contained-holderList of uuid of contained equipment.databaseIdnot used in read direction. Needs to be null.
node-idNodeId of devicenodeId 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".

...

  • 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

The elements "list contained-holder", "id" and "node-id" are not used for tree-view.

leaf

Table column

Description

list contained-holder<none>List of uuid of contained equipment.
iddatabaseIdnot used in read direction. Needs to be null.
node-idNodeId of deviceunique nodeId to identify owner of inventory.
Shouldn't be empty or null.