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.*

I even tried changing port but no success. Also i tried changing the
controller=remoteController, but this also has not helped.

*I checked in openflow/config.h, and enabled HAVE_SSL flag. But no change
in o/p.*

Can you please help.

Thanks
Ruchika
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to