> +   @Named("security-group:list")
> +   @GET
> +   @ResponseParser(ParseSecurityGroups.class)
> +   @Transform(SecurityGroupsToPagedIterable.class)
> +   @Fallback(EmptyPagedIterableOnNotFoundOr404.class)
> +   PagedIterable<SecurityGroup> listSecurityGroups();
> +
> +   /**
> +    * @return all security groups currently defined in Neutron for the 
> current tenant.
> +    */
> +   @Path("/security-groups")
> +   @Named("security-group:list")
> +   @GET
> +   @ResponseParser(ParseSecurityGroups.class)
> +   @Fallback(EmptySecurityGroupsFallback.class)
> +   SecurityGroups listSecurityGroups(PaginationOptions options);

One uses the other internally, and this one allows you to specify paging 
options. The other internalizes the paging details.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/132/files#r17027903

Reply via email to