summaryrefslogtreecommitdiff
path: root/modules/CIAO/DAnCE/Deployment/Deployment_Base.idl
blob: c0db10ecb14532354ee83137241f265d670d929c (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;
        
        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 */