예제 #1
0
 def setUp(self):
     self.host = '127.0.0.1'
     self.connection = connection(self.host)
     self._storage_systems = StorageSystems(self.connection)
     self._storage_systems.data = {
         'uri': '/rest/storage-systems/ad28cf21-8b15-4f92-bdcf-51cb2042db32'
     }
    def storage_systems(self):
        """
        Gets the StorageSystems API client.

        Returns:
            StorageSystems:
        """
        return StorageSystems(self.__connection)
예제 #3
0
    def storage_systems(self):
        """
        Gets the StorageSystems API client.

        Returns:
            StorageSystems:
        """
        if not self.__storage_systems:
            self.__storage_systems = StorageSystems(self.__connection)
        return self.__storage_systems
예제 #4
0
 def setUp(self):
     self.host = '127.0.0.1'
     self.connection = connection(self.host)
     self._storage_systems = StorageSystems(self.connection)
예제 #5
0
 def storage_systems(self):
     if not self.__storage_systems:
         self.__storage_systems = StorageSystems(self.__connection)
     return self.__storage_systems