allowing not use a config file.
Signed-off-by: FUJITA Tomonori <[email protected]>
---
ryu/services/protocols/bgp/application.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/ryu/services/protocols/bgp/application.py
b/ryu/services/protocols/bgp/application.py
index 0164926..d9e3ebf 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')
])
--
1.8.5.2 (Apple Git-48)
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel