1 krisbash 1.1 // ===============================================================
2 // MSFT_NetworkACLService
3 // ===============================================================
4 [Description ( "MSFT_NetworkACLService description." ),
5 Version ( "0.70" )]
6 class MSFT_NetworkACLService : CIM_NetworkPolicyService
7 {
8
9 [Description (
10 "Creates ande Names a new ACL" ),
11 ValueMap { "0", "4096", "4097..32767", "32768..65535" },
12 Values { "Completed with No Error", "Job Started",
13 "Method Reserved", "Vendor Specific" }]
14 uint32 CreateACL(
15
16 [Description (
17 "A string an containing an embedded "
18 "instance of class\subclass MSFT_ACL a subclass of "
19 "CIM_NetworkPolicyRule that is the top level name for an ordered set of rules "
20 ),
21 EmbeddedInstance ( "MSFT_ACL" ) ]
22 krisbash 1.1 String AccessList,
23
24 [In ( false ), Out, Description (
25 "If a the ACL creation is successfully, "
26 "reference to an instance of class "
27 "CIM_NetworkPolicyRule that represents the newly "
28 "created ACL is returned." )]
29 MSFT_ACL REF ResultingACL,
30
31 [In ( false ), Out, Description (
32 "If the operation is long running, then optionally "
33 "a job may be returned." )]
34 CIM_ConcreteJob REF Job);
35
36
37 [Description (
38 "Adds a rule an array of conditions and an action to an existing ACL" ),
39 ValueMap { "0", "4096", "4097..32767", "32768..65535" },
40 Values { "Completed with No Error", "Job Started",
41 "Method Reserved", "Vendor Specific" }]
42 uint32 AddRule(
43 krisbash 1.1 [Description (
44 "Reference to the targeted ACL to add the Rule. This should be an instance of MSFT_ACL"
45
46 )]
47 MSFT_ACL REF TargetACL,
48
49
50 [Description (
51 "A string an containing an embedded "
52 "instance of class\subclass of "
53 "CIM_NetworkPolicyRule"
54 "This rule has an associated array of conditions and actions The way the conditions are"
55 "evaluated are contained in the rule"
56 ),
57 EmbeddedInstance ( "CIM_NetworkPolicyRule" ) ]
58 String NetworkPolicyRule,
59
60 [Description (
61 "The conditions for the rule. A string containing an array of embedded "
62 "instance of class\subclass of "
63 "CIM_NetworkPolicyCondition"
64 krisbash 1.1 ),
65 EmbeddedInstance ( "CIM_NetworkPolicyCondition" ) ]
66 String NetworkPolicyCondition[],
67
68 [Description (
69 "The action to take if the condition evaluate true. A string containing an embedded array of instances"
70 "of class\subclass of "
71 "CIM_NetworkPolicyAction. "
72 ),
73 EmbeddedInstance ( "CIM_NetworkPolicyAction" ) ]
74 String NetworkPolicyAction[],
75
76
77 [Description (
78 "There can be many rules."
79 "The sequence-number argument can be a whole number"
80 "between 1 and 4294967295"
81 )
82 ]
83 uint32 SequenceNumber,
84
85 krisbash 1.1
86 [In ( false ), Out, Description (
87 "If a the Rule creation is successfully, "
88 "reference to an instance of class "
89 "CIM_NetworkPolicyRule that represents the newly "
90 "created ACL is returned." )]
91 CIM_NetworkPolicyRule REF ResultingNetworkPolicyRule,
92
93 [In ( false ), Out, Description (
94 "If the operation is long running, then optionally "
95 "a job may be returned." )]
96 CIM_ConcreteJob REF Job);
97
98 [Description (
99 "Removes and ACL and all associated Rules\n"
100 "The referenced ACL is removed from the system, including "
101 "any rules associated with it. "
102 ),
103 ValueMap { "0", "4096",
104 "4097..32767", "32768..65535" },
105 Values { "Completed with No Error",
106 krisbash 1.1 "Job Started",
107 "Method Reserved", "Vendor Specific" }]
108 uint32 RemoveACL(
109 [Description (
110 "Reference to an instance of class "
111 "MSFT_ACL representing the ACL "
112 "to be removed from the system" )]
113 MSFT_ACL REF RemovedACL,
114 [In ( false ), Out, Description (
115 "If the operation is long running, then optionally "
116 "a job may be returned." )]
117 CIM_ConcreteJob REF Job);
118
119 [Description (
120 "Removes a network policy rule\n"
121 "The referenced rule is removed from the ACL "
122 "There is no modify Rule operation. To modify a rule a new rule must be added"
123 "and the rule to be modified removed."
124 ),
125 ValueMap { "0", "4096",
126 "4097..32767", "32768..65535" },
127 krisbash 1.1 Values { "Completed with No Error",
128 "Job Started",
129 "Method Reserved", "Vendor Specific" }]
130 uint32 RemoveRule(
131 [Description (
132 "Reference to an instance of class "
133 "CIM_NetworkPolicyRule representing the rule "
134 "to be removed from the system" )]
135 CIM_NetworkPolicyRule REF RemovedRule,
136 [In ( false ), Out, Description (
137 "If the operation is long running, then optionally "
138 "a job may be returned." )]
139 CIM_ConcreteJob REF Job);
140
141 [Description (
142 "Changes the sequence number of a network policy rule\n"
143 ),
144 ValueMap { "0", "4096",
145 "4097..32767", "32768..65535" },
146 Values { "Completed with No Error",
147 "Job Started",
148 krisbash 1.1 "Method Reserved", "Vendor Specific" }]
149 uint32 ResequenceRule(
150 [Description (
151 "Reference to an instance of class "
152 "CIM_NetworkPolicyRule representing the rule "
153 "to be resequenced" )]
154 CIM_NetworkPolicyRule REF TargetRule,
155
156 [Description (
157 "New sequence number"
158 "The sequence-number argument can be a whole number"
159 "between 1 and 4294967295"
160 )
161 ]
162 uint32 SequenceNumber,
163
164 [In ( false ), Out, Description (
165 "If the operation is long running, then optionally "
166 "a job may be returned." )]
167 CIM_ConcreteJob REF Job);
168
169 krisbash 1.1 [Description (
170 "Attaches an ACL and all associated Rules to an interface\n"
171
172 ),
173 ValueMap { "0", "4096",
174 "4097..32767", "32768..65535" },
175 Values { "Completed with No Error",
176 "Job Started",
177 "Method Reserved", "Vendor Specific" }]
178 uint32 AttachACL(
179
180 [Description (
181 "Reference to an instance of class "
182 "MSFT_ACL to be applied "
183 )]
184 MSFT_ACL REF AttachedACL,
185
186 [Description (
187 "Reference to a managed element that the "
188 "MSFT_ACL is to be applied "
189 )]
190 krisbash 1.1 CIM_ManagedElement REF TargetInterface,
191 [Description (
192 "Direction the ACL applies to"),
193 ValueMap { "2", "3"},
194 Values { "In", "Out"}
195
196 ]
197 uint16 Direction,
198
199
200 [In ( false ), Out, Description (
201 "If the operation is long running, then optionally "
202 "a job may be returned." )]
203 CIM_ConcreteJob REF Job);
204
205
206 [Description (
207 "Attaches an VACL and all associated Rules to an interface\n"
208
209 ),
210 ValueMap { "0", "4096",
211 krisbash 1.1 "4097..32767", "32768..65535" },
212 Values { "Completed with No Error",
213 "Job Started",
214 "Method Reserved", "Vendor Specific" }]
215 uint32 AttachVACL(
216
217 [Description (
218 "Reference to an instance of class "
219 "MSFT_ACL to be applied "
220 )]
221 MSFT_ACL REF AttachedVACL,
222
223 [Description (
224 "Reference to a managed element that the "
225 "MSFT_ACL is to be applied "
226 )]
227 CIM_NetworkVLAN REF TargetInterface,
228
229
230 [In ( false ), Out, Description (
231 "If the operation is long running, then optionally "
232 krisbash 1.1 "a job may be returned." )]
233 CIM_ConcreteJob REF Job);
234
235 [Description (
236 "Detaches an ACL and all associated Rules from an interface\n"
237
238 ),
239 ValueMap { "0", "4096",
240 "4097..32767", "32768..65535" },
241 Values { "Completed with No Error",
242 "Job Started",
243 "Method Reserved", "Vendor Specific" }]
244 uint32 DetachACL(
245
246 [Description (
247 "Reference to an instance of class "
248 "MSFT_ACL to be detached "
249 )]
250 MSFT_ACL REF AttachedACL,
251
252 [Description (
253 krisbash 1.1 "Reference to a managed element from which the "
254 "MSFT_ACL is to be detached "
255 )]
256 CIM_ManagedElement REF TargetInterface,
257
258 [Description (
259 "Direction the ACL applies to"),
260 ValueMap { "2", "3"},
261 Values { "In", "Out"}
262
263 ]
264 uint16 Direction,
265
266
267 [In ( false ), Out, Description (
268 "If the operation is long running, then optionally "
269 "a job may be returned." )]
270 CIM_ConcreteJob REF Job);
271
272
273
274 krisbash 1.1 [Description (
275 "Adds a rule an array of conditions and an action to an existing ACL" ),
276 ValueMap { "0", "4096", "4097..32767", "32768..65535" },
277 Values { "Completed with No Error", "Job Started",
278 "Method Reserved", "Vendor Specific" }]
279 uint32 AddRuleWithMatchedACL(
280 [Description (
281 "Reference to the targeted ACL to add the rule with the match. This should be an instance of MSFT_ACL"
282
283 )]
284 MSFT_ACL REF TargetACL,
285
286
287 [Description (
288 "A string an containing an embedded "
289 "instance of class\subclass of "
290 "CIM_NetworkPolicyRule"
291 "This rule has an associated array of conditions and actions The way the conditions are"
292 "evaluated are contained in the rule"
293 ),
294 EmbeddedInstance ( "CIM_NetworkPolicyRule" ) ]
295 krisbash 1.1 String NetworkPolicyRule,
296
297 [Description (
298 "Array of References to the ACLs that this rule will match. "
299
300 )]
301 MSFT_ACL REF MatchedACLs[],
302
303
304
305 [Description (
306 "The action to take if the condition evaluate true. A string containing an embedded array of instances"
307 "of class\subclass of "
308 "CIM_NetworkPolicyAction. "
309 ),
310 EmbeddedInstance ( "CIM_NetworkPolicyAction" ) ]
311 String NetworkPolicyAction[],
312
313
314 [Description (
315 "There can be many rules."
316 krisbash 1.1 "The sequence-number argument can be a whole number"
317 "between 1 and 4294967295"
318 )
319 ]
320 uint32 SequenceNumber,
321
322
323 [In ( false ), Out, Description (
324 "If a the Rule creation is successfully, "
325 "reference to an instance of class "
326 "CIM_NetworkPolicyRule that represents the newly "
327 "created ACL is returned." )]
328 CIM_NetworkPolicyRule REF ResultingNetworkPolicyRule,
329
330 [In ( false ), Out, Description (
331 "If the operation is long running, then optionally "
332 "a job may be returned." )]
333 CIM_ConcreteJob REF Job);
334
335
336
337 krisbash 1.1 };
|