summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/test/resources/preload1-rpc-network.json
blob: 04bea9e115deff1de1864bd198859d16a1944b1c (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
    "input": {
        "preload-network-topology-information": {
            "host-routes": [
                {
                    "next-hop": "10.1.12.1",
                    "route-prefix": "12"
                }
            ],
            "is-external-network": true,
            "is-provider-network": true,
            "is-shared-network": true,
            "network-policy": [
                {
                    "network-policy-fqdn": "policy-sdnc.onap.org",
                    "network-policy-id": "123"
                }
            ],
            "network-topology-identifier-structure": {
                "eipam-v4-address-plan": "plan9",
                "eipam-v6-address-plan": "plan9v6",
                "is-trunked": true,
                "network-id": "preload1",
                "network-instance-group-id": "abc123",
                "network-name": "syfy",
                "network-role": "secret",
                "network-technology": "soupcan",
                "network-type": "fake",
                "related-networks": {
                    "related-network": [
                        {
                            "network-id": "skynet",
                            "network-role": "master",
                            "vlan-tags": {
                                "is-private": true,
                                "lower-tag-id": 0,
                                "upper-tag-id": 0,
                                "vlan-interface": "le0"
                            }
                        }
                    ]
                },
                "segmentation-id": "seg1"
            },
            "physical-network-name": "skynet",
            "route-table-reference": [
                {
                    "route-table-reference-fqdn": "sky.net",
                    "route-table-reference-id": "ref1"
                }
            ],
            "subnets": [
                {
                    "addr-from-start": "Y",
                    "cidr-mask": "255.255.0.0",
                    "dhcp-enabled": "Y",
                    "dhcp-end-address": "10.1.2.254",
                    "dhcp-start-address": "10.1.2.1",
                    "gateway-address": "10.1.2.255",
                    "ip-version": "ipv4",
                    "start-address": "10.1.2.1",
                    "subnet-name": "subnet1",
                    "subnet-role": "puppies",
                    "subnet-sequence": 0
                }
            ],
            "vpn-bindings": [
                {
                    "aic-zone": "zone1",
                    "global-route-target": "string",
                    "route-target-role": "string",
                    "vpn-binding-id": "string",
                    "vpn-name": "string"
                }
            ]
        },
        "request-information": {
            "notification-url": "http://dev.null.com",
            "order-number": "123456",
            "order-version": "2010.06",
            "request-action": "CreateNetworkInstance",
            "request-id": "REQ123456",
            "source": "curl"
        },
        "sdnc-request-header": {
            "svc-action": "reserve",
            "svc-notification-url": "http://dev.null.com",
            "svc-request-id": "SVCREQ123456"
        }
    }
}