[P4-dev] Nanolog in Mininet

David Hancock dhancock at cs.utah.edu
Wed Oct 25 15:07:31 EDT 2017


When I run my mininet simulation that includes bmv2, the switch is 
started with --nanolog, yet nanomsg_client returns:

      The event logger is not enabled on the switch, run with '--nanolog 
<ip addr>

Relevent mininet output:

      s1 Starting P4 switch s1.
      <path>/bmv2/targets/simple_switch/simple_switch -i 1 at s1-eth1 -i 
2 at s1-eth2 -i 3 at s1-eth3 --thrift-port 22222 --nanolog 
ipc:///tmp/bm-0-log.ipc --device-id 0 <json path>
      P4 switch s1 has been started.

 From the bmv2/tools directory:

      ./nanomsg_client.py --thrift-port 22222
      The event logger is not enabled on the switch, run with '--nanolog 
<ip addr>'

I had not been having any problems with this until I updated bmv2. I'm 
on commit ae84c2f6d5bc3dd6873a62e351f26c39038804da.

Any ideas what I'm doing wrong?

Thanks,
David




More information about the P4-dev mailing list