-
Notifications
You must be signed in to change notification settings - Fork 366
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
fix Firewall policy param cannot be updated #1074
Conversation
Hi @scsunchen, |
@auhlig that is in v1. It's a bug . |
Both v1 and v2 point to /v2/-paths? Probably the docs are incorrect on the path here. |
@auhlig { https://developer.openstack.org/api-ref/networking/v2/?expanded=update-firewall-detail#extensions So. I use @JsonIgnore ignore it |
What do you think on this @vinodborole? |
@auhlig @scsunchen After referring to the documentation for v2 i believe the parameter "policy" does not exists. So it makes sense to ignore it. |
We're currently not distinguishing between v1 and v2. There just one networking service for both we're lucky they don't seem to differ much. I was concerned, as I thought merging this could break things for v1, where the policy attribute exists. Makes sense @vinodborole @scsunchen ? |
@vinodborole I agree with you。But look at the file : https://github.com/ContainX/openstack4j/blob/master/core/src/main/java/org/openstack4j/openstack/networking/domain/ext/NeutronFirewallUpdate.java in 78 line number . Where's @JsonIgnore? and look https://github.com/ContainX/openstack4j/blob/master/core/src/main/java/org/openstack4j/openstack/networking/domain/ext/NeutronFirewall.java |
如果还不能证明我是对的。那么我放弃提交这个更新! |
As mentioned previously, I'm not sure about this. Don't have a strong opinion on this anymore. What do you think @vinodborole? |
@auhlig I think it makes perfect sense to ignore the "policy" property in neutronFirewall Update as the get firewall has ignored it. |
Thanks @scsunchen! |
fix Firewall policy param cannot be updated #1068