, then the combined task may be cre- ated as shown in Figure 11.7. 11.2.4.3 Configuration Upload and Download "Configuration upload" is the process of obtaining configuration data from a net- work device. Conversely, "Configuration download" is the configuring of a device with some supplied set of parameters. The DeviceConfiguration API is used for uploading and downloading configuration information. This functionality accommodates situations in which configuration details, present in a particular device, are set over a number of other devices. Configuration details can be uploaded from a device and downloaded to other devices. TaskGenerator tg=new TaskGenerator (); tg. setTaskName ("combinedtask1") tg. setNewTask ( true) tg. setOverwrite(true) /* t1 and t2 are existing tasks */ Vector subTask=new Vector(1); subTask.addElement (t1); subTask.addElement (t2); /* d1 and d2 are existing devices */ Vector subDevices-new Vector (1); subDevices.addElement (d1) subDevices. addElement (d2) tg.setDevices(subTask, subDevices) ; String taskXML=tg.getTask(); configclientAPI.executeTask(taskXML) Figure 11.7 Code for creating combined task. 39 For readers who are not familiar with object-oriented programming, "tg" is assigned as the name of a new instance of the TaskGenerator class. The invokations of the methods of askGenerator should be self- explanatory, as their names are intuitive. The reason why we have given this example is simply to give the reader some idea of what is involved in making use of APIs with which OSS software is equipped. OSS for Telecom Networks The information such as attributes and the devices from which attributes must be fetched are specified in the task XML code. The getDeviceConfiguration method of the DeviceConfiguration API can be used for configuration upload, which gets the task XML as its argument. Invoking this method fetches values for the attributes from the devices that are specified in the task XML. The executeTask method is used to download the collected data. This method also gets the ta