summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service/src/integration-test/resources/mocoserver/getcpulimits.json
diff options
context:
space:
mode:
authorluxin <luxin7@huawei.com>2017-07-03 10:19:19 +0800
committerluxin <luxin7@huawei.com>2017-07-03 10:19:19 +0800
commit056dcab91efc64b5f9fc39825f9242e7fa0b9d05 (patch)
treed1af18cb6bfa6d3d61f0f77ff958d5a3ce7d6d06 /ResmanagementService/service/src/integration-test/resources/mocoserver/getcpulimits.json
parentd0ad118ba98d809ddc8eece49cf1fe1dfc83fc74 (diff)
Upload nfvo resmanagement code
Change-Id: Ibe023d4b09e1105b84eb43153b4d4037cae691db Signed-off-by: luxin <luxin7@huawei.com>
Diffstat (limited to 'ResmanagementService/service/src/integration-test/resources/mocoserver/getcpulimits.json')
-rw-r--r--ResmanagementService/service/src/integration-test/resources/mocoserver/getcpulimits.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/ResmanagementService/service/src/integration-test/resources/mocoserver/getcpulimits.json b/ResmanagementService/service/src/integration-test/resources/mocoserver/getcpulimits.json
new file mode 100644
index 0000000..c2eb426
--- /dev/null
+++ b/ResmanagementService/service/src/integration-test/resources/mocoserver/getcpulimits.json
@@ -0,0 +1,26 @@
+{
+ "request": {
+ "uri": "/openoapi/vimdriver/v1/limits/1234/cpumemory",
+ "method": "get",
+ "headers": {
+ "Content-Type": "application/json;charset=UTF-8"
+ },
+ "query": {
+ "vimId": "123"
+ }
+ },
+ "response": {
+ "status": 200,
+ "json": {
+ "limits": {
+ "rate": [],
+ "absolute": {
+ "maxTotalVolumes": 1000,
+ "totalVolumesUsed": 14,
+ "maxTotalVolumeGigabytes": 42000,
+ "totalGigabytesUsed":1054
+ }
+ }
+ }
+ }
+} \ No newline at end of file