Giter Site home page Giter Site logo

Comments (4)

hubertgee avatar hubertgee commented on September 26, 2024

For RestPy, use the StatViewAssistant module. Take a look at the sample script bgpNgpf.py after calling ixNetwork.StartAllProtocols(). The following line of codes will verify all configured protocols are started first. Then it will verify all configured protocols sessions are UP including IPv4 ARP being resolved. The CheckCondition default timeout is 90 seconds. Raise an exception if the condition is not met otherwise return a bool result.

protocolsSummary = StatViewAssistant(ixNetwork, 'Protocols Summary')
protocolsSummary.CheckCondition('Sessions Not Started', StatViewAssistant.EQUAL, 0)
protocolsSummary.CheckCondition('Sessions Down', StatViewAssistant.EQUAL, 0)

from ixnetwork.

muthvar1 avatar muthvar1 commented on September 26, 2024

Hi Hubert,
Is there a way to list out the ip's that are not resolved in this case?

from ixnetwork.

hubertgee avatar hubertgee commented on September 26, 2024

Hi Varghese,

Yes you could get unresolved arp ip addresses. Take a look at the snapshot taken from the API browser. The list of unresolved mac addresses are aligned with the IP addresses that could not resolve the gateway mac. You have to write some code to do a .find() for the Ipv4 object handle and from there you get the attributes for address and unresolvedGatewayMac.

unresolvedMac

Hubert

from ixnetwork.

muthvar1 avatar muthvar1 commented on September 26, 2024

Thanks Hubert. Will write some code around this then.
Is this something Ixia would be providing in a some later update though? Seems like it is something most people would use. HLTAPI had this implemented, from what I remember.

Varghese

from ixnetwork.

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.