def extractDataModelToFile(self, extractToFilename='dataModel.txt', timeout=120): """ Extract the configuration's data model to a file. """ url = self.sessionIdUrl + '/ixload/operations/extractDataModelToFile' if self.osPlatform == 'linux': response = self.post(url, data={'fullPath': '/mnt/ixload-share/{}'.format(extractToFilename)}) else: response = self.post(url, data={'fullPath': 'c:\\Results\\{}'.format(extractToFilename)}) operationsId = response.headers['location'] self.verifyStatus(self.httpHeader+operationsId, timeout=timeout) # LOAD CONFIG FILE