Hello,

I've found an error caused by the use of oslo.cfg in Ryu's applications.
Maybe I'm doing something wrong... but I find it strange, because I am
following the common OpenStack path in agents.

I'm trying to import our Ryu's BGP driver through OpenStack's
*importutils* module[1].
When the module imports the driver's module, it raises a
ArgsAlreadyParsedException in this line of code [2].

Digging a little bit in Ryu's code, I found the error raises when importing
the app_manager module[3].

The module in [1] has a main method and does not need to have OpenStack
deployed to reproduce it.

Can you tell me if I am doing something wrong? Meanwhile I will explore
more in Ryu's code to find a solution...


[
​1]:
https://github.com/midokura/neutron/blob/bp/bgp-dynamic-routing/neutron/agent/dr_agent.py#L110
​
[2]:
https://github.com/midokura/neutron/blob/bp/bgp-dynamic-routing/neutron/agent/bgp/ryu_driver.py#L15
[3]:
https://github.com/osrg/ryu/blob/v3.12/ryu/services/protocols/bgp/bgpspeaker.py#L21
-- 
Jaume Devesa
Software Engineer at Midokura
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to