OMF Main Page » Design Documents » AM API »
List of all services available for the AM cmc class of service¶
1 <services>
2
3 <serviceGroup name="cmc" prefix="/cmc">
4 <info>Information on available testbed resources and simple control functionality</info>
5
6 <service name="allOffHard">
7 <info>Switch off ALL nodes HARD (immediately)</info>
8 </service>
9
10 <service name="allOffSoft">
11 <info>Switch off ALL nodes SOFT (execute halt)</info>
12 <args>
13 <arg isRequired="false" name="domain" value="[domain]">
14 <info>domain for request.</info>
15 </arg>
16 </args>
17 </service>
18
19 <service name="allStatus">
20 <info>Returns the status of all nodes in the testbed</info>
21 <args>
22 <arg isRequired="false" name="domain" value="[domain]">
23 <info>domain for request.</info>
24 </arg>
25 </args>
26 </service>
27
28 <service name="getAllNodes">
29 <info>Returns a list of all nodes in the testbed</info>
30 <args>
31 <arg isRequired="false" name="domain" value="[domain]">
32 <info>domain for request.</info>
33 </arg>
34 </args>
35 </service>
36
37 <service name="nodeSetOn">
38 <info>Switch on a set of nodes</info>
39 <args>
40 <arg isRequired="true" name="nodes" value="setDecl">
41 <info>set of nodes to switch on</info>
42 </arg>
43 </args>
44 </service>
45
46 <service name="offHard">
47 <info>Switch off a node HARD (immediately) at a specific coordinate</info>
48 <args>
49 <arg isRequired="true" name="y" value="ycoord">
50 <info>y coordinates of location</info>
51 </arg>
52 <arg isRequired="true" name="domain" value="domain">
53 <info>domain for request.</info>
54 </arg>
55 <arg isRequired="true" name="x" value="xcoord">
56 <info>x coordinates of location</info>
57 </arg>
58 </args>
59 </service>
60
61 <service name="offSoft">
62 <info>Switch off a node SOFT (execute halt) at a specific coordinate</info>
63 <args>
64 <arg isRequired="true" name="y" value="ycoord">
65 <info>y coordinates of location</info>
66 </arg>
67 <arg isRequired="true" name="domain" value="domain">
68 <info>domain for request.</info>
69 </arg>
70 <arg isRequired="true" name="x" value="xcoord">
71 <info>x coordinates of location</info>
72 </arg>
73 </args>
74 </service>
75
76 <service name="on">
77 <info>Switch on a node at a specific coordinate</info>
78 <args>
79 <arg isRequired="true" name="y" value="ycoord">
80 <info>y coordinates of location</info>
81 </arg>
82 <arg isRequired="true" name="x" value="xcoord">
83 <info>x coordinates of location</info>
84 </arg>
85 </args>
86 </service>
87
88 <service name="reset">
89 <info>Reset a node at a specific coordinate</info>
90 <args>
91 <arg isRequired="true" name="y" value="ycoord">
92 <info>y coordinates of location</info>
93 </arg>
94 <arg isRequired="true" name="domain" value="domain">
95 <info>domain for request.</info>
96 </arg>
97 <arg isRequired="true" name="x" value="xcoord">
98 <info>x coordinates of location</info>
99 </arg>
100 </args>
101 </service>
102
103 </serviceGroup>
104
105 </services>