første xml update
[virt-orchestrator.git] / vFLOWER / content / Workflows / Library / vCenter / Virtual Machine management / Clone / Tools / Get a VirtualEthernetCard to change the network.workflow.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <workflow xmlns="http://vmware.com/vco/workflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://vmware.com/vco/workflow http://vmware.com/vco/workflow/Workflow-v4.xsd" root-name="item3" object-name="Workflow:name=generic" id="BD8080808080808080808080808080808AC280800122528313869552e41805bb1" version="0.3.2" api-version="3.1.0" allowed-operations="fv" restartMode="1" resumeFromFailedMode="0">
3     <display-name>Get a VirtualEthernetCard to change the network</display-name>
4
5     <description>Returns a new ethernet card to update a virtual device. Contains only the device key of the given virtual device and the new network.</description>
6
7     <position x="185.0" y="9.045454545454543"/>
8
9     <input>
10         <param name="sourceVirtualEthernetCard" type="Any">
11             <description>VirtualEthernetCard for which to change the network</description>
12         </param>
13         <param name="network" type="Any">
14             <description>vCenter Server network to which to bind the network adapter</description>
15         </param>
16     </input>
17
18     <output>
19         <param name="virtualEthernetCard" type="Any">
20             <description>VirtualEthernetCard object</description>
21         </param>
22     </output>
23
24     <attrib name="key" type="number" read-only="false">
25         <value encoded="n">0.0</value>
26         <description>(Optional) Unique key to distinguish this device from other devices in the same virtual machine. Must be unique. You can only set the key at creation time.</description>
27     </attrib>
28     <attrib name="backing" type="Any" read-only="false">
29         <value encoded="n">__NULL__</value>
30         <description>(Optional) Any valid VirtualDeviceBackingInfo, depending on the device</description>
31     </attrib>
32     <attrib name="deviceName" type="string" read-only="false">
33         <value encoded="n"/>
34         <description>Name of the device on the host system</description>
35     </attrib>
36     <attrib name="notSupportedDeviceType" type="string" read-only="false">
37         <value encoded="n">The device type is not supported</value>
38         <description>Unsupported device types</description>
39     </attrib>
40
41     <workflow-item name="item0" out-name="item6" type="custom-condition" alt-out-name="item16">
42         <display-name>VirtualE1000</display-name>
43
44         <script encoded="false">
45 return sourceVirtualEthernetCard instanceof VcVirtualE1000;
46         </script>
47
48         <in-binding>
49             <bind name="sourceVirtualEthernetCard" type="Any" export-name="sourceVirtualEthernetCard"/>
50         </in-binding>
51
52         <position x="145.0" y="263.59090909090907"/>
53     </workflow-item>
54
55     <workflow-item name="item1" out-name="item7" type="custom-condition" alt-out-name="item2">
56         <display-name>VirtualPCNet32</display-name>
57
58         <script encoded="false">
59 return sourceVirtualEthernetCard instanceof VcVirtualPCNet32;
60         </script>
61
62         <in-binding>
63             <bind name="sourceVirtualEthernetCard" type="Any" export-name="sourceVirtualEthernetCard"/>
64         </in-binding>
65
66         <position x="145.0" y="390.8636363636363"/>
67     </workflow-item>
68
69     <workflow-item name="item2" out-name="item8" type="custom-condition" alt-out-name="item11">
70         <display-name>VirtualVmxnet</display-name>
71
72         <script encoded="false">
73 return sourceVirtualEthernetCard instanceof VcVirtualVmxnet;
74         </script>
75
76         <in-binding>
77             <bind name="sourceVirtualEthernetCard" type="Any" export-name="sourceVirtualEthernetCard"/>
78         </in-binding>
79
80         <position x="145.0" y="472.68181818181813"/>
81     </workflow-item>
82
83     <workflow-item name="item3" out-name="item13" type="task">
84         <display-name>Get key</display-name>
85
86         <script encoded="false">
87 key = sourceVirtualEthernetCard.key;
88 if (network == null) throw "Reference Error: network cannot be null";
89 deviceName = network.name;
90         </script>
91
92         <in-binding>
93             <bind name="sourceVirtualEthernetCard" type="Any" export-name="sourceVirtualEthernetCard"/>
94             <bind name="network" type="Any" export-name="network"/>
95         </in-binding>
96
97         <out-binding>
98             <bind name="key" type="number" export-name="key"/>
99             <bind name="deviceName" type="string" export-name="deviceName"/>
100         </out-binding>
101
102         <position x="145.0" y="73.59090909090908"/>
103     </workflow-item>
104
105     <workflow-item name="item4" out-name="item0" type="task" script-module="com.vmware.library.vc.vm.spec.config.device.backing.device/getVirtualEthernetCardNetworkBackingInfo">
106         <display-name>getVirtualEthernetCardNetworkBackingInfo</display-name>
107
108         <script encoded="false">
109 //Auto generated script, cannot be modified !
110 actionResult = System.getModule("com.vmware.library.vc.vm.spec.config.device.backing.device").getVirtualEthernetCardNetworkBackingInfo(deviceName,network) ;
111         </script>
112
113         <in-binding>
114             <bind name="deviceName" type="string" export-name="deviceName">
115                 <description>The name of the device on the host system.</description>
116             </bind>
117             <bind name="network" type="Any" export-name="network">
118                 <description>Reference to the network managed object to which this backing applies. This is not used during configuration.</description>
119             </bind>
120         </in-binding>
121
122         <out-binding>
123             <bind name="actionResult" type="Any" export-name="backing"/>
124         </out-binding>
125
126         <description>The virtual Ethernet card backing class.</description>
127
128         <position x="65.0" y="209.95454545454544"/>
129     </workflow-item>
130
131     <workflow-item name="item5" throw-bind-name="notSupportedDeviceType" type="end" end-mode="1">
132         <position x="185.0" y="818.1363636363635"/>
133     </workflow-item>
134
135     <workflow-item name="item6" out-name="item9" type="task" script-module="com.vmware.library.vc.vm.spec.config.device/getVirtualE1000">
136         <display-name>getVirtualE1000</display-name>
137
138         <script encoded="false">
139 //Auto generated script, cannot be modified !
140 actionResult = System.getModule("com.vmware.library.vc.vm.spec.config.device").getVirtualE1000(backing,connectable,controllerKey,deviceInfo,key,unitNumber,addressType,macAddress,wakeOnLanEnabled) ;
141         </script>
142
143         <in-binding>
144             <bind name="backing" type="Any" export-name="backing">
145                 <description>[Optional] Any valid VirtualDeviceBackingInfo, depend on the device itself.</description>
146             </bind>
147             <bind name="connectable" type="Any" explicitly-not-bound="true">
148                 <description>[Optional] VimVirtualDeviceConnectInfo: Information about restrictions on removing this device while a virtual machine is running. If the device is not removable, then this property is null.</description>
149             </bind>
150             <bind name="controllerKey" type="number" explicitly-not-bound="true">
151                 <description>[Optional] Object key that denotes the controller object for this device. This property contains the key property value of the controller device object.</description>
152             </bind>
153             <bind name="deviceInfo" type="Any" explicitly-not-bound="true">
154                 <description>[Optional] VimDescription: This property provides a label and summary information for the device.</description>
155             </bind>
156             <bind name="key" type="number" export-name="key">
157                 <description>[Optional] This property is a unique key that distinguishes this device from other devices in the same virtual machine. This must be unique. Can only be setted by users at create time</description>
158             </bind>
159             <bind name="unitNumber" type="number" explicitly-not-bound="true">
160                 <description>[Optional] Unit number of this device on its controller. This property is null if the controller property is null (for example, when the device is not attached to a specific controller object).  Normally, two devices on the same controller may not be assigned the same unit number.</description>
161             </bind>
162             <bind name="addressType" type="string" explicitly-not-bound="true">
163                 <description>[Optional] MAC address type.  Valid values for address type are: Manual  Statically assigned MAC address.  Generated  Automatically generated MAC address.  Assigned  MAC address assigned by VirtualCenter.</description>
164             </bind>
165             <bind name="macAddress" type="string" explicitly-not-bound="true">
166                 <description>[Optional] MAC address assigned to the virtual network adapter. Clients can set this property to any of the allowed address types. The server might override the specified value for "Generated" or "Assigned" if it does not fall in the right ranges or is determined to be a duplicate.</description>
167             </bind>
168             <bind name="wakeOnLanEnabled" type="boolean" explicitly-not-bound="true">
169                 <description>[Optional] Indicates whether wake-on-LAN is enabled on this virtual network adapter. Clients can set this property to selectively enable or disable wake-on-LAN.</description>
170             </bind>
171         </in-binding>
172
173         <out-binding>
174             <bind name="actionResult" type="Any" export-name="virtualEthernetCard"/>
175         </out-binding>
176
177         <description>The VirtualE1000 data object type represents an instance of the E1000 virtual Ethernet adapter attached to a virtual machine.</description>
178
179         <position x="345.0" y="273.59090909090907"/>
180     </workflow-item>
181
182     <workflow-item name="item7" out-name="item9" type="task" script-module="com.vmware.library.vc.vm.spec.config.device/getVirtualPCNet32">
183         <display-name>getVirtualPCNet32</display-name>
184
185         <script encoded="false">
186 //Auto generated script, cannot be modified !
187 actionResult = System.getModule("com.vmware.library.vc.vm.spec.config.device").getVirtualPCNet32(backing,connectable,controllerKey,deviceInfo,key,unitNumber,addressType,macAddress,wakeOnLanEnabled) ;
188         </script>
189
190         <in-binding>
191             <bind name="backing" type="Any" export-name="backing">
192                 <description>[Optional] Any valid VirtualDeviceBackingInfo, depend on the device itself.</description>
193             </bind>
194             <bind name="connectable" type="Any" explicitly-not-bound="true">
195                 <description>[Optional] VimVirtualDeviceConnectInfo: Information about restrictions on removing this device while a virtual machine is running. If the device is not removable, then this property is null.</description>
196             </bind>
197             <bind name="controllerKey" type="number" explicitly-not-bound="true">
198                 <description>[Optional] Object key that denotes the controller object for this device. This property contains the key property value of the controller device object.</description>
199             </bind>
200             <bind name="deviceInfo" type="Any" explicitly-not-bound="true">
201                 <description>[Optional] VimDescription: This property provides a label and summary information for the device.</description>
202             </bind>
203             <bind name="key" type="number" export-name="key">
204                 <description>[Optional] This property is a unique key that distinguishes this device from other devices in the same virtual machine. This must be unique. Can only be setted by users at create time</description>
205             </bind>
206             <bind name="unitNumber" type="number" explicitly-not-bound="true">
207                 <description>[Optional] Unit number of this device on its controller. This property is null if the controller property is null (for example, when the device is not attached to a specific controller object).  Normally, two devices on the same controller may not be assigned the same unit number.</description>
208             </bind>
209             <bind name="addressType" type="string" explicitly-not-bound="true">
210                 <description>[Optional] MAC address type.  Valid values for address type are: Manual  Statically assigned MAC address.  Generated  Automatically generated MAC address.  Assigned  MAC address assigned by VirtualCenter.</description>
211             </bind>
212             <bind name="macAddress" type="string" explicitly-not-bound="true">
213                 <description>[Optional] MAC address assigned to the virtual network adapter. Clients can set this property to any of the allowed address types. The server might override the specified value for "Generated" or "Assigned" if it does not fall in the right ranges or is determined to be a duplicate.</description>
214             </bind>
215             <bind name="wakeOnLanEnabled" type="boolean" explicitly-not-bound="true">
216                 <description>[Optional] Indicates whether wake-on-LAN is enabled on this virtual network adapter. Clients can set this property to selectively enable or disable wake-on-LAN.</description>
217             </bind>
218         </in-binding>
219
220         <out-binding>
221             <bind name="actionResult" type="Any" export-name="virtualEthernetCard"/>
222         </out-binding>
223
224         <description>This data object type defines the properties of an AMD Lance PCNet32 Ethernet card attached to a virtual machine.</description>
225
226         <position x="345.0" y="400.8636363636363"/>
227     </workflow-item>
228
229     <workflow-item name="item8" out-name="item9" type="task" script-module="com.vmware.library.vc.vm.spec.config.device/getVirtualVmxnet">
230         <display-name>getVirtualVmxnet</display-name>
231
232         <script encoded="false">
233 //Auto generated script, cannot be modified !
234 actionResult = System.getModule("com.vmware.library.vc.vm.spec.config.device").getVirtualVmxnet(backing,connectable,controllerKey,deviceInfo,key,unitNumber,addressType,macAddress,wakeOnLanEnabled) ;
235         </script>
236
237         <in-binding>
238             <bind name="backing" type="Any" export-name="backing">
239                 <description>[Optional] Any valid VirtualDeviceBackingInfo, depend on the device itself.</description>
240             </bind>
241             <bind name="connectable" type="Any" explicitly-not-bound="true">
242                 <description>[Optional] VimVirtualDeviceConnectInfo: Information about restrictions on removing this device while a virtual machine is running. If the device is not removable, then this property is null.</description>
243             </bind>
244             <bind name="controllerKey" type="number" explicitly-not-bound="true">
245                 <description>[Optional] Object key that denotes the controller object for this device. This property contains the key property value of the controller device object.</description>
246             </bind>
247             <bind name="deviceInfo" type="Any" explicitly-not-bound="true">
248                 <description>[Optional] VimDescription: This property provides a label and summary information for the device.</description>
249             </bind>
250             <bind name="key" type="number" export-name="key">
251                 <description>[Optional] This property is a unique key that distinguishes this device from other devices in the same virtual machine. This must be unique. Can only be setted by users at create time</description>
252             </bind>
253             <bind name="unitNumber" type="number" explicitly-not-bound="true">
254                 <description>[Optional] Unit number of this device on its controller. This property is null if the controller property is null (for example, when the device is not attached to a specific controller object).  Normally, two devices on the same controller may not be assigned the same unit number.</description>
255             </bind>
256             <bind name="addressType" type="string" explicitly-not-bound="true">
257                 <description>[Optional] MAC address type.  Valid values for address type are: Manual  Statically assigned MAC address.  Generated  Automatically generated MAC address.  Assigned  MAC address assigned by VirtualCenter.</description>
258             </bind>
259             <bind name="macAddress" type="string" explicitly-not-bound="true">
260                 <description>[Optional] MAC address assigned to the virtual network adapter. Clients can set this property to any of the allowed address types. The server might override the specified value for "Generated" or "Assigned" if it does not fall in the right ranges or is determined to be a duplicate.</description>
261             </bind>
262             <bind name="wakeOnLanEnabled" type="boolean" explicitly-not-bound="true">
263                 <description>[Optional] Indicates whether wake-on-LAN is enabled on this virtual network adapter. Clients can set this property to selectively enable or disable wake-on-LAN.</description>
264             </bind>
265         </in-binding>
266
267         <out-binding>
268             <bind name="actionResult" type="Any" export-name="virtualEthernetCard"/>
269         </out-binding>
270
271         <description>The VirtualVmxnet data object type represents an instance of the Vmxnet virtual Ethernet adapter attached to a virtual machine.</description>
272
273         <position x="345.0" y="482.68181818181813"/>
274     </workflow-item>
275
276     <workflow-item name="item9" type="end" end-mode="0">
277         <position x="605.0" y="472.68181818181813"/>
278     </workflow-item>
279
280     <workflow-item name="item10" out-name="item9" type="task" script-module="com.vmware.library.vc.vm.spec.config.device/getVirtualVmxnet2">
281         <display-name>getVirtualVmxnet2</display-name>
282
283         <script encoded="false">
284 //Auto generated script, cannot be modified !
285 actionResult = System.getModule("com.vmware.library.vc.vm.spec.config.device").getVirtualVmxnet2(backing,connectable,controllerKey,deviceInfo,key,unitNumber,addressType,macAddress,wakeOnLanEnabled) ;
286         </script>
287
288         <in-binding>
289             <bind name="backing" type="Any" export-name="backing">
290                 <description>[Optional] Any valid VirtualDeviceBackingInfo, depend on the device itself.</description>
291             </bind>
292             <bind name="connectable" type="Any" explicitly-not-bound="true">
293                 <description>[Optional] VimVirtualDeviceConnectInfo: Information about restrictions on removing this device while a virtual machine is running. If the device is not removable, then this property is null.</description>
294             </bind>
295             <bind name="controllerKey" type="number" explicitly-not-bound="true">
296                 <description>[Optional] Object key that denotes the controller object for this device. This property contains the key property value of the controller device object.</description>
297             </bind>
298             <bind name="deviceInfo" type="Any" explicitly-not-bound="true">
299                 <description>[Optional] VimDescription: This property provides a label and summary information for the device.</description>
300             </bind>
301             <bind name="key" type="number" export-name="key">
302                 <description>[Optional] This property is a unique key that distinguishes this device from other devices in the same virtual machine. This must be unique. Can only be setted by users at create time</description>
303             </bind>
304             <bind name="unitNumber" type="number" explicitly-not-bound="true">
305                 <description>[Optional] Unit number of this device on its controller. This property is null if the controller property is null (for example, when the device is not attached to a specific controller object).  Normally, two devices on the same controller may not be assigned the same unit number.</description>
306             </bind>
307             <bind name="addressType" type="string" explicitly-not-bound="true">
308                 <description>[Optional] MAC address type.  Valid values for address type are: Manual  Statically assigned MAC address.  Generated  Automatically generated MAC address.  Assigned  MAC address assigned by VirtualCenter.</description>
309             </bind>
310             <bind name="macAddress" type="string" explicitly-not-bound="true">
311                 <description>[Optional] MAC address assigned to the virtual network adapter. Clients can set this property to any of the allowed address types. The server might override the specified value for "Generated" or "Assigned" if it does not fall in the right ranges or is determined to be a duplicate.</description>
312             </bind>
313             <bind name="wakeOnLanEnabled" type="boolean" explicitly-not-bound="true">
314                 <description>[Optional] Indicates whether wake-on-LAN is enabled on this virtual network adapter. Clients can set this property to selectively enable or disable wake-on-LAN.</description>
315             </bind>
316         </in-binding>
317
318         <out-binding>
319             <bind name="actionResult" type="Any" export-name="virtualEthernetCard"/>
320         </out-binding>
321
322         <description>The VirtualVmxnet data object type represents an instance of the Vmxnet virtual Ethernet adapter attached to a virtual machine.</description>
323
324         <position x="345.0" y="564.5"/>
325     </workflow-item>
326
327     <workflow-item name="item11" out-name="item10" type="custom-condition" alt-out-name="item12">
328         <display-name>VirtualVmxnet2</display-name>
329
330         <script encoded="false">
331 return sourceVirtualEthernetCard instanceof VcVirtualVmxnet2;
332         </script>
333
334         <in-binding>
335             <bind name="sourceVirtualEthernetCard" type="Any" export-name="sourceVirtualEthernetCard"/>
336         </in-binding>
337
338         <position x="145.0" y="554.5"/>
339     </workflow-item>
340
341     <workflow-item name="item12" out-name="item14" type="custom-condition" alt-out-name="item18">
342         <display-name>VirtualVmxnet3</display-name>
343
344         <script encoded="false">
345 return sourceVirtualEthernetCard instanceof VcVirtualVmxnet3;
346         </script>
347
348         <in-binding>
349             <bind name="sourceVirtualEthernetCard" type="Any" export-name="sourceVirtualEthernetCard"/>
350         </in-binding>
351
352         <position x="145.0" y="645.4090909090909"/>
353     </workflow-item>
354
355     <workflow-item name="item14" out-name="item9" type="task" script-module="com.vmware.library.vc.vm.spec.config.device/getVirtualVmxnet3">
356         <display-name>getVirtualVmxnet3</display-name>
357
358         <script encoded="false">
359 //Auto generated script, cannot be modified !
360 actionResult = System.getModule("com.vmware.library.vc.vm.spec.config.device").getVirtualVmxnet3(backing,connectable,controllerKey,deviceInfo,key,unitNumber,addressType,macAddress,wakeOnLanEnabled) ;
361         </script>
362
363         <in-binding>
364             <bind name="backing" type="Any" export-name="backing">
365                 <description>[Optional] Any valid VirtualDeviceBackingInfo, depend on the device itself.</description>
366             </bind>
367             <bind name="connectable" type="Any" explicitly-not-bound="true">
368                 <description>[Optional] VimVirtualDeviceConnectInfo: Information about restrictions on removing this device while a virtual machine is running. If the device is not removable, then this property is null.</description>
369             </bind>
370             <bind name="controllerKey" type="number" explicitly-not-bound="true">
371                 <description>[Optional] Object key that denotes the controller object for this device. This property contains the key property value of the controller device object.</description>
372             </bind>
373             <bind name="deviceInfo" type="Any" explicitly-not-bound="true">
374                 <description>[Optional] VimDescription: This property provides a label and summary information for the device.</description>
375             </bind>
376             <bind name="key" type="number" export-name="key">
377                 <description>[Optional] This property is a unique key that distinguishes this device from other devices in the same virtual machine. This must be unique. Can only be setted by users at create time</description>
378             </bind>
379             <bind name="unitNumber" type="number" explicitly-not-bound="true">
380                 <description>[Optional] Unit number of this device on its controller. This property is null if the controller property is null (for example, when the device is not attached to a specific controller object).  Normally, two devices on the same controller may not be assigned the same unit number.</description>
381             </bind>
382             <bind name="addressType" type="string" explicitly-not-bound="true">
383                 <description>[Optional] MAC address type.  Valid values for address type are: Manual  Statically assigned MAC address.  Generated  Automatically generated MAC address.  Assigned  MAC address assigned by VirtualCenter.</description>
384             </bind>
385             <bind name="macAddress" type="string" explicitly-not-bound="true">
386                 <description>[Optional] MAC address assigned to the virtual network adapter. Clients can set this property to any of the allowed address types. The server might override the specified value for "Generated" or "Assigned" if it does not fall in the right ranges or is determined to be a duplicate.</description>
387             </bind>
388             <bind name="wakeOnLanEnabled" type="boolean" explicitly-not-bound="true">
389                 <description>[Optional] Indicates whether wake-on-LAN is enabled on this virtual network adapter. Clients can set this property to selectively enable or disable wake-on-LAN.</description>
390             </bind>
391         </in-binding>
392
393         <out-binding>
394             <bind name="actionResult" type="Any" export-name="virtualEthernetCard"/>
395         </out-binding>
396
397         <description>The VirtualVmxnet data object type represents an instance of the Vmxnet virtual Ethernet adapter attached to a virtual machine.</description>
398
399         <position x="345.0" y="655.4090909090909"/>
400     </workflow-item>
401
402     <workflow-item name="item13" out-name="item4" type="custom-condition" alt-out-name="item15">
403         <display-name>Not distributed</display-name>
404
405         <script encoded="false">
406 return network instanceof VcNetwork;
407         </script>
408
409         <in-binding>
410             <bind name="network" type="Any" export-name="network"/>
411         </in-binding>
412
413         <position x="145.0" y="136.3181818181818"/>
414     </workflow-item>
415
416     <workflow-item name="item15" out-name="item0" type="task" script-module="com.vmware.library.vc.networking/getVirtualEthernetCardDvPortgroupBackingInfo">
417         <display-name>getVirtualEthernetCardDvPortgroupBackingInfo</display-name>
418
419         <script encoded="false">
420 //Auto generated script, cannot be modified !
421 actionResult = System.getModule("com.vmware.library.vc.networking").getVirtualEthernetCardDvPortgroupBackingInfo(deviceName,network) ;
422         </script>
423
424         <in-binding>
425             <bind name="deviceName" type="string" export-name="deviceName">
426                 <description>The name of the device on the host system.</description>
427             </bind>
428             <bind name="network" type="Any" export-name="network">
429                 <description>Reference to the network managed object to which this backing applies. This is not used during configuration.</description>
430             </bind>
431         </in-binding>
432
433         <out-binding>
434             <bind name="actionResult" type="Any" export-name="backing"/>
435         </out-binding>
436
437         <description>The virtual Ethernet card backing class. (uses Distributed Virtual Portgroup as input instead of VC:Network object)</description>
438
439         <position x="225.0" y="209.95454545454544"/>
440     </workflow-item>
441
442     <workflow-item name="item16" out-name="item17" type="custom-condition" alt-out-name="item1">
443         <display-name>VirtualE1000e</display-name>
444
445         <script encoded="false">
446 return sourceVirtualEthernetCard instanceof VcVirtualE1000e;
447         </script>
448
449         <in-binding>
450             <bind name="sourceVirtualEthernetCard" type="Any" export-name="sourceVirtualEthernetCard"/>
451         </in-binding>
452
453         <position x="145.0" y="327.2272727272727"/>
454     </workflow-item>
455
456     <workflow-item name="item17" out-name="item9" type="task" script-module="com.vmware.library.vc.vm.spec.config.device/getVirtualE1000e">
457         <display-name>getVirtualE1000e</display-name>
458
459         <script encoded="false">
460 //Auto generated script, cannot be modified !
461 actionResult = System.getModule("com.vmware.library.vc.vm.spec.config.device").getVirtualE1000e(backing,connectable,controllerKey,deviceInfo,key,unitNumber,addressType,macAddress,wakeOnLanEnabled) ;
462         </script>
463
464         <in-binding>
465             <bind name="backing" type="Any" export-name="backing">
466                 <description>[Optional] Any valid VirtualDeviceBackingInfo, depend on the device itself.</description>
467             </bind>
468             <bind name="connectable" type="Any" explicitly-not-bound="true">
469                 <description>[Optional] VimVirtualDeviceConnectInfo: Information about restrictions on removing this device while a virtual machine is running. If the device is not removable, then this property is null.</description>
470             </bind>
471             <bind name="controllerKey" type="number" explicitly-not-bound="true">
472                 <description>[Optional] Object key that denotes the controller object for this device. This property contains the key property value of the controller device object.</description>
473             </bind>
474             <bind name="deviceInfo" type="Any" explicitly-not-bound="true">
475                 <description>[Optional] VimDescription: This property provides a label and summary information for the device.</description>
476             </bind>
477             <bind name="key" type="number" export-name="key">
478                 <description>[Optional] This property is a unique key that distinguishes this device from other devices in the same virtual machine. This must be unique. Can only be setted by users at create time</description>
479             </bind>
480             <bind name="unitNumber" type="number" explicitly-not-bound="true">
481                 <description>[Optional] Unit number of this device on its controller. This property is null if the controller property is null (for example, when the device is not attached to a specific controller object).  Normally, two devices on the same controller may not be assigned the same unit number.</description>
482             </bind>
483             <bind name="addressType" type="string" explicitly-not-bound="true">
484                 <description>[Optional] MAC address type.  Valid values for address type are: Manual  Statically assigned MAC address.  Generated  Automatically generated MAC address.  Assigned  MAC address assigned by VirtualCenter.</description>
485             </bind>
486             <bind name="macAddress" type="string" explicitly-not-bound="true">
487                 <description>[Optional] MAC address assigned to the virtual network adapter. Clients can set this property to any of the allowed address types. The server might override the specified value for "Generated" or "Assigned" if it does not fall in the right ranges or is determined to be a duplicate.</description>
488             </bind>
489             <bind name="wakeOnLanEnabled" type="boolean" explicitly-not-bound="true">
490                 <description>[Optional] Indicates whether wake-on-LAN is enabled on this virtual network adapter. Clients can set this property to selectively enable or disable wake-on-LAN.</description>
491             </bind>
492         </in-binding>
493
494         <out-binding>
495             <bind name="actionResult" type="Any" export-name="virtualEthernetCard"/>
496         </out-binding>
497
498         <description>The VirtualE1000 data object type represents an instance of the E1000 virtual Ethernet adapter attached to a virtual machine.</description>
499
500         <position x="345.0" y="337.2272727272727"/>
501     </workflow-item>
502
503     <workflow-item name="item18" out-name="item19" type="custom-condition" alt-out-name="item5">
504         <display-name>VirtualSriovEthernetCard</display-name>
505
506         <script encoded="false">
507 return sourceVirtualEthernetCard instanceof VcVirtualSriovEthernetCard;
508         </script>
509
510         <in-binding>
511             <bind name="sourceVirtualEthernetCard" type="Any" export-name="sourceVirtualEthernetCard"/>
512         </in-binding>
513
514         <position x="145.0" y="736.8181818181818"/>
515     </workflow-item>
516
517     <workflow-item name="item19" out-name="item9" type="task" script-module="com.vmware.library.vc.vm.spec.config.device/getVirtualSriovEthernetCard">
518         <display-name>getVirtualSriovEthernetCard</display-name>
519
520         <script encoded="false">
521 //Auto generated script, cannot be modified !
522 actionResult = System.getModule("com.vmware.library.vc.vm.spec.config.device").getVirtualSriovEthernetCard(backing,connectable,controllerKey,deviceInfo,key,unitNumber,addressType,macAddress,wakeOnLanEnabled) ;
523         </script>
524
525         <in-binding>
526             <bind name="backing" type="Any" export-name="backing">
527                 <description>[Optional] Any valid VirtualDeviceBackingInfo, depend on the device itself.</description>
528             </bind>
529             <bind name="connectable" type="Any" explicitly-not-bound="true">
530                 <description>[Optional] VimVirtualDeviceConnectInfo: Information about restrictions on removing this device while a virtual machine is running. If the device is not removable, then this property is null.</description>
531             </bind>
532             <bind name="controllerKey" type="number" explicitly-not-bound="true">
533                 <description>[Optional] Object key that denotes the controller object for this device. This property contains the key property value of the controller device object.</description>
534             </bind>
535             <bind name="deviceInfo" type="Any" explicitly-not-bound="true">
536                 <description>[Optional] VimDescription: This property provides a label and summary information for the device.</description>
537             </bind>
538             <bind name="key" type="number" export-name="key">
539                 <description>[Optional] This property is a unique key that distinguishes this device from other devices in the same virtual machine. This must be unique. Can only be setted by users at create time</description>
540             </bind>
541             <bind name="unitNumber" type="number" explicitly-not-bound="true">
542                 <description>[Optional] Unit number of this device on its controller. This property is null if the controller property is null (for example, when the device is not attached to a specific controller object).  Normally, two devices on the same controller may not be assigned the same unit number.</description>
543             </bind>
544             <bind name="addressType" type="string" explicitly-not-bound="true">
545                 <description>[Optional] MAC address type.  Valid values for address type are: Manual  Statically assigned MAC address.  Generated  Automatically generated MAC address.  Assigned  MAC address assigned by VirtualCenter.</description>
546             </bind>
547             <bind name="macAddress" type="string" explicitly-not-bound="true">
548                 <description>[Optional] MAC address assigned to the virtual network adapter. Clients can set this property to any of the allowed address types. The server might override the specified value for "Generated" or "Assigned" if it does not fall in the right ranges or is determined to be a duplicate.</description>
549             </bind>
550             <bind name="wakeOnLanEnabled" type="boolean" explicitly-not-bound="true">
551                 <description>[Optional] Indicates whether wake-on-LAN is enabled on this virtual network adapter. Clients can set this property to selectively enable or disable wake-on-LAN.</description>
552             </bind>
553         </in-binding>
554
555         <out-binding>
556             <bind name="actionResult" type="Any" export-name="virtualEthernetCard"/>
557         </out-binding>
558
559         <description>The VirtualE1000 data object type represents an instance of the E1000 virtual Ethernet adapter attached to a virtual machine.</description>
560
561         <position x="345.0" y="746.3181818181818"/>
562     </workflow-item>
563
564     <presentation>
565         <p-param name="network">
566             <desc>vCenter Server network to which to bind the network adapter</desc>
567         </p-param>
568         <p-param name="sourceVirtualEthernetCard">
569             <desc>VirtualEthernetCard for which to change the network</desc>
570         </p-param>
571     </presentation>
572 </workflow>