(self)
return netapp_xml
Retrieve netapp volume information

            returns ElementTree of netapp volume information
Retrieve netapp volume information
Retrieve netapp volume information
def get_netapp_data(self):
        """ Retrieve netapp volume information

            returns ElementTree of netapp volume information

        """

        netapp_data = self.server.invoke('volume-list-info')

        if netapp_data.results_status() == 'failed':
            self.log.error(
                'While using netapp API failed to retrieve '
                'volume-list-info for netapp filer %s' % self.device)
            return

        netapp_xml = ET.fromstring(netapp_data.sprintf()).find('volumes')

        return netapp_xml
def get_netapp_data ( self ) : netapp_data = self . server . invoke ( 'volume-list-info' ) if netapp_data . results_status ( ) == 'failed' : self . log . error ( 'While using netapp API failed to retrieve ' 'volume-list-info for netapp filer %s' % self . device ) return netapp_xml = ET . fromstring ( netapp_data . sprintf ( ) ) . find ( 'volumes' ) return netapp_xml