-
Notifications
You must be signed in to change notification settings - Fork 510
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
Network v2: RBAC-LIST #758
Conversation
Build succeeded.
|
48dc3f4
to
4747532
Compare
Build failed.
|
4747532
to
09f774d
Compare
Build succeeded.
|
09f774d
to
6f8e156
Compare
Build succeeded.
|
@jtopjian @kvrshenoy2 Please review this PR. |
6f8e156
to
5808ffa
Compare
Build succeeded.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality looks fine. Please follow the review comments on PR 755 on naming conventions.
…ting the acceptance test to only be run by admin user.
5808ffa
to
993c90f
Compare
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
List all the RBAC policies.
Build succeeded.
|
@jtopjian Can you review this PR. I had re-based the PR with master and resolved all the conflicts. |
@manju754 Thanks for continuing to work on the RBAC resources. This will need rebased with master as there are some merge conflicts from the previous commit. I have some questions with regard to some of the ListOpts fields:
Also, it might be a good idea to add a unit test for Other than that, this looks good. For posterity / others who read this PR: it isn't really possible to reference a single place in the Neutron code which defines valid List fields. Neutron has a set of standard fields (marker, limit, etc). The other fields are the fields/attributes of the resource itself. |
Build failed.
|
b1ff10c
to
d256856
Compare
Build succeeded.
|
@jtopjian Can you review this PR. I had re-based the PR with master, resolved all the conflicts and addressed review comments. |
@manju754 All looks good but unfortunately it'll need another rebase from #781. Perhaps you and @PriyankaJ77 can figure out which PRs should be merged in order? I'm just going with what reaches my inbox first 😄 |
Build succeeded.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manju754 This looks good, but unfortunately the godoc formatting is off. I hate to request one more change, but the docs won't render correctly as they are.
Once that's fixed, this is good to go.
if err != nil{ | ||
panic(err) | ||
} | ||
fmt.Printf("%+v", rbacpolicy) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The formatting will need fixed here - the code should be indented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Build succeeded.
|
@jtopjian Can you review this PR. I had re-based the PR with master, resolved all the conflicts and addressed review comments. |
@manju754 Thanks so much for your patience with this. This looks good to go :) |
For #731
Links to the line numbers/files in the OpenStack source code that support the
code in this PR:
API:
https://developer.openstack.org/api-ref/network/v2/#list-rbac-policies
Schema:
https://github.com/openstack/neutron/blob/8f79a92e45c84819cfc4d1cda99c9320ae78bbaf/neutron/db/rbac_db_models.py#L92
List:
https://github.com/openstack/neutron/blob/59e2c40f14157e0f2f64c340070cf46758d522e1/neutron/db/rbac_db_mixin.py#L117