Git Product home page Git Product logo

Comments (6)

gollumsss avatar gollumsss commented on July 19, 2024 1

I've just tried and seems to work OK, now says it is storing entries. After that I can find them via the netdisco web searching MACs & IPs.
Many thanks for the fixing!!!

from nd2-worker-plugin-aci.

rc9000 avatar rc9000 commented on July 19, 2024

Hi & thanks, glad you like it :) I actually didn't look at this code in quite a while, but I just tried with the APIC version we have now (4.3(3l)) and I'm still getting the switch IPs as expected in the devip field.

This is read from here:

https://<apic>/api/node/class/topSystem.json
    {'topSystem'}->{attributes}->[<array, system index>]->{oobMgmtAddr}

Are your oobMgmtAddr 0.0.0.0 in there? Maybe you have inbMgmtAddr instead?

You can get the JSON file by running e.g.
NETDISCOX_DUMPJSON=1 netdisco-do -D -d ... arpnip

then it will be stored as /tmp/https(url-encoded-hostname)topSystem.json

from nd2-worker-plugin-aci.

gollumsss avatar gollumsss commented on July 19, 2024

I checked and you were right, we have in the json dumps:

"oobMgmtAddr" : "0.0.0.0" (I understand this equals "not defined",)
and
"inbMgmtAddr" : "XX.XXX.X.XXX" (the correct IP of the fabric switch)

So the answer is that we have to define oobMgmtAddr in each fabric switch with the data of inbMgmtAddr ... right? I do not know what implies in terms of risk or downtime, I will have to check with our support.

One last question, why use oobMgmt and not inbMgmt? Our fabric is doing great in production but maybe this implies something that we missed when it was configured or can arise problems in the future.

Thank you for your time.

from nd2-worker-plugin-aci.

rc9000 avatar rc9000 commented on July 19, 2024

Wait don't change anything on your end, I'll adapt the code so it can either use oobMgmtAddr or inbMgmtAddr - it just happened that our fabrics always had a oobMgmtAddr defined.

from nd2-worker-plugin-aci.

gollumsss avatar gollumsss commented on July 19, 2024

Ok then, I'll wait to test the new code.
Thank you again for your time.

from nd2-worker-plugin-aci.

rc9000 avatar rc9000 commented on July 19, 2024

Ok it should be reading inbMgmtAddr now if there is no oobMgmtAddr. I can not test it very well since we only seem to have oob everywhere, but I hope it works for you.

from nd2-worker-plugin-aci.

Related Issues (8)

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.