GithubHelp home page GithubHelp logo

vcenter untagged vlan about netbox-ssot HOT 8 CLOSED

bl4ko avatar bl4ko commented on August 22, 2024
vcenter untagged vlan

from netbox-ssot.

Comments (8)

TaLoN1x avatar TaLoN1x commented on August 22, 2024 1

I will try to reproduce it on Monday and send you logs, thus I temporarily worked that around like this:
vmware_sync.go:31
"if len(dvpg.VlanIDs) == 1 && len(dvpg.VlanIDRanges) == 0 {" -> "if len(dvpg.VlanIDs) == 1 && len(dvpg.VlanIDRanges) == 0 && dvpg.VlanIDs[0] != 0 {"

from netbox-ssot.

bl4ko avatar bl4ko commented on August 22, 2024

Hmm, could you provide some additional context? Currenly vid 0 is ignored because of omitempty.

from netbox-ssot.

TaLoN1x avatar TaLoN1x commented on August 22, 2024

vid is mandatory field in netbox API

from netbox-ssot.

bl4ko avatar bl4ko commented on August 22, 2024

Yes I know, but you can't add vlan with vid 0 to netbox

from netbox-ssot.

TaLoN1x avatar TaLoN1x commented on August 22, 2024

Correct, but technically you can have it in vcenter and or ovirt. So its better not to try and push it to Netbox (current behavor), but throw warning and ignore it.

from netbox-ssot.

TaLoN1x avatar TaLoN1x commented on August 22, 2024

Currentry in this case i gey error that vid value is mandatory and import halts.

from netbox-ssot.

bl4ko avatar bl4ko commented on August 22, 2024

Ok, I guess this is related to #85. Could you additionally provide some log so I can see where this problem occurs, I will try to filter out all vlans with tag 0.

from netbox-ssot.

bl4ko avatar bl4ko commented on August 22, 2024

🎉 This issue has been resolved in version 0.6.8 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

from netbox-ssot.

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.