Changeset 861
- Timestamp:
- Apr 13, 2010, 5:48:55 PM (15 years ago)
- Location:
- vanHelsing/trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
vanHelsing/trunk/src/VanHelsing.wsdl
r855 r861 35 35 </xsd:element> 36 36 37 <xsd:complexType name="ResourceAttributeType">38 <xsd:sequence>39 <xsd:element name="key" type="xsd:string"></xsd:element>40 <xsd:element name="value" type="xsd:string"></xsd:element>41 </xsd:sequence>42 </xsd:complexType>43 37 44 38 … … 49 43 </xsd:sequence> 50 44 </xsd:complexType> 51 <xsd:element name="setSimpleResource"> 52 <xsd:complexType> 53 <xsd:sequence> 54 <xsd:element name="resInfo" type="tns:ResourceInfo"></xsd:element> 55 <xsd:element name="resAttribute" type="tns:ResourceAttributeType" maxOccurs="unbounded" minOccurs="0"></xsd:element> 56 </xsd:sequence> 57 </xsd:complexType> 45 <xsd:element name="setSimpleResource" 46 type="tns:ResourceInitialization"> 58 47 </xsd:element> 59 48 <xsd:element name="setSimpleResourceResponse"> 60 49 <xsd:complexType> 61 50 <xsd:sequence> 62 <xsd:element name="resId" type="xsd:int"></xsd:element>63 51 <xsd:element name="status" type="xsd:string"></xsd:element> 64 52 </xsd:sequence> 65 53 </xsd:complexType> 66 54 </xsd:element> 55 <xsd:element name="deleteResourceFault"> 56 <xsd:complexType> 57 <xsd:sequence> 58 <xsd:element name="deleteResourceFault" 59 type="xsd:string"> 60 </xsd:element> 61 </xsd:sequence> 62 </xsd:complexType> 63 </xsd:element> 64 <xsd:element name="deleteResourceFault1"> 65 <xsd:complexType> 66 <xsd:sequence> 67 <xsd:element name="deleteResourceFault1" 68 type="xsd:string"> 69 </xsd:element> 70 </xsd:sequence> 71 </xsd:complexType> 72 </xsd:element> 73 <xsd:element name="invalidId" type="xsd:string"></xsd:element> 74 <xsd:element name="constraintViolation" type="xsd:string"></xsd:element> 75 <xsd:element name="syntaxError" type="xsd:string"></xsd:element> 76 77 <xsd:element name="createSimpleResource" type="tns:ResourceInitialization"></xsd:element> 78 79 <xsd:element name="createSimpleResourceResponse"> 80 <xsd:complexType> 81 <xsd:sequence> 82 <xsd:element name="resId" type="xsd:int"></xsd:element> 83 </xsd:sequence> 84 </xsd:complexType> 85 </xsd:element> 86 87 <xsd:complexType name="ResourceInitialization"> 88 <xsd:sequence> 89 <xsd:element name="resInfo" 90 type="tns:ResourceInfo"> 91 </xsd:element> 92 <xsd:element name="replace" type="xsd:boolean"></xsd:element> 93 <xsd:element name="resAttribute" type="tns:ResourceAttributeType" maxOccurs="unbounded" minOccurs="0"></xsd:element> 94 </xsd:sequence> 95 </xsd:complexType> 96 <xsd:element name="createSimpleResourceFault"> 97 <xsd:complexType> 98 <xsd:sequence> 99 <xsd:element name="createSimpleResourceFault" 100 type="xsd:string"> 101 </xsd:element> 102 </xsd:sequence> 103 </xsd:complexType> 104 </xsd:element> 105 <xsd:element name="deleteResource" 106 type="tns:ResourceInfo"> 107 </xsd:element> 108 <xsd:element name="setFileSetResource" 109 type="tns:FileSetResource"> 110 </xsd:element> 111 <xsd:element name="setFileSetResourceResponse"> 112 <xsd:complexType> 113 <xsd:sequence> 114 <xsd:element name="status" type="xsd:string"></xsd:element> 115 </xsd:sequence> 116 </xsd:complexType> 117 </xsd:element> 118 <xsd:element name="createFileSetResource" 119 type="tns:FileSetResource"> 120 </xsd:element> 121 <xsd:element name="createFileSetResourceResponse"> 122 <xsd:complexType> 123 <xsd:sequence> 124 <xsd:element name="resId" type="xsd:int"></xsd:element> 125 </xsd:sequence> 126 </xsd:complexType> 127 </xsd:element> 128 129 <xsd:complexType name="FileSetResource"> 130 <xsd:sequence> 131 <xsd:element name="replace" type="xsd:boolean"></xsd:element> 132 <xsd:element name="parameters" 133 type="tns:ResourceAttributeType" maxOccurs="unbounded" 134 minOccurs="0"> 135 </xsd:element> 136 <xsd:element name="options" 137 type="tns:ResourceAttributeType" maxOccurs="unbounded" 138 minOccurs="0"> 139 </xsd:element> 140 <xsd:element name="include" 141 type="tns:fileSetInclude"> 142 </xsd:element> 143 <xsd:element name="exclude" 144 type="tns:ResourceAttributeType"> 145 </xsd:element> 146 </xsd:sequence> 147 </xsd:complexType> 148 149 <xsd:complexType name="ResourceAttributeType"> 150 <xsd:sequence> 151 <xsd:element name="key" type="xsd:string"></xsd:element> 152 <xsd:element name="value" type="xsd:string"></xsd:element> 153 </xsd:sequence> 154 </xsd:complexType> 155 156 <xsd:complexType name="fileSetInclude"> 157 <xsd:sequence> 158 <xsd:element name="fileList" 159 type="tns:ResourceAttributeType" maxOccurs="unbounded" minOccurs="0"> 160 </xsd:element> 161 <xsd:element name="options" type="tns:ResourceAttributeType" maxOccurs="unbounded" minOccurs="0"></xsd:element> 162 </xsd:sequence> 163 </xsd:complexType> 164 <xsd:element name="setFileSetResourceFault"> 165 <xsd:complexType> 166 <xsd:sequence> 167 <xsd:element name="setFileSetResourceFault" 168 type="xsd:string"> 169 </xsd:element> 170 </xsd:sequence> 171 </xsd:complexType> 172 </xsd:element> 173 <xsd:element name="setSimpleResourceFault"> 174 <xsd:complexType> 175 <xsd:sequence> 176 <xsd:element name="setSimpleResourceFault" 177 type="xsd:string"> 178 </xsd:element> 179 </xsd:sequence> 180 </xsd:complexType> 181 </xsd:element> 182 <xsd:element name="setFileSetResourceFault1"> 183 <xsd:complexType> 184 <xsd:sequence> 185 <xsd:element name="setFileSetResourceFault1" 186 type="xsd:string"> 187 </xsd:element> 188 </xsd:sequence> 189 </xsd:complexType> 190 </xsd:element> 191 <xsd:element name="createFileSetResourceFault"> 192 <xsd:complexType> 193 <xsd:sequence> 194 <xsd:element name="createFileSetResourceFault" 195 type="xsd:string"> 196 </xsd:element> 197 </xsd:sequence> 198 </xsd:complexType> 199 </xsd:element> 200 <xsd:element name="setSimpleResourceFault1"> 201 <xsd:complexType> 202 <xsd:sequence> 203 <xsd:element name="setSimpleResourceFault1" 204 type="xsd:string"> 205 </xsd:element> 206 </xsd:sequence> 207 </xsd:complexType> 208 </xsd:element> 209 67 210 </xsd:schema> 68 211 </wsdl:types> … … 85 228 <wsdl:part name="setResponse" element="tns:setSimpleResourceResponse"></wsdl:part> 86 229 </wsdl:message> 230 <wsdl:message name="deleteResourceRequest"> 231 <wsdl:part name="resourceId" element="tns:deleteResource"></wsdl:part> 232 </wsdl:message> 233 <wsdl:message name="deleteResourceFault"> 234 <wsdl:part name="parameters" element="tns:invalidId"></wsdl:part> 235 </wsdl:message> 236 <wsdl:message name="deleteResourceFault1"> 237 <wsdl:part name="parameters" element="tns:constraintViolation"></wsdl:part> 238 </wsdl:message> 239 <wsdl:message name="createSimpleResourceRequest"> 240 <wsdl:part name="newResource" element="tns:createSimpleResource"></wsdl:part> 241 </wsdl:message> 242 <wsdl:message name="createSimpleResourceResponse"> 243 <wsdl:part name="resourceId" element="tns:createSimpleResourceResponse"></wsdl:part> 244 </wsdl:message> 245 <wsdl:message name="createSimpleResourceFault"> 246 <wsdl:part name="parameters" element="tns:syntaxError"></wsdl:part> 247 </wsdl:message> 248 <wsdl:message name="setFileSetResourceRequest"> 249 <wsdl:part name="parameters" element="tns:setFileSetResource"></wsdl:part> 250 </wsdl:message> 251 <wsdl:message name="setFileSetResourceResponse"> 252 <wsdl:part name="parameters" element="tns:setFileSetResourceResponse"></wsdl:part> 253 </wsdl:message> 254 <wsdl:message name="createFileSetResourceRequest"> 255 <wsdl:part name="parameters" element="tns:createFileSetResource"></wsdl:part> 256 </wsdl:message> 257 <wsdl:message name="createFileSetResourceResponse"> 258 <wsdl:part name="parameters" element="tns:createFileSetResourceResponse"></wsdl:part> 259 </wsdl:message> 260 <wsdl:message name="setFileSetResourceFault"> 261 <wsdl:part name="parameters" element="tns:syntaxError"></wsdl:part> 262 </wsdl:message> 263 <wsdl:message name="setSimpleResourceFault"> 264 <wsdl:part name="parameters" element="tns:syntaxError"></wsdl:part> 265 </wsdl:message> 266 <wsdl:message name="setFileSetResourceFault1"> 267 <wsdl:part name="parameters" element="tns:constraintViolation"></wsdl:part> 268 </wsdl:message> 269 <wsdl:message name="createFileSetResourceFault"> 270 <wsdl:part name="parameters" element="tns:syntaxError"></wsdl:part> 271 </wsdl:message> 272 <wsdl:message name="setSimpleResourceFault1"> 273 <wsdl:part name="parameters" element="tns:constraintViolation"></wsdl:part> 274 </wsdl:message> 275 87 276 <wsdl:portType name="VanHelsing"> 88 89 277 <wsdl:operation name="listResources"> 90 278 <wsdl:input message="tns:listResourcesRequest"/> 91 279 <wsdl:output message="tns:listResourcesResponse"/> 92 280 </wsdl:operation> 93 281 <wsdl:operation name="getSimpleResource"> 94 282 <wsdl:input message="tns:getSimpleResourceRequest"></wsdl:input> … … 98 286 <wsdl:input message="tns:setSimpleResourceRequest"></wsdl:input> 99 287 <wsdl:output message="tns:setSimpleResourceResponse"></wsdl:output> 100 </wsdl:operation> 288 <wsdl:fault name="fault" message="tns:setSimpleResourceFault"></wsdl:fault> 289 <wsdl:fault name="fault1" message="tns:setSimpleResourceFault1"></wsdl:fault> 290 </wsdl:operation> 291 <wsdl:operation name="deleteResource"><wsdl:input message="tns:deleteResourceRequest"></wsdl:input><wsdl:fault name="fault" message="tns:deleteResourceFault"></wsdl:fault><wsdl:fault name="fault1" message="tns:deleteResourceFault1"></wsdl:fault> 292 </wsdl:operation> 293 <wsdl:operation name="createSimpleResource"> 294 <wsdl:input message="tns:createSimpleResourceRequest"></wsdl:input> 295 <wsdl:output message="tns:createSimpleResourceResponse"></wsdl:output> 296 <wsdl:fault name="fault" message="tns:createSimpleResourceFault"></wsdl:fault> 297 </wsdl:operation> 298 <wsdl:operation name="setFileSetResource"> 299 <wsdl:input message="tns:setFileSetResourceRequest"></wsdl:input> 300 <wsdl:output message="tns:setFileSetResourceResponse"></wsdl:output> 301 <wsdl:fault name="fault" message="tns:setFileSetResourceFault"></wsdl:fault> 302 <wsdl:fault name="fault1" message="tns:setFileSetResourceFault1"></wsdl:fault> 303 </wsdl:operation> 304 <wsdl:operation name="createFileSetResource"> 305 <wsdl:input message="tns:createFileSetResourceRequest"></wsdl:input> 306 <wsdl:output message="tns:createFileSetResourceResponse"></wsdl:output> 307 <wsdl:fault name="fault" message="tns:createFileSetResourceFault"></wsdl:fault> 308 </wsdl:operation> 101 309 </wsdl:portType> 102 310 <wsdl:binding name="VanHelsingSOAP" type="tns:VanHelsing"> … … 112 320 <soap:body use="literal" /> 113 321 </wsdl:output> 322 114 323 </wsdl:operation> 115 324 <wsdl:operation name="getSimpleResource"> … … 132 341 <soap:body use="literal" /> 133 342 </wsdl:output> 134 </wsdl:operation>l 343 <wsdl:fault name="fault"> 344 <soap:fault use="literal" name="fault" /> 345 </wsdl:fault> 346 <wsdl:fault name="fault1"> 347 <soap:fault use="literal" name="fault1" /> 348 </wsdl:fault> 349 </wsdl:operation> 350 <wsdl:operation name="createSimpleResource"> 351 <soap:operation soapAction="http://www.dass-it.de/VanHelsing/createSimpleResource" /> 352 <wsdl:input> 353 <soap:body use="literal" /> 354 </wsdl:input> 355 <wsdl:output> 356 <soap:body use="literal" /> 357 </wsdl:output> 358 <wsdl:fault name="fault"> 359 <soap:fault use="literal" name="fault" /> 360 </wsdl:fault> 361 </wsdl:operation> 362 <wsdl:operation name="createFileSetResource"> 363 <soap:operation soapAction="http://www.dass-it.de/VanHelsing/createFileSetResource" /> 364 <wsdl:input> 365 <soap:body use="literal" /> 366 </wsdl:input> 367 <wsdl:output> 368 <soap:body use="literal" /> 369 </wsdl:output> 370 <wsdl:fault name="fault"> 371 <soap:fault use="literal" name="fault" /> 372 </wsdl:fault> 373 </wsdl:operation> 374 <wsdl:operation name="setFileSetResource"> 375 <soap:operation soapAction="http://www.dass-it.de/VanHelsing/setFileSetResource" /> 376 <wsdl:input> 377 <soap:body use="literal" /> 378 </wsdl:input> 379 <wsdl:output> 380 <soap:body use="literal" /> 381 </wsdl:output> 382 <wsdl:fault name="fault"> 383 <soap:fault use="literal" name="fault" /> 384 </wsdl:fault> 385 <wsdl:fault name="fault1"> 386 <soap:fault use="literal" name="fault1" /> 387 </wsdl:fault> 388 </wsdl:operation> 389 <wsdl:operation name="deleteResource"> 390 <soap:operation soapAction="http://www.dass-it.de/VanHelsing/deleteResource" /> 391 <wsdl:input> 392 <soap:body use="literal" /> 393 </wsdl:input> 394 <wsdl:fault name="fault"> 395 <soap:fault use="literal" name="fault" /> 396 </wsdl:fault> 397 <wsdl:fault name="fault1"> 398 <soap:fault use="literal" name="fault1" /> 399 </wsdl:fault> 400 </wsdl:operation> 135 401 </wsdl:binding> 136 402 <wsdl:service name="VanHelsing"> -
vanHelsing/trunk/src/VanHelsingServer.py
r855 r861 55 55 56 56 print resId 57 58 57 resource=VanHelsingWrapper.getResourceById(resDirector,resId) 59 58 attributes=VanHelsingWrapper.keyValueList(resource) … … 88 87 89 88 resId, status = VanHelsingWrapper.setResourceById(resId, director, attributes, resInfo) 90 response.set_element_resId(resId)89 #response.set_element_resId(resId) 91 90 response.set_element_status(status) 92 91 92 return request, response 93 94 def soap_setFileSetResource(self, ps, **kw): 95 request,response=VanHelsing.soap_setFileSetResource(self, ps) 96 97 93 98 return request, response 94 99 -
vanHelsing/trunk/src/VanHelsingWrapper.py
r855 r861 96 96 v = a.get_element_value() 97 97 myResource.add(k, v) 98 98 try: 99 status 100 except NameError: 101 status = "resourceUpdated" 99 102 else: 100 resource = resource.Resource() 101 resource.name = resInfo.get_element_resName() 102 setResourceById(resource.getId, directorName, attributes, resInfo) 103 MyResource = resource.Resource() 103 104 104 status = "wtf" 105 105 resId, status = setResourceById(MyResource.id, directorName, attributes, resInfo) 106 status = "resourceCreated" 107 print status 106 108 return resId, status 107 109 … … 121 123 clientIds=getResources("bacula-dir","Client") 122 124 123 #c=getResourceById("bacula-dir",clientIds[0][0]) 124 #print c 125 #print keyValueList(c) 126 attList = [("name", "klaus"), ("director", "bernd"), ("FileSet","homeAll")] 127 resId, status = setResourceById(100, "bacula-dir", attList) 125 c=getResourceById("bacula-dir",clientIds[0][0]) 126 print c 127 print keyValueList(c) -
vanHelsing/trunk/src/VanHelsing_server.py
r855 r861 3 3 # 4 4 # skeleton generated by "ZSI.generate.wsdl2dispatch.ServiceModuleWriter" 5 # / usr/local/bin/wsdl2py -bVanHelsing.wsdl5 # /home/tgoecke/ZSI-2.1-a1/scripts/wsdl2py --complexType /home/tgoecke/vanHelsing/trunk/src/VanHelsing.wsdl 6 6 # 7 7 ################################################## … … 24 24 25 25 setSimpleResourceResponse = GED("http://www.dass-it.de/VanHelsing/", "setSimpleResourceResponse").pyclass 26 27 createSimpleResourceRequest = GED("http://www.dass-it.de/VanHelsing/", "createSimpleResource").pyclass 28 29 createSimpleResourceResponse = GED("http://www.dass-it.de/VanHelsing/", "createSimpleResourceResponse").pyclass 30 31 createFileSetResourceRequest = GED("http://www.dass-it.de/VanHelsing/", "createFileSetResource").pyclass 32 33 createFileSetResourceResponse = GED("http://www.dass-it.de/VanHelsing/", "createFileSetResourceResponse").pyclass 34 35 setFileSetResourceRequest = GED("http://www.dass-it.de/VanHelsing/", "setFileSetResource").pyclass 36 37 setFileSetResourceResponse = GED("http://www.dass-it.de/VanHelsing/", "setFileSetResourceResponse").pyclass 38 39 deleteResourceRequest = GED("http://www.dass-it.de/VanHelsing/", "deleteResource").pyclass 26 40 27 41 … … 55 69 root[(setSimpleResourceRequest.typecode.nspname,setSimpleResourceRequest.typecode.pname)] = 'soap_setSimpleResource' 56 70 71 def soap_createSimpleResource(self, ps, **kw): 72 request = ps.Parse(createSimpleResourceRequest.typecode) 73 return request,createSimpleResourceResponse() 74 75 soapAction['http://www.dass-it.de/VanHelsing/createSimpleResource'] = 'soap_createSimpleResource' 76 root[(createSimpleResourceRequest.typecode.nspname,createSimpleResourceRequest.typecode.pname)] = 'soap_createSimpleResource' 77 78 def soap_createFileSetResource(self, ps, **kw): 79 request = ps.Parse(createFileSetResourceRequest.typecode) 80 return request,createFileSetResourceResponse() 81 82 soapAction['http://www.dass-it.de/VanHelsing/createFileSetResource'] = 'soap_createFileSetResource' 83 root[(createFileSetResourceRequest.typecode.nspname,createFileSetResourceRequest.typecode.pname)] = 'soap_createFileSetResource' 84 85 def soap_setFileSetResource(self, ps, **kw): 86 request = ps.Parse(setFileSetResourceRequest.typecode) 87 return request,setFileSetResourceResponse() 88 89 soapAction['http://www.dass-it.de/VanHelsing/setFileSetResource'] = 'soap_setFileSetResource' 90 root[(setFileSetResourceRequest.typecode.nspname,setFileSetResourceRequest.typecode.pname)] = 'soap_setFileSetResource' 91 92 def soap_deleteResource(self, ps, **kw): 93 request = ps.Parse(deleteResourceRequest.typecode) 94 # NO output 95 return request,None 96 97 soapAction['http://www.dass-it.de/VanHelsing/deleteResource'] = 'soap_deleteResource' 98 root[(deleteResourceRequest.typecode.nspname,deleteResourceRequest.typecode.pname)] = 'soap_deleteResource' 99 -
vanHelsing/trunk/src/VanHelsing_types.py
r855 r861 3 3 # 4 4 # schema types generated by "ZSI.generate.wsdl2python.WriteServiceModule" 5 # / usr/local/bin/wsdl2py -bVanHelsing.wsdl5 # /home/tgoecke/ZSI-2.1-a1/scripts/wsdl2py --complexType /home/tgoecke/vanHelsing/trunk/src/VanHelsing.wsdl 6 6 # 7 7 ################################################## … … 84 84 self.pyclass = Holder 85 85 86 class getResourceType_Def(ZSI.TCcompound.ComplexType, TypeDefinition): 87 schema = "http://www.dass-it.de/VanHelsing/" 88 type = (schema, "getResourceType") 89 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): 90 ns = ns0.getResourceType_Def.schema 91 TClist = [ZSI.TCnumbers.Iint(pname="resId", aname="_resId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="director", aname="_director", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 92 self.attribute_typecode_dict = attributes or {} 93 if extend: TClist += ofwhat 94 if restrict: TClist = ofwhat 95 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 96 class Holder: 97 __metaclass__ = pyclass_type 98 typecode = self 99 def __init__(self): 100 # pyclass 101 self._resId = None 102 self._director = None 103 return 104 Holder.__name__ = "getResourceType_Holder" 105 self.pyclass = Holder 106 107 class ResourceInitialization_Def(ZSI.TCcompound.ComplexType, TypeDefinition): 108 schema = "http://www.dass-it.de/VanHelsing/" 109 type = (schema, "ResourceInitialization") 110 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): 111 ns = ns0.ResourceInitialization_Def.schema 112 TClist = [GTD("http://www.dass-it.de/VanHelsing/","ResourceInfo",lazy=False)(pname="resInfo", aname="_resInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.Boolean(pname="replace", aname="_replace", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.dass-it.de/VanHelsing/","ResourceAttributeType",lazy=False)(pname="resAttribute", aname="_resAttribute", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))] 113 self.attribute_typecode_dict = attributes or {} 114 if extend: TClist += ofwhat 115 if restrict: TClist = ofwhat 116 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 117 class Holder: 118 __metaclass__ = pyclass_type 119 typecode = self 120 def __init__(self): 121 # pyclass 122 self._resInfo = None 123 self._replace = None 124 self._resAttribute = [] 125 return 126 Holder.__name__ = "ResourceInitialization_Holder" 127 self.pyclass = Holder 128 129 class FileSetResource_Def(ZSI.TCcompound.ComplexType, TypeDefinition): 130 schema = "http://www.dass-it.de/VanHelsing/" 131 type = (schema, "FileSetResource") 132 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): 133 ns = ns0.FileSetResource_Def.schema 134 TClist = [ZSI.TC.Boolean(pname="replace", aname="_replace", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.dass-it.de/VanHelsing/","ResourceAttributeType",lazy=False)(pname="parameters", aname="_parameters", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.dass-it.de/VanHelsing/","ResourceAttributeType",lazy=False)(pname="options", aname="_options", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.dass-it.de/VanHelsing/","fileSetInclude",lazy=False)(pname="include", aname="_include", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.dass-it.de/VanHelsing/","ResourceAttributeType",lazy=False)(pname="exclude", aname="_exclude", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 135 self.attribute_typecode_dict = attributes or {} 136 if extend: TClist += ofwhat 137 if restrict: TClist = ofwhat 138 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 139 class Holder: 140 __metaclass__ = pyclass_type 141 typecode = self 142 def __init__(self): 143 # pyclass 144 self._replace = None 145 self._parameters = [] 146 self._options = [] 147 self._include = None 148 self._exclude = None 149 return 150 Holder.__name__ = "FileSetResource_Holder" 151 self.pyclass = Holder 152 86 153 class ResourceAttributeType_Def(ZSI.TCcompound.ComplexType, TypeDefinition): 87 154 schema = "http://www.dass-it.de/VanHelsing/" … … 105 172 self.pyclass = Holder 106 173 107 class getResourceType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):108 schema = "http://www.dass-it.de/VanHelsing/" 109 type = (schema, " getResourceType")110 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): 111 ns = ns0. getResourceType_Def.schema112 TClist = [ ZSI.TCnumbers.Iint(pname="resId", aname="_resId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="director", aname="_director", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]113 self.attribute_typecode_dict = attributes or {} 114 if extend: TClist += ofwhat 115 if restrict: TClist = ofwhat 116 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 117 class Holder: 118 __metaclass__ = pyclass_type 119 typecode = self 120 def __init__(self): 121 # pyclass 122 self._ resId = None123 self._ director = None124 return 125 Holder.__name__ = " getResourceType_Holder"174 class fileSetInclude_Def(ZSI.TCcompound.ComplexType, TypeDefinition): 175 schema = "http://www.dass-it.de/VanHelsing/" 176 type = (schema, "fileSetInclude") 177 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): 178 ns = ns0.fileSetInclude_Def.schema 179 TClist = [GTD("http://www.dass-it.de/VanHelsing/","ResourceAttributeType",lazy=False)(pname="fileList", aname="_fileList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.dass-it.de/VanHelsing/","ResourceAttributeType",lazy=False)(pname="options", aname="_options", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))] 180 self.attribute_typecode_dict = attributes or {} 181 if extend: TClist += ofwhat 182 if restrict: TClist = ofwhat 183 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 184 class Holder: 185 __metaclass__ = pyclass_type 186 typecode = self 187 def __init__(self): 188 # pyclass 189 self._fileList = [] 190 self._options = [] 191 return 192 Holder.__name__ = "fileSetInclude_Holder" 126 193 self.pyclass = Holder 127 194 … … 192 259 self.pyclass = Holder 193 260 194 class setSimpleResource_Dec( ZSI.TCcompound.ComplexType,ElementDeclaration):261 class setSimpleResource_Dec(ElementDeclaration): 195 262 literal = "setSimpleResource" 196 263 schema = "http://www.dass-it.de/VanHelsing/" 197 def __init__(self, **kw): 198 ns = ns0.setSimpleResource_Dec.schema 199 TClist = [GTD("http://www.dass-it.de/VanHelsing/","ResourceInfo",lazy=False)(pname="resInfo", aname="_resInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.dass-it.de/VanHelsing/","ResourceAttributeType",lazy=False)(pname="resAttribute", aname="_resAttribute", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))] 264 substitutionGroup = None 265 def __init__(self, **kw): 200 266 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","setSimpleResource") 201 267 kw["aname"] = "_setSimpleResource" 202 self.attribute_typecode_dict = {} 203 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 204 class Holder: 205 __metaclass__ = pyclass_type 206 typecode = self 207 def __init__(self): 208 # pyclass 209 self._resInfo = None 210 self._resAttribute = [] 211 return 212 Holder.__name__ = "setSimpleResource_Holder" 213 self.pyclass = Holder 268 if ns0.ResourceInitialization_Def not in ns0.setSimpleResource_Dec.__bases__: 269 bases = list(ns0.setSimpleResource_Dec.__bases__) 270 bases.insert(0, ns0.ResourceInitialization_Def) 271 ns0.setSimpleResource_Dec.__bases__ = tuple(bases) 272 273 ns0.ResourceInitialization_Def.__init__(self, **kw) 274 if self.pyclass is not None: self.pyclass.__name__ = "setSimpleResource_Dec_Holder" 214 275 215 276 class setSimpleResourceResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): … … 218 279 def __init__(self, **kw): 219 280 ns = ns0.setSimpleResourceResponse_Dec.schema 220 TClist = [ZSI.TC numbers.Iint(pname="resId", aname="_resId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="status", aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]281 TClist = [ZSI.TC.String(pname="status", aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 221 282 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","setSimpleResourceResponse") 222 283 kw["aname"] = "_setSimpleResourceResponse" … … 228 289 def __init__(self): 229 290 # pyclass 291 self._status = None 292 return 293 Holder.__name__ = "setSimpleResourceResponse_Holder" 294 self.pyclass = Holder 295 296 class deleteResourceFault_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): 297 literal = "deleteResourceFault" 298 schema = "http://www.dass-it.de/VanHelsing/" 299 def __init__(self, **kw): 300 ns = ns0.deleteResourceFault_Dec.schema 301 TClist = [ZSI.TC.String(pname="deleteResourceFault", aname="_deleteResourceFault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 302 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","deleteResourceFault") 303 kw["aname"] = "_deleteResourceFault" 304 self.attribute_typecode_dict = {} 305 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 306 class Holder: 307 __metaclass__ = pyclass_type 308 typecode = self 309 def __init__(self): 310 # pyclass 311 self._deleteResourceFault = None 312 return 313 Holder.__name__ = "deleteResourceFault_Holder" 314 self.pyclass = Holder 315 316 class deleteResourceFault1_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): 317 literal = "deleteResourceFault1" 318 schema = "http://www.dass-it.de/VanHelsing/" 319 def __init__(self, **kw): 320 ns = ns0.deleteResourceFault1_Dec.schema 321 TClist = [ZSI.TC.String(pname="deleteResourceFault1", aname="_deleteResourceFault1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 322 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","deleteResourceFault1") 323 kw["aname"] = "_deleteResourceFault1" 324 self.attribute_typecode_dict = {} 325 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 326 class Holder: 327 __metaclass__ = pyclass_type 328 typecode = self 329 def __init__(self): 330 # pyclass 331 self._deleteResourceFault1 = None 332 return 333 Holder.__name__ = "deleteResourceFault1_Holder" 334 self.pyclass = Holder 335 336 class invalidId_Dec(ZSI.TC.String, ElementDeclaration): 337 literal = "invalidId" 338 schema = "http://www.dass-it.de/VanHelsing/" 339 def __init__(self, **kw): 340 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","invalidId") 341 kw["aname"] = "_invalidId" 342 class IHolder(str): typecode=self 343 kw["pyclass"] = IHolder 344 IHolder.__name__ = "_invalidId_immutable_holder" 345 ZSI.TC.String.__init__(self, **kw) 346 347 class constraintViolation_Dec(ZSI.TC.String, ElementDeclaration): 348 literal = "constraintViolation" 349 schema = "http://www.dass-it.de/VanHelsing/" 350 def __init__(self, **kw): 351 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","constraintViolation") 352 kw["aname"] = "_constraintViolation" 353 class IHolder(str): typecode=self 354 kw["pyclass"] = IHolder 355 IHolder.__name__ = "_constraintViolation_immutable_holder" 356 ZSI.TC.String.__init__(self, **kw) 357 358 class syntaxError_Dec(ZSI.TC.String, ElementDeclaration): 359 literal = "syntaxError" 360 schema = "http://www.dass-it.de/VanHelsing/" 361 def __init__(self, **kw): 362 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","syntaxError") 363 kw["aname"] = "_syntaxError" 364 class IHolder(str): typecode=self 365 kw["pyclass"] = IHolder 366 IHolder.__name__ = "_syntaxError_immutable_holder" 367 ZSI.TC.String.__init__(self, **kw) 368 369 class createSimpleResource_Dec(ElementDeclaration): 370 literal = "createSimpleResource" 371 schema = "http://www.dass-it.de/VanHelsing/" 372 substitutionGroup = None 373 def __init__(self, **kw): 374 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","createSimpleResource") 375 kw["aname"] = "_createSimpleResource" 376 if ns0.ResourceInitialization_Def not in ns0.createSimpleResource_Dec.__bases__: 377 bases = list(ns0.createSimpleResource_Dec.__bases__) 378 bases.insert(0, ns0.ResourceInitialization_Def) 379 ns0.createSimpleResource_Dec.__bases__ = tuple(bases) 380 381 ns0.ResourceInitialization_Def.__init__(self, **kw) 382 if self.pyclass is not None: self.pyclass.__name__ = "createSimpleResource_Dec_Holder" 383 384 class createSimpleResourceResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): 385 literal = "createSimpleResourceResponse" 386 schema = "http://www.dass-it.de/VanHelsing/" 387 def __init__(self, **kw): 388 ns = ns0.createSimpleResourceResponse_Dec.schema 389 TClist = [ZSI.TCnumbers.Iint(pname="resId", aname="_resId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 390 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","createSimpleResourceResponse") 391 kw["aname"] = "_createSimpleResourceResponse" 392 self.attribute_typecode_dict = {} 393 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 394 class Holder: 395 __metaclass__ = pyclass_type 396 typecode = self 397 def __init__(self): 398 # pyclass 230 399 self._resId = None 400 return 401 Holder.__name__ = "createSimpleResourceResponse_Holder" 402 self.pyclass = Holder 403 404 class createSimpleResourceFault_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): 405 literal = "createSimpleResourceFault" 406 schema = "http://www.dass-it.de/VanHelsing/" 407 def __init__(self, **kw): 408 ns = ns0.createSimpleResourceFault_Dec.schema 409 TClist = [ZSI.TC.String(pname="createSimpleResourceFault", aname="_createSimpleResourceFault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 410 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","createSimpleResourceFault") 411 kw["aname"] = "_createSimpleResourceFault" 412 self.attribute_typecode_dict = {} 413 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 414 class Holder: 415 __metaclass__ = pyclass_type 416 typecode = self 417 def __init__(self): 418 # pyclass 419 self._createSimpleResourceFault = None 420 return 421 Holder.__name__ = "createSimpleResourceFault_Holder" 422 self.pyclass = Holder 423 424 class deleteResource_Dec(ElementDeclaration): 425 literal = "deleteResource" 426 schema = "http://www.dass-it.de/VanHelsing/" 427 substitutionGroup = None 428 def __init__(self, **kw): 429 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","deleteResource") 430 kw["aname"] = "_deleteResource" 431 if ns0.ResourceInfo_Def not in ns0.deleteResource_Dec.__bases__: 432 bases = list(ns0.deleteResource_Dec.__bases__) 433 bases.insert(0, ns0.ResourceInfo_Def) 434 ns0.deleteResource_Dec.__bases__ = tuple(bases) 435 436 ns0.ResourceInfo_Def.__init__(self, **kw) 437 if self.pyclass is not None: self.pyclass.__name__ = "deleteResource_Dec_Holder" 438 439 class setFileSetResource_Dec(ElementDeclaration): 440 literal = "setFileSetResource" 441 schema = "http://www.dass-it.de/VanHelsing/" 442 substitutionGroup = None 443 def __init__(self, **kw): 444 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","setFileSetResource") 445 kw["aname"] = "_setFileSetResource" 446 if ns0.FileSetResource_Def not in ns0.setFileSetResource_Dec.__bases__: 447 bases = list(ns0.setFileSetResource_Dec.__bases__) 448 bases.insert(0, ns0.FileSetResource_Def) 449 ns0.setFileSetResource_Dec.__bases__ = tuple(bases) 450 451 ns0.FileSetResource_Def.__init__(self, **kw) 452 if self.pyclass is not None: self.pyclass.__name__ = "setFileSetResource_Dec_Holder" 453 454 class setFileSetResourceResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): 455 literal = "setFileSetResourceResponse" 456 schema = "http://www.dass-it.de/VanHelsing/" 457 def __init__(self, **kw): 458 ns = ns0.setFileSetResourceResponse_Dec.schema 459 TClist = [ZSI.TC.String(pname="status", aname="_status", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 460 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","setFileSetResourceResponse") 461 kw["aname"] = "_setFileSetResourceResponse" 462 self.attribute_typecode_dict = {} 463 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 464 class Holder: 465 __metaclass__ = pyclass_type 466 typecode = self 467 def __init__(self): 468 # pyclass 231 469 self._status = None 232 470 return 233 Holder.__name__ = "setSimpleResourceResponse_Holder" 471 Holder.__name__ = "setFileSetResourceResponse_Holder" 472 self.pyclass = Holder 473 474 class createFileSetResource_Dec(ElementDeclaration): 475 literal = "createFileSetResource" 476 schema = "http://www.dass-it.de/VanHelsing/" 477 substitutionGroup = None 478 def __init__(self, **kw): 479 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","createFileSetResource") 480 kw["aname"] = "_createFileSetResource" 481 if ns0.FileSetResource_Def not in ns0.createFileSetResource_Dec.__bases__: 482 bases = list(ns0.createFileSetResource_Dec.__bases__) 483 bases.insert(0, ns0.FileSetResource_Def) 484 ns0.createFileSetResource_Dec.__bases__ = tuple(bases) 485 486 ns0.FileSetResource_Def.__init__(self, **kw) 487 if self.pyclass is not None: self.pyclass.__name__ = "createFileSetResource_Dec_Holder" 488 489 class createFileSetResourceResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): 490 literal = "createFileSetResourceResponse" 491 schema = "http://www.dass-it.de/VanHelsing/" 492 def __init__(self, **kw): 493 ns = ns0.createFileSetResourceResponse_Dec.schema 494 TClist = [ZSI.TCnumbers.Iint(pname="resId", aname="_resId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 495 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","createFileSetResourceResponse") 496 kw["aname"] = "_createFileSetResourceResponse" 497 self.attribute_typecode_dict = {} 498 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 499 class Holder: 500 __metaclass__ = pyclass_type 501 typecode = self 502 def __init__(self): 503 # pyclass 504 self._resId = None 505 return 506 Holder.__name__ = "createFileSetResourceResponse_Holder" 507 self.pyclass = Holder 508 509 class setFileSetResourceFault_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): 510 literal = "setFileSetResourceFault" 511 schema = "http://www.dass-it.de/VanHelsing/" 512 def __init__(self, **kw): 513 ns = ns0.setFileSetResourceFault_Dec.schema 514 TClist = [ZSI.TC.String(pname="setFileSetResourceFault", aname="_setFileSetResourceFault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 515 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","setFileSetResourceFault") 516 kw["aname"] = "_setFileSetResourceFault" 517 self.attribute_typecode_dict = {} 518 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 519 class Holder: 520 __metaclass__ = pyclass_type 521 typecode = self 522 def __init__(self): 523 # pyclass 524 self._setFileSetResourceFault = None 525 return 526 Holder.__name__ = "setFileSetResourceFault_Holder" 527 self.pyclass = Holder 528 529 class setSimpleResourceFault_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): 530 literal = "setSimpleResourceFault" 531 schema = "http://www.dass-it.de/VanHelsing/" 532 def __init__(self, **kw): 533 ns = ns0.setSimpleResourceFault_Dec.schema 534 TClist = [ZSI.TC.String(pname="setSimpleResourceFault", aname="_setSimpleResourceFault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 535 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","setSimpleResourceFault") 536 kw["aname"] = "_setSimpleResourceFault" 537 self.attribute_typecode_dict = {} 538 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 539 class Holder: 540 __metaclass__ = pyclass_type 541 typecode = self 542 def __init__(self): 543 # pyclass 544 self._setSimpleResourceFault = None 545 return 546 Holder.__name__ = "setSimpleResourceFault_Holder" 547 self.pyclass = Holder 548 549 class setFileSetResourceFault1_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): 550 literal = "setFileSetResourceFault1" 551 schema = "http://www.dass-it.de/VanHelsing/" 552 def __init__(self, **kw): 553 ns = ns0.setFileSetResourceFault1_Dec.schema 554 TClist = [ZSI.TC.String(pname="setFileSetResourceFault1", aname="_setFileSetResourceFault1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 555 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","setFileSetResourceFault1") 556 kw["aname"] = "_setFileSetResourceFault1" 557 self.attribute_typecode_dict = {} 558 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 559 class Holder: 560 __metaclass__ = pyclass_type 561 typecode = self 562 def __init__(self): 563 # pyclass 564 self._setFileSetResourceFault1 = None 565 return 566 Holder.__name__ = "setFileSetResourceFault1_Holder" 567 self.pyclass = Holder 568 569 class createFileSetResourceFault_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): 570 literal = "createFileSetResourceFault" 571 schema = "http://www.dass-it.de/VanHelsing/" 572 def __init__(self, **kw): 573 ns = ns0.createFileSetResourceFault_Dec.schema 574 TClist = [ZSI.TC.String(pname="createFileSetResourceFault", aname="_createFileSetResourceFault", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 575 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","createFileSetResourceFault") 576 kw["aname"] = "_createFileSetResourceFault" 577 self.attribute_typecode_dict = {} 578 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 579 class Holder: 580 __metaclass__ = pyclass_type 581 typecode = self 582 def __init__(self): 583 # pyclass 584 self._createFileSetResourceFault = None 585 return 586 Holder.__name__ = "createFileSetResourceFault_Holder" 587 self.pyclass = Holder 588 589 class setSimpleResourceFault1_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration): 590 literal = "setSimpleResourceFault1" 591 schema = "http://www.dass-it.de/VanHelsing/" 592 def __init__(self, **kw): 593 ns = ns0.setSimpleResourceFault1_Dec.schema 594 TClist = [ZSI.TC.String(pname="setSimpleResourceFault1", aname="_setSimpleResourceFault1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 595 kw["pname"] = ("http://www.dass-it.de/VanHelsing/","setSimpleResourceFault1") 596 kw["aname"] = "_setSimpleResourceFault1" 597 self.attribute_typecode_dict = {} 598 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 599 class Holder: 600 __metaclass__ = pyclass_type 601 typecode = self 602 def __init__(self): 603 # pyclass 604 self._setSimpleResourceFault1 = None 605 return 606 Holder.__name__ = "setSimpleResourceFault1_Holder" 234 607 self.pyclass = Holder 235 608 -
vanHelsing/trunk/src/test.conf
r823 r861 222 222 } 223 223 224 225 226 227 224 Catalog{ 225 Name = MyCatalog 226 dbname = "bacula"; dbuser = "bacula"; dbpassword = "" 227 } 228 229 Catalog{ 230 Name = MyOtherCatalog 231 dbname = "bacula"; 232 dbuser = "bacula"; 233 dbpassword = "" 234 } 235 236 Catalog{ 237 Name = YetAnotherCatalog 238 dbname = "bacula"; 239 dbuser = "bacula"; 240 dbpassword = "" 241 } 242 243 Catalog{ 244 Name = MyCompletelyNewCatalog 245 dbname = "bacula"; 246 dbuser = "bacula"; 247 dbpassword = "" 248 } 228 249 229 250
Note:
See TracChangeset
for help on using the changeset viewer.