summaryrefslogtreecommitdiff
path: root/modules/CIAO/DAnCE/Deployment/Deployment_TargetManager.idl
blob: 32de3a9f0e9fa9e50c7d1c83569ee8e67cddddc8 (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
// $Id$

#ifndef TARGETMANAGER_IDL
#define TARGETMANAGER_IDL

#include "DAnCE/Deployment/Deployment_TargetData.idl"
#include "DAnCE/Deployment/Deployment_DeploymentPlan.idl"
#include "DAnCE/Deployment/Deployment_ResourceCommitmentManager.idl"

module Deployment {
  enum DomainUpdateKind {
    Add,
    Delete,
    UpdateAll,
    UpdateDynamic
  };

  interface TargetManager {
    Domain getAllResources ();

    Domain getAvailableResources ();

    ResourceCommitmentManager createResourceCommitment (in ResourceAllocations resources)
      raises (ResourceCommitmentFailure);

    void destroyResourceCommitment (in ResourceCommitmentManager manager);

    void updateDomain ( in ::CORBA::StringSeq elements,
                        in Domain domainSubset,
                        in DomainUpdateKind updateKind);
  };
};

#endif /* TARGETMANAGER_IDL */