summaryrefslogtreecommitdiff
path: root/trunk/CIAO/DAnCE/Deployment/Deployment_Base.idl
blob: 0ae4a2748f6be2536d26e1e6cf1d9b508a2052b7 (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
//$Id$

#ifndef DEPLOYMENT_BASE_IDL
#define DEPLOYMENT_BASE_IDL

module Deployment {

  struct Property
  {
    string name;
    any value;
  };
  typedef sequence < Property > Properties;
  
  // @@changed element order
  struct Requirement {
    string name;
    string resourceType;
    Properties property;
  };

  typedef sequence < Requirement > Requirements;

  enum SatisfierPropertyKind {
    Quantity,
    Capacity,
    Minimum,
    Maximum,
    _Attribute,
    Selection
  };

  struct SatisfierProperty {
    string name;
    SatisfierPropertyKind kind;
    boolean dynamic;
    any value;
  };
  typedef sequence < SatisfierProperty > SatisfierProperties;
};

#endif /* DEPLOYMENT_BASE_IDL */