-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to unbuffer sys.stdin for a node's shell process #126
Comments
Hello,
Not that I know of and, in any case, a buffering is not eternal, the buffer would eventually be flushed Would you mind giving the script that you use to start the topology ? With or without IPCLI Also, did you make sure that BGP updates/withdrawals do arrive to exaBGP when not launched in IPCLI ? |
Here is an example of my topology script. I configure the topology and the nodes and start an application that talks to ExaBGP. Once the nodes are configured, I trigger a link failure and restore the link a number of times. This causes a large number of BGP update messages to be generated and sent to ExaBGP. What's interesting is that, for the first three link failure and recovery events, ExaBGP is fine but after the fourth one, ExaBGP just hangs and does not process any messages again. When I run the topology script with
|
Hi,
I'm experiencing a situation with exaBGP daemon in IPMininet. In my IPMininet topology, I've configured one of the nodes with
exaBGP. The exaBGP daemon has two processes
announce-routes
andreceive-routes
which both have two python scriptssender.py
andreceiver.py
respectively.sender.py
announce the routes to the exaBGP peer and receiver.py receives and parses all BGP messages whilereceiver.py
receives and processes the BGP messages generated.sender.py
looks somewhat like thisreceiver.py
looks somewhat like thisIf I run the network/topology and I trigger a link failure about four times which causes a bunch of BGP updates and withdrawal, the
receiver.py
script hangs and does not process any message again. However, if I run the topology withIPCLI()
and run exabgp from the shell of the host withxterm
, the script does not hang. This makes me think there is something buffering sys.stdin and sys.stdout when the topology is not run in interactive CLI mode. I was wondering if there is a way to turn off buffering or get around this ? Or if this has been encountered before ?IPMininet version is 0.9, python version 3.6
The text was updated successfully, but these errors were encountered: