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

Delete Network View fix issue #57 #73

Merged
merged 2 commits into from
Apr 16, 2020

Conversation

pearcec
Copy link
Contributor

@pearcec pearcec commented Apr 14, 2020

This fix requires a newer version of infoblox-go-client is released
with infobloxopen/infoblox-go-client#92

The fix is not a good one. This resource stores name for the id
unlike all the other resources which use Ref off the Struct in the
go client. Changing it now would disrupt statefiles. Either
we live with the computed network_view_ref attribute, see if it
is possible to transition the state, or we need to deprecate this
attribute in a future API release.

#57

This fix requires a newer version of infoblox-go-client is released
with infobloxopen/infoblox-go-client#92

The fix is not a good one.  This resource stores name for the id
unlike all the other resources which use Ref off the Struct in the
go client.  Changing it now would disrupt statefiles.  Either
we live with the computed network_view_ref attribute, see if it
is possible to transition the state, or we need to deprecate this
attribute in a future API release.
@AvRajath
Copy link
Contributor

@pearcec thanks for your contribution. Your PR has been accepted on infoblox-go-client. So can you please update the vendor with the new release?

@pearcec
Copy link
Contributor Author

pearcec commented Apr 15, 2020

I am happy to do it. But are you happy with the network_view_ref option? I think this resource should be rebuilt at some point. The implementation is inconsistent with the rest of the resources I reviewed.

There is a lot of vendor baggage happening.  Seems like go mod vendor has not been run
in previous releases.

Also updated the GNUmakefile to include the variables for build automatically
updated README.md to reflect change.
@pearcec
Copy link
Contributor Author

pearcec commented Apr 15, 2020

Updated, see the commit message there is some vendor baggage that was cleaned up during the go mod vendor call I had to make.

@AvRajath
Copy link
Contributor

I am happy to do it. But are you happy with the network_view_ref option? I think this resource should be rebuilt at some point. The implementation is inconsistent with the rest of the resources I reviewed.

This may not be the best way to do it. But i guess it works for now. Might need to find a better way on using the _ref.

@AvRajath AvRajath merged commit cf33ecb into infobloxopen:master Apr 16, 2020
@pearcec pearcec deleted the delete_network_view_fix_57 branch April 16, 2020 16:06
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.

None yet

2 participants