diff options
-rw-r--r-- | ryu/controller/controller.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py index da57a8ce..90a800ee 100644 --- a/ryu/controller/controller.py +++ b/ryu/controller/controller.py @@ -57,8 +57,12 @@ CONF.register_cli_opts([ help='openflow ssl listen port'), cfg.StrOpt('ctl-privkey', default=None, help='controller private key'), cfg.StrOpt('ctl-cert', default=None, help='controller certificate'), - cfg.StrOpt('ca-certs', default=None, help='CA certificates'), - cfg.FloatOpt('socket-timeout', default=5.0, help='Time, in seconds, to await completion of socket operations.') + cfg.StrOpt('ca-certs', default=None, help='CA certificates') +]) +CONF.register_opts([ + cfg.FloatOpt('socket-timeout', + default=5.0, + help='Time, in seconds, to await completion of socket operations.') ]) |