...
Feature judgement flow, it needs go through all VDUs, CPs and VLs based on the received csar:
First stores all VDUs, CPs, VLs, then:
for each (VDU){
new a FlavorFeature
...
hpaFeature="pciePassthrough"
get the generated flavorFeature based on the value under ("virtual_binding")
get the FlaovrProperties from flavorFeature
new a FlavorProperty
add value under (generate hapFeatureAttribute based on value under ("virtual_network_interface_requirements#nic_io_requirements#logical_node_requirements#pciVendorId") and add it into hpaFeatureAttributes
add value under (generate hapFeatureAttribute based on value under ("virtual_network_interface_requirements#nic_io_requirements#logical_node_requirements#pciDeviceId) into hpaFeatureAttributes") and add it into hpaFeatureAttributes
generate hapFeatureAttribute based on value under ("virtual_network_interface_requirements#nic_io_requirements#logical_node_requirements#pciNumDevices") and add it into hpaFeatureAttributes
add if has value under ("virtual_network_interface_requirements#nic_io_requirements#logical_node_requirements#pciNumDevices) into hpaFeatureAttributesrequirements#physicalNetwork")
get the info of node, which is a Virtual Link, based on the value under ("virtual_link) , it is stores in VLs
add value under ( get the property value under ("physicalNetwork")
generate hapFeatureAttribute based on value under ("virtual_network_interface_requirements#nic_io_requirements#logical_node_requirements#physicalNetwork") into hpaFeatureAttributesand add it into hpaFeatureAttributes
add FlavorProperty into flavorFeature.getFlavorProperties()
}