Hi,

I found that OVSDB_SERVER_OPTS in debian startup script to pass option
to ovsdb-server was removed in 1.2. Is there any reason why it was dropped,
and is there a new method for that config option?

As far as I skimmed through the relevant code of both versions below,
there's no way to pass the option string to the daemon, though.

---------- utilities/ovs-ctl.in  in branch-1.2

        # Start ovsdb-server.
        set ovsdb-server "$DB_FILE"
        set "$@" -vANY:CONSOLE:EMER -vANY:SYSLOG:ERR -vANY:FILE:INFO
        set "$@" --remote=punix:"$DB_SOCK"
        set "$@" --remote=db:Open_vSwitch,manager_options
        set "$@" --private-key=db:SSL,private_key
        set "$@" --certificate=db:SSL,certificate
        set "$@" --bootstrap-ca-cert=db:SSL,ca_cert
        start_daemon "$OVSDB_SERVER_PRIORITY" "$@" || return 1

------ debian/openvswitch-switch.init  in branch-1.1

        # Start ovsdb-server.
        set --
        set -- "$@" $conf_file
        set -- "$@" --verbose=ANY:console:emer --verbose=ANY:syslog:err
        set -- "$@" --log-file=/var/log/openvswitch/ovsdb-server.log
        set -- "$@" --detach --no-chdir --pidfile $monitor_opt
        set -- "$@" --remote punix:/var/run/openvswitch/db.sock
        set -- "$@" --remote db:Open_vSwitch,manager_options
        set -- "$@" --private-key=db:SSL,private_key
        set -- "$@" --certificate=db:SSL,certificate
        set -- "$@" --bootstrap-ca-cert=db:SSL,ca_cert
        set -- "$@" $OVSDB_SERVER_OPTS
        echo -n "Starting ovsdb-server: "

-----------------------------------------

Thanks in advance,
Tomoe
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to