summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/tunnelxconn-allotted-resource.json
blob: 0d82bb65e3cb2ecb2dc7ab92ec7c4abb11b3995e (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
{
	"tunnelxconn-allotted-resource": [{
		"allotted-resource-id": ${tx-ar.allotted-resource-id},
		"allotted-resource-data": {
			"tunnelxconn-topology": {
				"allotted-resource-identifiers": {
					"consuming-service-instance-id": ${tx-ar.allotted-resource-data.tunnelxconn-topology.allotted-resource-identifiers.consuming-service-instance-id},
					"allotted-resource-name": ${tx-ar.allotted-resource-data.tunnelxconn-topology.allotted-resource-identifiers.allotted-resource-name},
					"allotted-resource-id": ${tx-ar.allotted-resource-data.tunnelxconn-topology.allotted-resource-identifiers.allotted-resource-id},
					"parent-service-instance-id": ${tx-ar.allotted-resource-data.tunnelxconn-topology.allotted-resource-identifiers.parent-service-instance-id},
					"allotted-resource-type": ${tx-ar.allotted-resource-data.tunnelxconn-topology.allotted-resource-identifiers.allotted-resource-type}
				},
				"onap-model-information": {
					"model-invariant-uuid": ${tx-ar.allotted-resource-data.tunnelxconn-topology.onap-model-information.model-invariant-uuid},
					"model-customization-uuid": ${tx-ar.allotted-resource-data.tunnelxconn-topology.onap-model-information.model-customization-uuid},
					"model-uuid": ${tx-ar.allotted-resource-data.tunnelxconn-topology.onap-model-information.model-uuid},
					"model-version": ${tx-ar.allotted-resource-data.tunnelxconn-topology.onap-model-information.model-version}
				},
				"tunnelxconn-assignments": {
					"vni": ${tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vni},
					"vgmux-bearer-ip": ${tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-bearer-ip},
					"vgmux-lan-ip": ${tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-lan-ip},
					"vg-ip": ${tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vg-ip},
				},
				"tunnelxconn-parameters": {
					"param" : [
						{	
							"name" : "VNI",
							"value": ${tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vni}
						},
						{
							"name" : "vgmux_private_ip_2",
							"value": ${tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-bearer-ip},
						},
						{
							"name" : "vgmux_private_ip_0",
							"value": ${tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-lan-ip}
						},
						{
							"name" : "vgw_private_ip_0",
							"value": ${tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vg-ip}

						}
					]
								
				}
				
			},
			"allotted-resource-operation-information": {
			"allotted-resource-information": {
      				"allotted-resource-id": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-id},
					"allotted-resource-type": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-type},
					"parent-service-instance-id": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id},
					"onap-model-information": {
						"model-invariant-uuid": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-invariant-uuid},
						"model-customization-uuid": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-customization-uuid},
						"model-uuid": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-uuid},
						"model-version": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-version}
      				}
    			},
    			"sdnc-request-header": {
      				"svc-request-id": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id},
      				"svc-action": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-action}
    			},
				"request-information": {
					"request-id": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-id},
					"source": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.request-information.source},
					"order-version": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-version},
					"order-number": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-number},
					"notification-url": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.request-information.notification-url},
					"request-action": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action}
				},
				"tunnelxconn-request-input": {
					"brg-wan-mac-address": ${tx-ar.allotted-resource-data.allotted-resource-operation-information.tunnelxconn-request-input.brg-wan-mac-address}
    			}
			},
			"allotted-resource-oper-status": {
				"last-action": ${tx-ar.allotted-resource-data.allotted-resource-oper-status.last-action},
				"modify-timestamp": ${tx-ar.allotted-resource-data.allotted-resource-oper-status.modify-timestamp},
				"last-order-status": ${tx-ar.allotted-resource-data.allotted-resource-oper-status.last-order-status},
				"create-timestamp": ${tx-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp},
				"order-status": ${tx-ar.allotted-resource-data.allotted-resource-oper-status.order-status},
				"last-rpc-action": ${tx-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action},
				"last-svc-request-id": ${tx-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id}
			}
		},
		"allotted-resource-status" : {
			"action": ${tx-ar.allotted-resource-status.action},
			"rpc-name": ${tx-ar.allotted-resource-status.rpc-name},
			"rpc-action": ${tx-ar.allotted-resource-status.rpc-action}
		}
	}]
}