def getVDC(self): """ Retrieve XML representation of the organization """ url = xml_helper.getHref(self.getOrganisation(),'vdc') headers = rest_helper.buildHeaders(Accept="application/*+xml;version=5.11",x_vcloud_authorization=self.xvcloud_authorization) response = requests.get(url, headers=headers) return response.content
def getVDC(self): """ Retrieve XML representation of the organization """ url = xml_helper.getHref(self.getOrganisation(), 'vdc') headers = rest_helper.buildHeaders( Accept="application/*+xml;version=5.11", x_vcloud_authorization=self.xvcloud_authorization) response = requests.get(url, headers=headers) return response.content
def getVappTemplate(self): return xml_helper.getHref(self.getVDC(), 'instantiateVAppTemplateParams')
def getVappTemplate(self): return xml_helper.getHref(self.getVDC(),'instantiateVAppTemplateParams')