summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Deployment_TargetManager.idl
blob: d42de538fd16a8c93a8cd89b1fe399a7ce9d4c2a (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
// $Id$

#ifndef TARGETMANAGER_IDL
#define TARGETMANAGER_IDL

#include "ciao/Deployment_PlanError.idl"
#include "ciao/Deployment_TargetData.idl"
#include "ciao/Deployment_DeploymentPlan.idl"
#include "ciao/Deployment_ResourceCommitmentManager.idl"

module Deployment {

  /// @todo, UpdateAvailable is not in the spec, must be UpdateDynamic
  enum DomainUpdateKind {
    Add,
    Delete,
    UpdateAll,
    UpdateDynamic
  };

  interface TargetManager {
    Domain getAllResources ();
    Domain getAvailableResources ();
    ResourceCommitmentManager createResourceCommitment (in ResourceAllocations manager)
      raises (ResourceCommitmentFailure);
    void destroyResourceCommitment (in ResourceCommitmentManager resources);
    void updateDomain (in ::CORBA::StringSeq elements,
                       in Domain domainSubset,
                       in DomainUpdateKind updateKind);
  };
};

#endif /* TARGETMANAGER_IDL */