Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osClientV3.networking().port().list(portListOptions) can not use some optional parameters #1312

Open
bboyHan opened this issue Jun 3, 2020 · 0 comments

Comments

@bboyHan
Copy link

bboyHan commented Jun 3, 2020

when i want to use the api call to get the port list and filter results by using query string parameters, but find it unavailable because it's not perfect about org.openstack4j.model.network.options.PortListOptions

api-ref:
https://docs.openstack.org/api-ref/network/v2/?expanded=list-ports-detail#ports

eg:
the Neutron API supports IP address substring filtering on the fixed_ips attribute.

We can add some methods to improve the use of API about PortListOptions. like

//status[optional] values are ACTIVE, DOWN, BUILD and ERROR.
public PortListOptions status(String status) {
return add("status", status);
}

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

No branches or pull requests

1 participant