Skip to content

[LIBCLOUD-580] node filters for ec2 driver#320

Closed
zerthimon wants to merge 2 commits into
apache:trunkfrom
zerthimon:LIBCLOUD-580_node-filters
Closed

[LIBCLOUD-580] node filters for ec2 driver#320
zerthimon wants to merge 2 commits into
apache:trunkfrom
zerthimon:LIBCLOUD-580_node-filters

Conversation

@zerthimon
Copy link
Copy Markdown
Contributor

Extend EC2 driver list_nodes() method with ability to provide filters to list only specific nodes.

Comment thread libcloud/compute/drivers/ec2.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's an extension argument, it should be prefixed with ex - ex_filters.

Also, ex_node_ids and filters arguments are kinda overlapping (you could get the same result when using filters), but yeah, we should probably still leave it there for backward compatibility purposes.

@zerthimon
Copy link
Copy Markdown
Contributor Author

Should parameter filters be renamed to ex_filters in other methods too (ex_list_networks, ex_get_security_groups, ex_list_route_tables and others in pending pull requests), for consistency ?

@zerthimon
Copy link
Copy Markdown
Contributor Author

@Kami anything else to be done here ?

@Kami
Copy link
Copy Markdown
Member

Kami commented Jun 25, 2014

@zerthimon Nope. I'll go ahead and merge it shortly. Thanks.

@asfgit asfgit closed this in 8d93bf1 Jun 25, 2014
@Kami
Copy link
Copy Markdown
Member

Kami commented Jun 25, 2014

Merged into trunk. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants