summaryrefslogtreecommitdiffstats
path: root/pike/pike/resource/tests/tests_infra_workload.py
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-09-20 10:39:57 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-09-20 10:39:57 +0800
commitd6279df2157d37978895cb246b2e52cb992c3d1f (patch)
tree88545d14a70a70a330352b727efdb314414dc6cc /pike/pike/resource/tests/tests_infra_workload.py
parentdab0c9f0edb0d2df7828009babb6686f625ad0c4 (diff)
Add UT and Funtion for infra SRIOV
Change-Id: I6ce0f4e8a9a6b7984deeb28ae9ff50df3995e60c Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'pike/pike/resource/tests/tests_infra_workload.py')
-rw-r--r--pike/pike/resource/tests/tests_infra_workload.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pike/pike/resource/tests/tests_infra_workload.py b/pike/pike/resource/tests/tests_infra_workload.py
index 48c29d15..e473c84f 100644
--- a/pike/pike/resource/tests/tests_infra_workload.py
+++ b/pike/pike/resource/tests/tests_infra_workload.py
@@ -51,6 +51,16 @@ MOCK_HEAT_CREATE_BODY1 = {
"attribute_value":"m1.hpa.medium"
}
]
+ },
+ {
+ "type":"sriovNetNetwork_directives",
+ "attributes":[
+ {
+ "attribute_name":"physnetwork_label",
+ "attribute_value":"physnet1"
+ }
+ ]
+
}
]
}