...
VF-C will get pciVendorId, pciDeviceId and interfaceType from CSAR file, then call to OOF. OOF will response homing information to VF-C.
1.5 OOF Response
As we known OOF just check /cloud-infrastructure/cloud-regions/cloud-region/{cloud-owner}/{cloud-region-id}/flavors/flavor/{flavor-id}/hpa-capabilities
Now, we need OOF also check and match /cloud-infrastructure/cloud-regions/cloud-region/{cloud-owner}/{cloud-region-id}/hpa-capabilities/hpa-capability/{hpa-capability-id}
Seond, we need to add some attributes in the response returning OOF will match the SRIOV information along with the constraint provided by Policy and add extra attributes inside the assignmentInfo data block when returning the response to SO and VF-C. Sample looks like below.
} |
...
] |
For the newly added oofDirectives, we only return the vnfc part. For example:
|
|
|
|
|
//Need not filled in today, but for future purposes
]
|
|
: {
|
|
|
|
|
|
|
,
"attribute_value"
:
"direct"
},
{
"attribute_name"
:
"provider_network"
|
|
] |
|
|
|
|
] |
}
...
] |
It is worth noting that the vnic-type is converted from interfaceType in OOF.
If interfaceType is SRIOV-NIC, then OOF returns 'vnic-type is ' as 'direct', If interfaceType is not SRIOV-NIC, OOF return 'vnic-type is ' as 'normal'.
4. ONAP Module Modify
Module Name | Modification | status | owner | comments |
---|---|---|---|---|
SDC | Add SR-IOV NIC attributes. | Completed | Alex Lianhao | |
Policy | Add SR-IOV NIC attributes. | In Progress | ||
VF-C | Add create port process. | In Progress | Haibin | |
SO | Add create port process. | In Progress | ||
OOF | Add the process for cloud region HPA capabilities | In Progess | Ruoyu | |
AAI | Nothing, we just add one hpa-attribute-key and hpa-attribute-value | Completed | - | now [A] API can support. |
ESR | Add SR-IOV NIC info to cloud extra info. | In Progress | Haibin | |
Multi-cloud | Register SR-IOV info to AAI. | In Progress | Haibin | |
VIM | Config SR-IOV NIC and create network with SR-IOV NIC. | In Progress | Haibin |
...