...
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.
"assignmentInfo": [ { "key":"locationType", { "key":"vimId", { "key":"oofDirectives", "directives":[ { "vnfc_directives":[< ID of <ID of VNFC>",< Name of <Name of directive,example flavor_directive>",< name of <name of attribute, such as flavor label>",< value such as cloud specific <value such as cloud specific flavor>"< Name of <Name of directive,example vnic-info>",< name of <name of attribute, such as vnic-type>",< value such as <value such as direct/normal>"< name of <name of attribute, such as provider netweork>",< value such as <value such as physnet>"< Name of <Name of directive>",< name of <name of attribute>",< value ><value>"< Name of <Name of directive>",< name of <name of attribute>",< value ><value >"< name of <name of attribute>",< value ><value >" } ] |
For the newly added oofDirectives, we only return the vnfc part. For example:
"vnfc_directives": [ { "vnfc_id":"", "directives":[ { "directive_name": "flavor_directive", "attributes": [ ] }, ] } } |
It is worth noting that the vnic-type is converted from interfaceType in OOF.
...