summaryrefslogtreecommitdiffstats
path: root/resource-assignment/provider/src/test/resources/param.txt
blob: a20ac909dd9d83131d56c180075471f3a13f3b0f (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
isAvailable:
	Input in ctx:
		tmp.resource-allocator.aic-site-id
		tmp.resource-allocator.speed
		tmp.resource-allocator.speed-unit
	Output in ctx:
		tmp.resource-allocator.max-available-speed
		tmp.resource-allocator.speed-unit
	Return:
		SUCCESS – capacity available
		NOT_FOUND – capacity not available
			Error message in: error-message, error-code
		FAILURE – the check has failed (data error, code defect, etc)
			Error message in: error-message, error-code

Reserve:
	Input in ctx:
		tmp.resource-allocator.aic-site-id
		tmp.resource-allocator.speed
		tmp.resource-allocator.speed-unit
		tmp.resource-allocator.service-instance-id
		tmp.resource-allocator.request-type { New, Change }
	Output in ctx:
		tmp.resource-allocator-output.max-available-speed
		tmp.resource-allocator-output.speed-unit
	Return:
		SUCCESS – capacity available
		NOT_FOUND – capacity not available
			Error message in: error-message, error-code
		FAILURE – the check has failed (data error, code defect, etc)
			Error message in: error-message, error-code

Release:
	Input in ctx:
		tmp.resource-allocator.service-instance-id
		tmp.resource-allocator.request-type { Activate, Cancel, Disconnect }
	Return:
		SUCCESS – capacity available
		FAILURE – the check has failed (data error, code defect, etc)
			Error message in: error-message, error-code


Plugin name: org.onap.ccsdk.sli.adaptors.ra.ResourceAllocator
Resource: NetworkCapacity