aboutsummaryrefslogtreecommitdiffstats
path: root/resource-assignment/provider/src/test/resources/param.txt
blob: d1aac4777322ef58daf51bff1c3e468506b9b7c0 (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.openecomp.sdnc.ra.ResourceAllocator
Resource: NetworkCapacity