- Nigel gave some background
- The WT model is a pruned/refactored form of the Core model that is close to the Core model
- The Core Equipment model is defined with classes for ExpectedEquipment etc.
- The TAPI model is a pruned/refactored from of the Core model
- The TAPI Equipment model is defined with data types for ExpectedEquipment
- This resulted from agreement in the Sydney meeting on when to use classes and when to use data types
- The intention is to align the core with the Sydney agreement but this has not yet been done
- This will mean the TAPI model and the Core model are the same in this area
- Several weeks back it was agreed that the WT Equipment model would continue to follow the Core
- At the time it was expected that there would be no difference between the coding of data types and composed classes
- It was expected that when the Core migrated to data types, the WT Yang would not change
- Nigel explained the position that has been agreed in IISOMI wrt data type and class mappings into Yang.
- Both classes and data types will be mapped to yang groupings
- All classes will also have an identity generated (triggered indirectly by a reference attribute _xxx and directly for root classes)
- The identity will be a UUID
- Note that there is still an outstanding action to consider the implications of the removal of local id
- When an attribute of a class is defined by a data type then this will become substructuring in the instance of the class that has the attribute
- When the attribute definition is multiplicity >1 then there will be a key in Yang and this Key can be any local value (Integer etc.)
- When an attribute of a class is named xxx and is hence defined by a referenced class and where the association is composite, in the instance the referenced class structure will become substructure of the referencing class with the attribute (i.e., as for the data type)
- When the attribute definition is multiplicity >1 then there will be a key in Yang and this Key will normally be the UUID of the instance of the class
- The structures are essentially the same but the key type is different. This was a larger difference than had been expected
- Nigel emphasized that this meant that when the core was migrated to align with the data type agreement the Yang would change in this area
- Chris asked whether this changed the identity agreement
- Nigel emphasized that this did not cause or require any changes in the Sydney agreements on IDs
- Martin indicated that he could use his pruning/refactoring tooling and the UML/Yang tooling to deal with this such that the WT Yang aligned with the TAPI Yang in this area even with no change to the Core model. When the core model is updated to align with the data type agreement the WT Yang would not change in this area.
- This was considered as the right approach.
Note also that:
- In TAPI the properties that are available in ExpectedEquipment and ActualEquipment differ as there are two distinct data types collecting properties where both are used in the ActualEquipment and only one is used in the ExpectedEquipment.

- In the core, and hence WT, there is only one collection of all relevant properties that both use.

Hence there will be subtle differences if the Core is changed to align fully with TAPI. There is good reason for keeping all properties in one collection in future.