diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-05-27 11:34:07 -0700 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-05-27 13:27:51 -0700 |
commit | 85c1917f7e9334c31d81c87f635d3eff8f175e1a (patch) | |
tree | 09ea85ea428d48dee54b250d80e8044f566ca2bb | |
parent | a1416d6205aafec2b1e748ed3c446dda6a7a9eed (diff) |
bgp: set bgp-config-file default None
allowing not use a config file.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/services/protocols/bgp/application.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ryu/services/protocols/bgp/application.py b/ryu/services/protocols/bgp/application.py index 01649263..d9e3ebf9 100644 --- a/ryu/services/protocols/bgp/application.py +++ b/ryu/services/protocols/bgp/application.py @@ -50,13 +50,10 @@ from ryu.services.protocols.bgp.utils.validation import is_valid_ipv4 LOG = logging.getLogger('bgpspeaker.application') CONF = cfg.CONF -DEFAULT_CONFIG_PATH = path.dirname(path.abspath(__file__)) + \ - '/bgp_sample_conf.py' - CONF.register_opts([ cfg.IntOpt('bind-port', default=50002, help='rpc-port'), cfg.StrOpt('bind-ip', default='0.0.0.0', help='rpc-bind-ip'), - cfg.StrOpt('bgp-config-file', default=DEFAULT_CONFIG_PATH, + cfg.StrOpt('bgp-config-file', default=None, help='bgp-config-file') ]) |