1 krisbash 1.1 // ===============================================================
2 // MSFT_SwitchService
3 // ===============================================================
4 [Description ( "MSFT_SwitchService description." ),
5 Version ( "0.7" )]
6 class MSFT_SwitchService : CIM_Service
7
8 {
9 [Description (
10 "Defines and assigns a protcol endpoint subclass to a physical or virtual port or interface,"
11 "for example an instance of CIM_EthernetPort or MSFT_Subinterface\n"
12 "Input that is not completely specified may be filled out "
13 "with default values." ),
14 ValueMap { "0", "4096", "4097..32767", "32768..65535" },
15 Values { "Completed with No Error", "Job Started",
16 "Method Reserved", "Vendor Specific" }]
17 uint32 AddProtocolEndpoint(
18 [Description (
19 "Reference to the targeted interface. This instance of CIM_ComputerSystem, CIM_EthernetPort, or a NetworkVlan"
20 )]
21 CIM_ManagedElement REF TargetInterface,
22 krisbash 1.1
23 [Description (
24 "A string an containing an embedded "
25 "instance of class\subclass of "
26 "CIM_ProtocolEndpoint that describes "
27 "the aspects of a protocol endpoint. For example"
28 "CIM_VLANEndPoint will be associated with an interfaces CIM_LanEndpoint using the association"
29 "CIM_BindsToLANEndpoint\n" ),
30 EmbeddedInstance ( "CIM_ProtocolEndpoint" )
31 ]
32 string ProtocolEndpoint[],
33
34 [Description (
35 "An array of strings each containing an embedded "
36 "instance of class\subclass of "
37 "CIM_SettingData that describes "
38 "are associated with the new protocol endpoint "
39 "Generally these should be associated to the" "
40 CIM_ProtocolEndpoint with an Instance of CIM_ElementSettingData"
41 "An example is the association of CIM_VLANEndpointSettingdata with CIM_VLANEndpoint" ),
42 EmbeddedInstance ( "CIM_SettingData" )
43 krisbash 1.1 ]
44 string EndPointSettings[],
45
46 [In ( false ), Out, Description (
47 "If a the assignment of a protocol endpoint is successfully, "
48 "reference to an instance of class "
49 "CIM_ProtocolEndpoint that represents the newly "
50 "defined Endpoint is returned." )]
51 CIM_ProtocolEndpoint REF ResultingEndpoint,
52
53 [In ( false ), Out, Description (
54 "If the operation is long running, then optionally "
55 "a job may be returned." )]
56 CIM_ConcreteJob REF Job);
57
58 [Description (
59 "removes a protcol endpoint subclass from a physical or virtual port or interface,"
60 "for example an instance of CIM_EthernetPort or MSFT_Subinterface\n"
61 ),
62 ValueMap { "0", "4096",
63 "4097..32767", "32768..65535" },
64 krisbash 1.1 Values { "Completed with No Error",
65 "Method Parameters Checked - Job Started",
66 "Method Reserved", "Vendor Specific" }]
67 uint32 RemoveProtocolEndpoint(
68 [Description (
69 "Reference to the targeted instance of CIM_ProtocolEndpoint. "
70 )]
71 CIM_ProtocolEndpoint REF Endpoint,
72
73 [In ( false ), Out, Description (
74 "If the operation is long running, then optionally "
75 "a job may be returned." )]
76 CIM_ConcreteJob REF Job);
77
78
79
80
81 [Description (
82 "Adds one or more VLANs to the targeted switch"),
83 ValueMap { "0",
84 "4096",
85 krisbash 1.1 "4097..32767", "32768..65535" },
86 Values { "Completed with No Error",
87 "Method Parameters Checked - Job Started",
88 "Method Reserved", "Vendor Specific" }]
89 uint32 AddVLAN(
90 [Description (
91 "Reference to the targeted instance of CIM_COmputerSystem. "
92 )]
93 CIM_ComputerSystem REF TargetedSwitch,
94
95 [Description (
96 "A string an containing an embedded "
97 "instance of class\subclass of "
98 "NetWorkVLan Class containing at least the VLANId property set." ),
99 EmbeddedInstance ( "MSFT_NetworkVLAN" )
100 ]
101 string NetworkVLAN[],
102
103 [In ( false ), Out, Description (
104 "Reference to the new NetworkVLAN instances" )]
105 MSFT_NetworkVLAN REF VLAN[],
106 krisbash 1.1
107 [In ( false ), Out, Description (
108 "If the operation is long running, then optionally "
109 "a job may be returned." )]
110 CIM_ConcreteJob REF Job);
111
112 [Description (
113 "removes one or more NetworkVLANs"
114 ),
115 ValueMap { "0", "4096",
116 "4097..32767", "32768..65535" },
117 Values { "Completed with No Error",
118 "Method Parameters Checked - Job Started",
119 "Method Reserved", "Vendor Specific" }]
120 uint32 RemoveVLAN(
121 [Description (
122 "Reference to the targeted instance of MSFT_NetworkVLAN. "
123 )]
124 MSFT_NetworkVLAN REF VLAN[],
125
126 [In ( false ), Out, Description (
127 krisbash 1.1 "If the operation is long running, then optionally "
128 "a job may be returned." )]
129 CIM_ConcreteJob REF Job);
130
131
132
133 [Description (
134 "enable one or more NetworkVLANs"
135 ),
136 ValueMap { "0", "4096",
137 "4097..32767", "32768..65535" },
138 Values { "Completed with No Error",
139 "Method Parameters Checked - Job Started",
140 "Method Reserved", "Vendor Specific" }]
141 uint32 EnableVLAN(
142 [Description (
143 "Reference to the targeted instance of MSFT_NetworkVLAN to Enable. "
144 )]
145 MSFT_NetworkVLAN REF VLAN[],
146
147 [In ( false ), Out, Description (
148 krisbash 1.1 "If the operation is long running, then optionally "
149 "a job may be returned." )]
150 CIM_ConcreteJob REF Job);
151
152
153 [Description (
154 "disable one or more NetworkVLANs"
155 ),
156 ValueMap { "0", "4096",
157 "4097..32767", "32768..65535" },
158 Values { "Completed with No Error",
159 "Method Parameters Checked - Job Started",
160 "Method Reserved", "Vendor Specific" }]
161 uint32 Disable_VLAN(
162 [Description (
163 "Reference to the targeted instance of MSFT_NetworkVLAN to Enable. "
164 )]
165 MSFT_NetworkVLAN REF VLAN[],
166
167 [In ( false ), Out, Description (
168 "If the operation is long running, then optionally "
169 krisbash 1.1 "a job may be returned." )]
170 CIM_ConcreteJob REF Job);
171
172
173 [Description (
174 " Create a Link aggregation," ),
175 ValueMap { "0", "4096", "4097..32767", "32768..65535" },
176 Values { "Completed with No Error", "Job Started",
177 "Method Reserved", "Vendor Specific" }]
178 uint32 CreateLinkAggregation(
179
180
181 [Description (
182 "A string an containing an embedded "
183 "instance of class\subclass of "
184 "LinkAggragation that describes "
185 "the aspects of the Link aggregation. " ),
186 EmbeddedInstance ( "MSFT_LinkAggregation" )
187 ]
188 string LinkAggragation[],
189
190 krisbash 1.1 [Description (
191 "An array of references to instance of CIM_EthernetPort that "
192 "will be used to form the aggregation " )
193 ]
194 CIM_EthernetPort ref EthernetPort[],
195
196 [In ( false ), Out, Description (
197 "If a the creation of a Link Aggregation is successfully, "
198 "reference to the instance of class "
199 "MSFT_LinkAggregation that was created is returned." )]
200 MSFT_LinkAggregation REF ResultingLinkAggregation,
201
202 [In ( false ), Out, Description (
203 "If the operation is long running, then optionally "
204 "a job may be returned." )]
205 CIM_ConcreteJob REF Job);
206
207 [Description (
208 "removes a Link Aggregation"
209 ),
210 ValueMap { "0", "4096",
211 krisbash 1.1 "4097..32767", "32768..65535" },
212 Values { "Completed with No Error",
213 "Method Parameters Checked - Job Started",
214 "Method Reserved", "Vendor Specific" }]
215 uint32 RemoveLinkAggregation(
216 [Description (
217 "Reference to the targeted instance of MSFT_LinkAggregation. ")]
218 MSFT_LINKAggregation REF LinkAggregation,
219
220 [In ( false ), Out, Description (
221 "If the operation is long running, then optionally "
222 "a job may be returned." )]
223 CIM_ConcreteJob REF Job);
224
225
226
227 [Description (
228 " Add an Ethernet port to a Link aggregation," ),
229 ValueMap { "0", "4096", "4097..32767", "32768..65535" },
230 Values { "Completed with No Error", "Job Started",
231 "Method Reserved", "Vendor Specific" }]
232 krisbash 1.1 uint32 AddPortToAggregation(
233
234
235 [Description (
236 "Aggregation to which to add the Ethernet port "
237 )
238 ]
239 MSFT_LinkAggregation ref LinkAggregation,
240
241 [Description (
242 "An array of references to instance of CIM_EthernetPort that "
243 "will be added to the Link Aggregation "
244 )
245
246 ]
247 CIm_EthernetPort ref EthernetPort[],
248
249
250
251 [In ( false ), Out, Description (
252 "If the operation is long running, then optionally "
253 krisbash 1.1 "a job may be returned." )]
254 CIM_ConcreteJob REF Job);
255
256 [Description (
257 "removes a port from A Link Aggregation"
258 ),
259 ValueMap { "0", "4096",
260 "4097..32767", "32768..65535" },
261 Values { "Completed with No Error",
262 "Method Parameters Checked - Job Started",
263 "Method Reserved", "Vendor Specific" }]
264 uint32 RemoveportFromLinkAggregation(
265 [Description (
266 "Reference to the targeted instance of CIM_EthernetPort. "
267 )]
268 CIM_EthernetPort REF EthernetPort,
269
270 [In ( false ), Out, Description (
271 "If the operation is long running, then optionally "
272 "a job may be returned." )]
273 CIM_ConcreteJob REF Job);
274 krisbash 1.1
275
276 };
|