I Filename req.xml and req.dtd Specifies the the behaviour of the node during its execution 1.Request Pattern This is the root tag in the XML document. 2.Request This tag encapsulates the different types of requests a node can make. (i.e. FileRequest, UpRequest, DownRequest). 3. FileRequest This is a request that requests a set of files. 3a. Time. All requests have a TIME tag that is the Time to make the req. 3b. DestFolder The folder into which the response to a certain request is to be put so that we can varify it. You cannot read anything from this folder. It does not count towards your disk capacity. It will only be used by us to varify that a request has been properly satisfied. 3c. NoOfFiles The Number of files to read. Can be 1 to many 3d. File this encapsulates the type of File Request 3d1. FileName Name of file to process 3d2. Size No of bytes to process 3d3. Type of access Read, write, execute, create, delete, seek. NOTE: incase of create and delete execute Size is not specified. 4. DownRequest Request to pull a node down 4a. Time Time to do so 5 UpRequest Request to bring a node up 4a. Time Time to do so ---------------------------------------------------------------- II Filename init.xml and initial.dtd Specifies the inital configuration of a particular node of a given user 1.User the root tag for this document 2. Node encapsulates the node information. The user will have atleast 1 node 2a. Node Id The unique ID of a given node 2b. Capacity The number of bytes that a node can hold. This is the total number of bytes that a node can hold throughout the operation 2c. NoOfFilesPresent The number of files currently on the node. this has to be less than capacity 2d. File This encapsulates the File information of files currently present on the node.Can be zero to many 2d1. FileName Name of file 2d2. Filesize Size of file 2d3. AccessRights Encapsulates the rights associated with a file ie read write execute for owner, group, and rest these will be specified as 1 or 0 just as in UNIX ---------------------------------------------------------------- NOTE::: the files in the destFolder do not contribute to the files that make up the capacity. However this folder is only for stroing responses to requests. System behaviour 1.Each node belonging to a single user will be given a copy of file type II(i.e. init.xml initial.dtd). The node will be setup according to the specification in the file. 2.Eachnode will be given a different file I(i.e. req.xml and req.dtd) and will perform perform the operations specified. 3. The node will output the cost incurred and which request could be specifed and which couldnt.