diff options
Diffstat (limited to 'windriver')
-rw-r--r-- | windriver/titanium_cloud/resource/views/infra_workload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/windriver/titanium_cloud/resource/views/infra_workload.py b/windriver/titanium_cloud/resource/views/infra_workload.py index 6b620daf..ef57e657 100644 --- a/windriver/titanium_cloud/resource/views/infra_workload.py +++ b/windriver/titanium_cloud/resource/views/infra_workload.py @@ -58,7 +58,7 @@ class InfraWorkload(APIView): for directive in oof_directive.get("directives",[]): if directive["type"] == "vnfc": for directive2 in directive.get("directives",[]): - if directive2["type"] == "flavor_directives": + if directive2["type"] in ["flavor_directives", "sriovNICNetwork_directives"]: for attr in directive2.get("attributes",[]): flavor_label = attr.get("attribute_name", None) flavor_value = attr.get("attribute_value", None) |