summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service/src/integration-test/resources/testcase/hostroa/createhostsfail1.json
blob: 50573875d8ccafe574b11cd1e30d865be1157c12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
    "request": {
        "uri": "/api/resmgr/v1/hosts",
        "method": "post",
        "headers": {
            "Content-Type": "application/json;charset=UTF-8"
        },
        "json": {
        "id":"12345678",
        "name": "hostName",
        "cpu": "20",
        "memory": "8",
        "disk": "100",
        "vimId": "123",
        "vimName": "456"
    }
    },
    "response": {
        "status": 200,
        "json": {
            "msg": "org.openo.nfvo.resmanage.service.host.add.id.check"
        }
    }
}