Comments (6)
I have this vague recollection that the GCE provider was running into similar issues. It makes sense I guess, since there are potentially thousands of images, and it doesn't make sense to page through them all - you'd typically want to find a particular image by name, architecture or some other attribute.
What if we do this - calling list() by default adds the "Owned by me" filter? If you call find() though, that default filter is removed, and the user-specified filter takes effect. We could even make it part of the Image.list()'s definition. By default, it only lists images in tenancy/project/account. But find() will search through all public and private images.
from cloudbridge.
The AWS dashboard lists Owned by me images by default so I'd say that's a reasonable default for us as well. However, it's a bit undesirable that such filtering applies to AWS only though.
from cloudbridge.
Conclusion: By default, list will show images belonging to the project. However, if you do a "find", it searches everything. Have parameter filter_by_owner=True/False
from cloudbridge.
I added the filtering but I don't recall if we said the filter_by_owner
should be added at the interface level and hence implemented for all the providers or something else?
from cloudbridge.
Yes, the conclusion was to add it at interface level for all providers for the list method, but remove it when doing a find etc.
from cloudbridge.
Finished up with c7b46a3
from cloudbridge.
Related Issues (20)
- Way to get all instances of the availability zones HOT 2
- Problem listing anything but zones in Azure HOT 9
- AWS IRSA support HOT 2
- Way to get all gateways and floating IPs? HOT 6
- Possibility to launch instances with public IPs HOT 7
- Network created on GCP via cloudbridge throws exceptions because of global region HOT 8
- Blocking on Azure VM Creation HOT 6
- NATs & Private IPs HOT 8
- [OS] Leftover ports after detaching IP
- Upgrade Azure libraries HOT 1
- Update docs to mention that Azure default resource group is cloudbridge HOT 1
- Separate the Cloud Provider Package Installation Completely HOT 12
- Should we allow users to specify read/write signed urls? HOT 2
- Improve interface consistency for background operations HOT 2
- Gateway detection problem in JS2 from router quota 1 HOT 4
- GCPInstance start function is missing HOT 7
- Install documentation is not clear enough regarding which module is needed for which provider HOT 1
- Create Ansible module for cloudbridge
- Add support for Azure DNS records HOT 3
- Azure - ability to use multiple resource groups HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudbridge.