On Fri, Jan 23, 2015 at 01:43:39PM +0530, Ruchika Verma wrote:
> hi,
>
> I am trying to establish SSL connection between OVS and OVS-Controller(
> which as per the information on web, is possible). I am using *mininet* for
> this.
>
> I am able to generate keys and certificate for both controller and switch.
>
> I am also able to do - ovs-vsctl set-ssl...command..
>
> After this I started the OVS-controller using
>
> sudo ovs-controller -v pssl:6633 -p /etc/openvswitch/ctl-privkey.pem -c
> /etc/openvswitch/ctl-cert.pem -C
> /var/lib/openvswitch/pki/switchca/cacert.pem
>
> After the controller was started successfully, i tried to create a linear
> topology in a python file -
>
> def emptyNet():
> net = Mininet( controller=OVSController )
> net.addController( 'c0' )
> h1 = net.addHost( 'h1' )
> h2 = net.addHost( 'h2' )
> s1 = net.addSwitch( 's1' )
> net.addLink( h1, s1 )
> net.addLink( h2, s1 )
>
> net.start()
> s1.cmd('ovs-vsctl set-controller s1 ssl:127.0.0.1:6633')
>
> CLI( net )
> net.stop()
>
> if __name__ == '__main__':
> setLogLevel( 'info' )
> emptyNet()
>
> But i get error while creating this.
>
> *It prompts : close the controller already running on port 6633.*
OVS doesn't print any message like that. I think you should probably
ask about this on a mininet list.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss