Hi Guys,

I'm now looking at the vCPE usecase 
(https://wiki.onap.org/pages/viewpage.action?pageId=3246168#UseCase:ResidentialBroadbandvCPE(Approved)-Description),
 and try to convert its heat template(https://git.onap.org/demo/tree/heat/vCPE) 
into latest onap Tosca  DM 
(https://wiki.onap.org/display/DW/Data+Model+align+with+TOSCA+NFV+Profile ). I 
found the following things in heat and can NOT find the corresponding mapping 
in the Tosca DM.

1. SSH key pairs for VM
Heat supports creating ssh keypair for VM to enable login with ssh 
public/private keys. However I could not find corresponding in latest onap 
tosca DM. Should we support this in tosca DM?

2. cloudinit user scripts
In heat, vCPE uses cloudinit user script to executed within the VM after VM has 
been launched to configure the VNF softwares within the VM. However, in tosca 
DM, there is no direct mapping to such things in VDU. Should I use 
tosca.interfaces.node.lifecycle.Standard interface instead or should we add new 
properties in VDU (see openstack tacker's VDU as an example 
https://github.com/openstack/tacker/blob/master/tacker/tosca/lib/tacker_nfv_defs.yaml#L239
 )? The new userdata should also support inputs like 
tosca.interfaces.node.lifecycle.Standard interface.

3. pre-created networks:
vCPE will use 2 pre-created networks which are created when ONAP itself is 
being deployed: onap_public_net is used to make VM be able to connect to 
internet, onap_private_net is the oam network which is used to make some of the 
vCPE vnf talk to some onap component(e.g. dcae_collector). So this requires the 
VNF VM to be connected to a pre-created network. However in tosca DM, it seems 
that there is no way to specify a VDU created by tosca DM connecting to a 
pre-created network which is already created during ONAP deployment using heat. 
 Should we add an property in tosca.nodes.nfv.VnfVirtualLink to indicate 
whether the network is pre-created or not?

4. VM metadata
vCPE also uses VM metadata which is missing in Tosca DM's VDU. Should we add 
this?( see openstack tacker's VDU as an example 
https://github.com/openstack/tacker/blob/master/tacker/tosca/lib/tacker_nfv_defs.yaml#L198
 )?

Best Regards,
-Lianhao
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to