Coder Social home page Coder Social logo

Comments (2)

jadinm avatar jadinm commented on June 12, 2024

Hello,

FRRouting's vtysh command line is using unix sockets under /var/run/frr according to https://docs.frrouting.org/en/latest/vtysh.html#permissions-and-setup-requirements
But the unix sockets are not saved there by IPMininet
If you haven't changed the location, it's in /tmp/<node_name>
FYI, its location and name is set by

def zebra_socket(self):
"""Return the path towards the zebra API socket for the given node"""
return os.path.join(self._node.cwd,
'%s_%s.api' % ('quagga', self._node.name))

I am unfamiliar with vtysh configuration and cannot advise you on the best way to configure it to accommodate a different location and names
If you have time to do it, I am open to PR making IPMininet compatible with FRRouting's vtysh command line :-)

In any case, you can still connect to the daemons without the tool by using telnet as shown in the documentation of the examples: https://github.com/cnp3/ipmininet/blob/72cefde536ca02c650875d4b14d93899824af668/ipmininet/examples/README.md

from ipmininet.

N26121965 avatar N26121965 commented on June 12, 2024

Thanks for your help! I will try using telnet first.

from ipmininet.

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.