Coder Social home page Coder Social logo

Comments (9)

chernogorsky avatar chernogorsky commented on June 11, 2024

ok, my bad
fbreckle/go-netbox, and netbox v3 have some issues with scope, api and serialization.
postpone it till it settled

from terraform-provider-netbox.

chernogorsky avatar chernogorsky commented on June 11, 2024

Details: (cant find a way to open an issue in fbreckle/go-netbox)
in netbox v3 (tested with v3.0.9, 3.0.11) reply /api/ipam/vlan-groups/ field scope is json, not a string.
so, I workarounded it by comment Scope field in swagger.json

from terraform-provider-netbox.

fbreckle avatar fbreckle commented on June 11, 2024

The current fbreckle/go-netbox client was built from the netbox 3.0.9 swagger file. I also do not see any changes in the changelog that would warrant a type change in vlan-groups.

That being said, it is entirely possible that a change to the swagger file in fbreckle/go-netbox is needed to facilitate this provider.

I enabled issues in the go-netbox library.

from terraform-provider-netbox.

chernogorsky avatar chernogorsky commented on June 11, 2024

@fbreckle, do you want me open an issue in go-netbox, or your library ?
corrently, my code pass the test in case I made minor bendairing (disable scope by replacing
Scope string json:"scope,omitempty"
with
Scope string json:"scope1,omitempty"
in ./models/v_l_a_n_group.go

P.S. I know its not a good solution. the better solution will be replace it to dontcare in swagger.json
P.P.S. its not working even in 3.0.9, they change something within netbox 3.0 site/scope/... but not consistant .

from terraform-provider-netbox.

fbreckle avatar fbreckle commented on June 11, 2024

This should be discussed in fbreckle/go-netbox.

from terraform-provider-netbox.

fbreckle avatar fbreckle commented on June 11, 2024

Reopening because the feature is not implemented.

from terraform-provider-netbox.

BegBlev avatar BegBlev commented on June 11, 2024

Hello,
Any news on implementing netbox_vlan_group?
I would like to use them.
Thank you.
Vince

from terraform-provider-netbox.

zeddD1abl0 avatar zeddD1abl0 commented on June 11, 2024

I'll take a crack at this one. Seems like it shouldn't be too complex. I'll set up a pull request in the near future.

from terraform-provider-netbox.

zeddD1abl0 avatar zeddD1abl0 commented on June 11, 2024

@BegBlev Can you confirm that this has been solved so that @fbreckle can close this issue please.

from terraform-provider-netbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.