nodes: 0, module; 1, function_definition; 2, function_name:get_reachable_storage_pools; 3, parameters; 4, block; 5, identifier:self; 6, default_parameter; 7, default_parameter; 8, default_parameter; 9, default_parameter; 10, default_parameter; 11, default_parameter; 12, default_parameter; 13, default_parameter; 14, expression_statement; 15, expression_statement; 16, if_statement; 17, if_statement; 18, return_statement; 19, identifier:start; 20, integer:0; 21, identifier:count; 22, unary_operator; 23, identifier:filter; 24, string; 25, identifier:query; 26, string; 27, identifier:sort; 28, string; 29, identifier:networks; 30, None; 31, identifier:scope_exclusions; 32, None; 33, identifier:scope_uris; 34, string; 35, comment:"""
          Gets the storage pools that are connected on the specified networks
          based on the storage system port's expected network connectivity.
  
          Args:
              start: The first item to return, using 0-based indexing. If not specified,
                  the default is 0 - start with the first available item.
              count: The number of resources to return. A count of -1 requests all items.
                  The actual number of items in the response might differ from the requested
                  count if the sum of start and count exceeds the total number of items.
              filter: A general filter/query string to narrow the list of items returned.
                  The default is no filter - all resources are returned.
              sort: The sort order of the returned data set. By default, the sort order
                  is based on create time with the oldest entry first.
              query: A general query string to narrow the list of resources returned.
                  The default is no query - all resources are returned.
              networks: Specifies the comma-separated list of network URIs used by the
                  reachable storage pools.
              scope_exclusions: Specifies the comma-separated list of storage-pools URIs
                  that will be excluded from the scope validation checks.
              scope_uris: Specifies the comma-separated list of scope URIs used by the
                  reachable storage pools.
  
          Returns:
              list: Reachable Storage Pools List.
          """; 36, assignment; 37, identifier:networks; 38, block; 39, identifier:scope_exclusions; 40, block; 41, call; 42, integer:1; 43, identifier:uri; 44, binary_operator:self.URI + "/reachable-storage-pools"; 45, expression_statement; 46, for_statement; 47, expression_statement; 48, expression_statement; 49, expression_statement; 50, expression_statement; 51, expression_statement; 52, attribute; 53, argument_list; 54, attribute; 55, string:"/reachable-storage-pools"; 56, assignment; 57, identifier:n; 58, identifier:networks; 59, block; 60, assignment; 61, assignment; 62, assignment; 63, assignment; 64, augmented_assignment; 65, attribute; 66, identifier:get; 67, call; 68, identifier:self; 69, identifier:URI; 70, identifier:elements; 71, string:"\'"; 72, expression_statement; 73, identifier:elements; 74, binary_operator:elements[:-1] + "\'"; 75, identifier:uri; 76, binary_operator:uri + "?networks=" + elements; 77, identifier:storage_pools_uris; 78, call; 79, identifier:uri; 80, conditional_expression:uri + "?" if "?" not in uri else uri + "&"; 81, identifier:uri; 82, call; 83, identifier:self; 84, identifier:_client; 85, attribute; 86, argument_list; 87, augmented_assignment; 88, subscript; 89, string:"\'"; 90, binary_operator:uri + "?networks="; 91, identifier:elements; 92, attribute; 93, argument_list; 94, binary_operator:uri + "?"; 95, comparison_operator:"?" not in uri; 96, binary_operator:uri + "&"; 97, attribute; 98, argument_list; 99, attribute; 100, identifier:build_query_uri; 101, keyword_argument; 102, keyword_argument; 103, keyword_argument; 104, keyword_argument; 105, keyword_argument; 106, keyword_argument; 107, keyword_argument; 108, identifier:elements; 109, binary_operator:n + ','; 110, identifier:elements; 111, slice; 112, identifier:uri; 113, string:"?networks="; 114, string:","; 115, identifier:join; 116, identifier:scope_exclusions; 117, identifier:uri; 118, string:"?"; 119, string:"?"; 120, identifier:uri; 121, identifier:uri; 122, string:"&"; 123, string:"scopeExclusions={}"; 124, identifier:format; 125, identifier:storage_pools_uris; 126, identifier:self; 127, identifier:_client; 128, identifier:start; 129, identifier:start; 130, identifier:count; 131, identifier:count; 132, identifier:filter; 133, identifier:filter; 134, identifier:query; 135, identifier:query; 136, identifier:sort; 137, identifier:sort; 138, identifier:uri; 139, identifier:uri; 140, identifier:scope_uris; 141, identifier:scope_uris; 142, identifier:n; 143, string; 144, unary_operator; 145, string_content:,; 146, integer:1
code: def get_reachable_storage_pools(self, start=0, count=-1, filter='', query='', sort='',
                                      networks=None, scope_exclusions=None, scope_uris=''):
          """
          Gets the storage pools that are connected on the specified networks
          based on the storage system port's expected network connectivity.
  
          Args:
              start: The first item to return, using 0-based indexing. If not specified,
                  the default is 0 - start with the first available item.
              count: The number of resources to return. A count of -1 requests all items.
                  The actual number of items in the response might differ from the requested
                  count if the sum of start and count exceeds the total number of items.
              filter: A general filter/query string to narrow the list of items returned.
                  The default is no filter - all resources are returned.
              sort: The sort order of the returned data set. By default, the sort order
                  is based on create time with the oldest entry first.
              query: A general query string to narrow the list of resources returned.
                  The default is no query - all resources are returned.
              networks: Specifies the comma-separated list of network URIs used by the
                  reachable storage pools.
              scope_exclusions: Specifies the comma-separated list of storage-pools URIs
                  that will be excluded from the scope validation checks.
              scope_uris: Specifies the comma-separated list of scope URIs used by the
                  reachable storage pools.
  
          Returns:
              list: Reachable Storage Pools List.
          """
          uri = self.URI + "/reachable-storage-pools"
  
          if networks:
              elements = "\'"
              for n in networks:
                  elements += n + ','
              elements = elements[:-1] + "\'"
              uri = uri + "?networks=" + elements
  
          if scope_exclusions:
              storage_pools_uris = ",".join(scope_exclusions)
              uri = uri + "?" if "?" not in uri else uri + "&"
              uri += "scopeExclusions={}".format(storage_pools_uris)
  
          return self._client.get(self._client.build_query_uri(start=start, count=count, filter=filter, query=query,
                                                               sort=sort, uri=uri, scope_uris=scope_uris))