blob: 91a9c84909999838ef8c44332253d5810a96a679 (
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
|
// $Id$
#ifndef TARGETMANAGER_IDL
#define TARGETMANAGER_IDL
#include "DAnCE/Deployment/Deployment_PlanError.idl"
#include "DAnCE/Deployment/Deployment_TargetData.idl"
#include "DAnCE/Deployment/Deployment_DeploymentPlan.idl"
// Only needed for ResourceNotAvailable but that should go, so this include also
#include "DAnCE/Deployment/Deployment_ApplicationManager.idl"
#include "DAnCE/Deployment/Deployment_ResourceCommitmentManager.idl"
module Deployment {
/// @todo, UpdateAvailable is not in the spec, must be UpdateDynamic
enum DomainUpdateKind {
Add,
Delete,
UpdateAll,
// @@changed
UpdateDynamic
};
interface TargetManager {
Domain getAllResources ();
Domain getAvailableResources ();
// @@changed
ResourceCommitmentManager createResourceCommitment (in ResourceAllocations resources)
raises (ResourceCommitmentFailure);
// @@added
void destroyResourceCommitment (in ResourceCommitmentManager manager);
/// @todo This is not part of 06-04-01
// @@delete:
//void releaseResources (in DeploymentPlan argname);
void updateDomain (in ::CORBA::StringSeq elements,
in Domain domainSubset,
in DomainUpdateKind updateKind);
};
};
#endif /* TARGETMANAGER_IDL */
|