Hi,
It is not possible to run dpctl without passive listening port.
Please try the following.
1) Modify custom_script.py as follows.
(listenPort: port to listen on for dpctl connections.)
> / s1 = net.addSwitch( 's1' )/
> / s2 = net.addSwitch( 's2' )/
- s1 = net.addSwitch( 's1' )
- s2 = net.addSwitch( 's2' )
+ s1 = net.addSwitch('s1', cls=UserSwitch, listenPort=6634)
+ s2 = net.addSwitch('s2', cls=UserSwitch, listenPort=6635)
2) Execute the following command before running dpctl.
(ofprotocol: secure channel, a relay for OpenFlow messages)
$ ofprotocol tcp:127.0.0.1:6634 tcp:127.0.0.1:6635
thanks
On 2015年03月03日 19:57, Ruchika Luthra wrote:
> Hello,
>
> Now, after successfully connecting my custom topology to remote controller
> (Ryu considered here, running its simple_switch_13 learning switch
> application). The switches in the considered topology are ofsoftswitch13.
> Now using the dpctl management utility, I want to dump the stats of the
> switch, so from the mininet terminal I did,
>
> mininet> sh sudo dpctl dpctl tcp:127.0.0.1:6634 <http://127.0.0.1:6634> stats
> flow
>
> Inline image 1
> The topology considered is:
> s1 --------- s2
> l l l l
> h1 h2 h3 h4
>
> So, the steps I followed are:
> 1. Inline image 1
>
> 2. At the controller side:
> Inline image 2
>
> Please help me to know th reason of /*"Dpctl : Error During Transaction"*/.
> My main aim is to dump the flow table of the switches.
> --
> Ruchika Luthra
> M.E (CS) 4th Sem
> BITS Pilani
>
>
>
>
> --
> Ruchika Luthra
> M.E (CS) 4th Sem
> BITS Pilani
>
>
>
>
> --
> Ruchika Luthra
> M.E (CS) 4th Sem
> BITS Pilani
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel