summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2014-03-12 12:52:29 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-03-16 20:28:09 +0900
commit934fc1516f25ef96aa3e36e52b78985a9896e375 (patch)
tree7fdcf99514463bc8ed6c0941f97dbc20c1089a87
parent6756ff595cd716bc1369d03d8c5b298befb52999 (diff)
ryu.cfg: re-export some frequently used stuff for convenience
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/cfg.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/ryu/cfg.py b/ryu/cfg.py
index 871533cb..62ce33a7 100644
--- a/ryu/cfg.py
+++ b/ryu/cfg.py
@@ -33,3 +33,13 @@ import oslo.config.cfg
# to allow app-specific options.
CONF = oslo.config.cfg.CONF
+
+# re-export for convenience
+
+from oslo.config.cfg import BoolOpt
+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 ConfigFilesNotFoundError