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="item2" object-name="workflow:name=generic" id="fdc80ec4-b7c5-4a34-8b46-4ef411021844" version="1.0.6" api-version="3.1.0" allowed-operations="fve" restartMode="1" resumeFromFailedMode="0">
3 <display-name>post_windows</display-name>
5 <description>Create directories, and copy scripts to the new VM</description>
7 <position x="100.0" y="50.0"/>
10 <param name="vm" type="VC:VirtualMachine">
11 <description>Virtual machine</description>
13 <param name="windows_roles" type="Array/string">
14 <description>Windows roles. Other workflow fetches roles from database</description>
16 <param name="vlan_name" type="string">
17 <description>Vlan descriptive name</description>
19 <param name="ad_domain_id" type="number">
20 <description>if > 0, add to vm to ad. Number is id from the database</description>
22 <param name="vmPassword" type="SecureString">
23 <description>admin password</description>
25 <param name="ad_domain_name" type="string">
26 <description>Ad domain name</description>
28 <param name="ipv6dnsServerList" type="Array/string"/>
29 <param name="ipv6address" type="string"/>
30 <param name="ipv6gateway" type="string"/>
31 <param name="ipv6Prefixlen" type="number"/>
34 <attrib name="vmUsername" type="string" read-only="false">
35 <value encoded="n">Administrator</value>
36 <description>Username for the virtual machine</description>
38 <attrib name="errorCode" type="string" read-only="false">
40 <description>Error code</description>
42 <attrib name="dos_files" type="Array/string" read-only="false">
43 <value encoded="n">#{#string#addRoles.ps1#;#string#join_ad.ps1#;#string#WindowsFinish.ps1#;#string#setipv6.ps1#}#</value>
44 <description>Files to transfer to the vm</description>
46 <attrib name="vco_path" type="string" read-only="false">
47 <value encoded="n">/site/lib/dos</value>
48 <description>Path to scripts on Vco server</description>
50 <attrib name="dos_path" type="string" read-only="false">
51 <value encoded="n">c:\etc\scripts</value>
52 <description>Path to scripts</description>
54 <attrib name="directories" type="Array/string" read-only="false">
55 <value encoded="n">#{#string#c:\etc\scripts#;#string#c:\etc\logs#;#string#c:\etc\uio\logs#}#</value>
56 <description>List of directories to add on the new vm</description>
58 <attrib name="copy_out" type="Array/boolean" read-only="false">
59 <value encoded="n">__NULL__</value>
62 <workflow-item name="item0" type="end" end-mode="0">
63 <position x="844.5" y="45.40909090909091"/>
66 <workflow-item name="item2" out-name="item1" throw-bind-name="errorCode" type="link" linked-workflow-id="0d2ce070-c285-4a7f-9ec0-71f769d07114">
67 <display-name>copy scripts to windows</display-name>
70 <bind name="vm" type="VC:VirtualMachine" export-name="vm">
71 <description>Virtual machine</description>
73 <bind name="directories" type="Array/string" export-name="directories"/>
74 <bind name="dos_path" type="string" export-name="dos_path"/>
75 <bind name="dos_files" type="Array/string" export-name="dos_files"/>
76 <bind name="vco_path" type="string" export-name="vco_path"/>
77 <bind name="vmUsername" type="string" export-name="vmUsername">
78 <description>Username for the virtual machine</description>
80 <bind name="vmPassword" type="SecureString" export-name="vmPassword">
81 <description>Password for the virtual machine</description>
86 <bind name="var" type="Array/boolean" export-name="copy_out"/>
89 <description>Create directories, and copy scripts to the new VM</description>
91 <position x="225.0" y="55.40909090909091"/>
94 <workflow-item name="item1" out-name="item0" type="link" linked-workflow-id="8986a211-6aae-404a-8586-374d658fbee8">
95 <display-name>exec_post_scipts</display-name>
98 <bind name="vm" type="VC:VirtualMachine" export-name="vm">
99 <description>Virtual machine</description>
101 <bind name="windows_roles" type="Array/string" export-name="windows_roles">
102 <description>Windows roles. Other workflow fetches roles from database</description>
104 <bind name="vlan_name" type="string" export-name="vlan_name">
105 <description>Vlan descriptive name</description>
107 <bind name="ad_domain_id" type="number" export-name="ad_domain_id"/>
108 <bind name="ad_domain_name" type="string" export-name="ad_domain_name"/>
109 <bind name="ipv6Prefixlen" type="number" export-name="ipv6Prefixlen"/>
110 <bind name="ipv6gateway" type="string" export-name="ipv6gateway"/>
111 <bind name="ipv6dnsServerList" type="Array/string" export-name="ipv6dnsServerList"/>
112 <bind name="ipv6address" type="string" export-name="ipv6address"/>
113 <bind name="vmPassword" type="SecureString" export-name="vmPassword"/>
118 <description>Execute post scipts to build a UiO windows server</description>
120 <position x="405.0" y="55.90909090909091"/>
125 <desc>Virtual machine</desc>
126 <p-qual kind="static" name="mandatory" type="boolean">true</p-qual>
128 <p-param name="windows_roles">
129 <desc>Windows roles. Other workflow fetches roles from database</desc>
131 <p-param name="vlan_name">
132 <desc>Vlan descriptive name</desc>
134 <p-param name="ad_domain_id">
135 <desc>ad_domain_id</desc>
137 <p-param name="vmPassword">
138 <desc>administrator_password</desc>
140 <p-param name="ad_domain_name">
141 <desc>ad_domain_name</desc>
143 <p-param name="ipv6dnsServerList">
144 <desc>ipv6dnsServerList</desc>
146 <p-param name="ipv6address">
147 <desc>ipv6address</desc>
149 <p-param name="ipv6gateway">
150 <desc>ipv6gateway</desc>
152 <p-param name="ipv6Prefixlen">
153 <desc>ipv6Prefixlen</desc>