summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Ragusa <aragusa@grnoc.iu.edu>2014-07-09 09:51:23 -0400
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-07-10 08:45:36 +0900
commit261cda51a985f8be2785cc67ad26505c4b15355c (patch)
treeb4ab5c5f35eeab6f6cedc3c97b6c17b05804afcf
parent3770483c674c3ad3cf5cf1d3033a9335a51ec0c6 (diff)
adding FloatOpt to the config parser
This patch just adds the ability to parse Float values from a config using oslo.config.cfg FloatOpt class Signed-off-by: AJ Ragusa <aragusa@grnoc.iu.edu> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/cfg.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ryu/cfg.py b/ryu/cfg.py
index 24959611..f2f05b44 100644
--- a/ryu/cfg.py
+++ b/ryu/cfg.py
@@ -43,6 +43,7 @@ from oslo.config.cfg import IntOpt
from oslo.config.cfg import ListOpt
from oslo.config.cfg import MultiStrOpt
from oslo.config.cfg import StrOpt
+from oslo.config.cfg import FloatOpt
from oslo.config.cfg import RequiredOptError
from oslo.config.cfg import ConfigFilesNotFoundError