summaryrefslogtreecommitdiff
path: root/DAnCE/dance/Deployment/Deployment_Base.idl
blob: 6e8e4394d745aef600f678caf5571ff4be8ba6af (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
#ifndef DEPLOYMENT_BASE_IDL
#define DEPLOYMENT_BASE_IDL

module Deployment {
  struct Property {
    string name;
    any value;
  };

  typedef sequence < Property > Properties;

  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 */