summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service/src/integration-test/resources/mocoserver/getports.json
blob: 37902ca5e6c83600c9d7c2f2dcb4c5954c7d4811 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
    "request": {
        "uri": "/openoapi/vimdriver/v1/ports",
        "method": "get",
        "headers": {
            "Content-Type": "application/json;charset=UTF-8"
        },
        "query": {
            "vimId": "123",
            "tenantId": "1234"
        }
    },
    "response": {
        "status": 200,
        "json": {
          "ports": [{
        "status": "ACTIVE",
        "name": "",
        "allowed_address_pairs": [],
        "admin_state_up": true,
        "network_id": "70c1db1f-b701-45bd-96e0-a313ee3430b3",
        "project_id": "",
        "tenant_id": "",
        "extra_dhcp_opts": [],
        "device_owner": "network:router_gateway",
        "mac_address": "fa:16:3e:58:42:ed",
        "fixed_ips": [{
            "subnet_id": "008ba151-0b8c-4a67-98b5-0d2b87666062",
            "ip_address": "172.24.4.2"
        }],
        "id": "d80b1a3b-4fc1-49f3-952e-1e2ab7081d8b",
        "security_groups": [],
        "device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824",
        "vimId": "123",
        "vimName": "vim"
    },
    {
        "status": "ACTIVE",
        "name": "",
        "allowed_address_pairs": [],
        "admin_state_up": true,
        "network_id": "f27aa545-cbdd-4907-b0c6-c9e8b039dcc2",
        "project_id": "d397de8a63f341818f198abb0966f6f3",
        "tenant_id": "d397de8a63f341818f198abb0966f6f3",
        "extra_dhcp_opts": [],
        "device_owner": "network:router_interface",
        "mac_address": "fa:16:3e:bb:3c:e4",
        "fixed_ips": [{
            "subnet_id": "288bf4a1-51ba-43b6-9d0a-520e9005db17",
            "ip_address": "10.0.0.1"
        }],
        "id": "f71a6703-d6de-4be1-a91a-a570ede1d159",
        "security_groups": [],
        "device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824",
        "vimId": "123",
        "vimName": "vim"
    }]
        }
    }
}