This message is particularly directed to Anatoly, Alex, and Thinh, as we have an action item to map ONAP IM to DM. If one of you could respond, I'd appreciate it.
My understanding is that SOL001 is mapping the VNFD model to TOSCA. They indicate they are mapping the ETSI NFV elements listed below into TOSCA types (page 12). I'm not clear why they chose the elements they did, as they don't all correspond to the VNFD model which is defined in the ETSI "VnfTemplateModule" of the model. Also, the actual ETSI elements named do not correspond to exactly what is defined in the model (they probably just got sloppy, but they should pay attention to detail). Here's the list of the currently defined elements that they map 1. VNF - Shouldn't this be Vnfd? The Vnf is defined in the VnfModule of the model. Also, the element is called Vnf and not VNF. 2. VDU - OK, but it should be Vdu, not VDU. 3. Cpd - Maybe ok? It is defined in the CommonTemplateModule as an abstract class. You don't instantiate abstract classes, so you will never have an instance. Do you have TOSCA types that represent abstract classes? Also, they don't map other abstract classes such as VirtualLinkDesc, so why map this one? 4. VduCpd - OK. This would contain all the attributes in Cpd, so again I'm not sure why you need Cpd. 5. VnfVirtualLinkDesc - OK 6. VnfExtCpd - OK 7. Virtual Storage - Shouldn't this be VirtualStorageDesc? 8. Virtual Compute - Shouldn't this be VirtualComputeDesc? Particularly to distinguish it from the VirtualCompute class. 9. Software Image - Shouldn't this be SwImageDesc? Particularly to distinguish it from SwImage. 10. Deployment Flavour - Shouldn't this be VnfDf? 11. Scaling Aspect - They should at least give the correct element name of ScalingAspect. 12. Element Group - I assume they mean VnfdElementGroup? They should use the correct name. 13. Instantiation Level - OK, but they should give the correct name InstantiationLevel. The names used in the Tosca types should be an exact reflection of the ETSI NFV element names as defined above. This is not always the case. For example, they use "VirtualCompute" instead of "VirtualComputeDesc". As we made changes in ONAP to ETSI class names, are we considering making changes to TOSCA type names to ensure adherence to the actual element names. Or do we want to change them to match ONAP names? For example, should tosca.nodes.nfv.Cpd be tosca.nodes.nfv.CPDesc? Also, they don't appear to map the all the classes that are defined in the VNFD model, such as VirtualNetworkInterfaceRequirements, VnfIndicator, etc. Why? Thank you for your help, Jessie
_______________________________________________ onap-discuss mailing list email@example.com https://lists.onap.org/mailman/listinfo/onap-discuss