[ovs-dev] who tell ovsdb-server to create listen socket for oven's nb and sb?

Lance Richardson lrichard at redhat.com
Fri Feb 10 13:08:05 UTC 2017


> From: "lg.yue" <kernelluck at 163.com>
> To: "devovs" <dev at openvswitch.org>
> Sent: Friday, February 10, 2017 5:31:00 AM
> Subject: [ovs-dev] who tell ovsdb-server to create listen socket for oven's nb and sb?
> 
> Hi, all:
>     1.  who tell ovsdb-server to create  listen socket for oven's nb and sb?
> ovsdb-server --detach --monitor -vconsole:off
> --log-file=/var/log/openvswitch/ovsdb-server-nb.log
> --remote=punix:/run/openvswitch/ovnnb_db.sock
> --pidfile=/run/openvswitch/ovnnb_db.pid
> --remote=db:OVN_Northbound,NB_Global,connections --unixctl=ovnnb_db.ctl
> --private-key=db:OVN_Northbound,SSL,private_key
> --certificate=db:OVN_Northbound,SSL,certificate
> --ca-cert=db:OVN_Northbound,SSL,ca_cert /var/lib/openvswitch/ovnnb_db.db
> 

As of version 2.7, the nb and sb db servers no longer create TCP listen
sockets by default, the connections can be configured explicitly via e.g.:

     ovn-sbctl set-connection ptcp:6642
     ovn-nbctl set-connection ptcp:6641

This change was made as a security improvement along with the addition
of the ability to use SSL for nb and sb server connections. More details
can be found here:

    https://mail.openvswitch.org/pipermail/ovs-dev/2016-December/326687.html

Regards,

   Lance

> 
> 2. ovn-nb-idl.ovsidl is nb's structure. who  tell ovsdb-server to create nb
> according to ovn-nb-idl.ovsidl?
> 
> 
> thanks
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
> 


More information about the dev mailing list