Comments (9)
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.
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.
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.
@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.
This should be discussed in fbreckle/go-netbox.
from terraform-provider-netbox.
Reopening because the feature is not implemented.
from terraform-provider-netbox.
Hello,
Any news on implementing netbox_vlan_group?
I would like to use them.
Thank you.
Vince
from terraform-provider-netbox.
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.
@BegBlev Can you confirm that this has been solved so that @fbreckle can close this issue please.
from terraform-provider-netbox.
Related Issues (20)
- [Feature Request] Add support for 'netbox_device_power_outlets' data source
- number of items limitation in netbox_device_interfaces HOT 1
- "role:This field is required" when trying to add a new device. HOT 8
- netbox_device_type is missing is_full_depth
- New resource request: netbox_device_oob_ip HOT 5
- Feature request: slug in platform
- Feature Request: Allow custom status choices
- "tags" not applied on netbox_prefix & netbox_ip_address HOT 3
- add support for virtual-disk data from netbox as ressource and data source HOT 1
- [Feature Request] Add tag to vlan filter option HOT 1
- Filters for netbox_devices are undocumented. HOT 3
- increase slug size for all objects HOT 6
- Add manufacturer datasource HOT 3
- resource "netbox_available_ip_address" : panic: runtime error: invalid memory address or nil pointer dereference HOT 6
- FHRP groups resource
- Proposal: Switch from fbreckle/go-netbox to netbox-community/go-netbox
- data source netbox_ip_addresses throws error with bool type custom_fields HOT 2
- [Feature Request] Add VPN Datasources and Resources
- [BUG] VM Type int64 Netbox v4.0.2 HOT 3
- Allow setting virtual_machine_interface_id on ip_address separately
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-netbox.