aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/junit/pnfInput_w_pInterface_LInterface.json
blob: d7a9fd75ac4c8008f8450ffa4491aae40f349e82 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
        "pnf-name": "amdocsPnfName",
        "pnf-name2": "amdocsPnfName2",
        "pnf-name2-source": "pombaName2Source",
        "pnf-id": "11112222pnf88889999",
        "equip-type": "software",
        "equip-vendor": "8df84f0a-737a-4628-be9c-c3c78454f9d9",
        "equip-model": "123134236",
        "management-option": "TBD",
        "sw-version": "2",
        "in-maint": "true",
        "frame-id": "99888",
        "serial-number": "c44b872f6830498b88c4989d67b2a6b7",
        "status": "ACTIVE",
        "nf-function": "nf-Function-123",
        "nf-role": "22222",
        "model-invariant-id": "12345",
        "model-version-id": "2123",
         "admin_state_up": true,
         "resource-version": "28",
        "tenant_id": "c44b872f6830498b88c4989d67b2a6b7",
        "created_at": "2018-03-20T16:49:01Z",
        "provider:network_type": "vlan",
        "p-interfaces":{
             "p-interface": [
              {
		        "interface-name": "bdc3cc2a-c73e-414f-7ddb-367de92801cb",
		        "speed-value": "1225",
		        "speed-units": "mbs",
		        "port-description": "port-used-for-junit",
		        "equipment-identifier": "8df84f0a-737a-4628-be9c-c3c78454f9d9",
		        "interface-role": "123134236",
		        "interface-type": "Software",
		        "prov-status": "2",
		        "in-maint": "true",
		        "resource-version": "99888",
		        "serial-number": "c44b872f6830498b88c4989d67b2a6b7",
		        "status": "ACTIVE",
		        "inv-status": "TBD",
			 	"l-interfaces" : {
						"l-interface" : [
						{
						   "interface-id": "junit-l-interface-5",
						   "interface-name": "junit-l-interface-name5",
						   "interface-role": "interface-role5",
						   "is-port-mirrored": "true",
						   "admin-status": "admin-status5",
						   "network-name": "network-name-amdocs",
						   "macaddr": "macaddr-5",
						   "in-maint": "true"
						},
						{
						   "interface-id": "junit-l-interface-6",
						   "interface-name": "junit-l-interface-name6",
						   "interface-role": "interface-role6",
						   "is-port-mirrored": "true",
						   "admin-status": "admin-status6",
						   "network-name": "network-name-amdocs",
						   "macaddr": "macaddr-6",
						   "in-maint": "true"
						}
					  ]
					}
             }
           ]
        },
        "relationship-list": {
           "relationship": [
            {
                "related-to": "vserver",
                "related-link": "/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/b49b830686654191bb1e952a74b014ad/vservers/vserver/b494cd6e-b9f3-45e0-afe7-e1d1a5f5d74a",
                "relationship-data": [
                    {
                        "relationship-key": "cloud-region.cloud-owner",
                        "relationship-value": "CloudOwner"
                    },
                    {
                        "relationship-key": "cloud-region.cloud-region-id",
                        "relationship-value": "RegionOne"
                    },
                    {
                        "relationship-key": "tenant.tenant-id",
                        "relationship-value": "b49b830686654191bb1e952a74b014ad"
                    },
                    {
                        "relationship-key": "vserver.vserver-id",
                        "relationship-value": "b494cd6e-b9f3-45e0-afe7-e1d1a5f5d74a"
                    }
                ]
            },
            {
                "related-to": "l3-network",
                "relationship-label": "org.onap.relationships.inventory.Uses",
                "related-link": "/aai/v13/network/l3-networks/l3-network/HNP1d77c-1094-41ec-b7f3-94bb30951870",
                "relationship-data": [
                    {
                        "relationship-key": "l3-network.network-id",
                        "relationship-value": "HNP1d77c-1094-41ec-b7f3-94bb30951870"
                    }
                ],
                "related-to-property": [
                    {
                        "property-key": "l3-network.network-name",
                        "property-value": "HNPORTALOAM.OAM"
                    }
                ]
            }
        ]
    }
}