← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1627615] [NEW] Cannot override IDL class in OVSDB connection class

 

Public bug reported:

The current ovsdb connection class
(neutron.agent.ovsdb.native.connection.Connection) creates an instance
of idl.Idl, but does not allow the client of the library to select a
different library (e.g. a class overriding idl.Idl). Clients wanting to
do this have to re-implement the entire start method, which contains a
lot of unrelated logic.

This is a feature that would assist us in Dragonflow[1], where we want
to override the notify method and get OVSDB events, and have this method
overriden at the moment of connection (and not in retrospect).

[1]https://github.com/openstack/dragonflow/blob/master/dragonflow/db/drivers/ovsdb_vswitch_impl.py

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: rfe

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1627615

Title:
  Cannot override IDL class in OVSDB connection class

Status in neutron:
  New

Bug description:
  The current ovsdb connection class
  (neutron.agent.ovsdb.native.connection.Connection) creates an instance
  of idl.Idl, but does not allow the client of the library to select a
  different library (e.g. a class overriding idl.Idl). Clients wanting
  to do this have to re-implement the entire start method, which
  contains a lot of unrelated logic.

  This is a feature that would assist us in Dragonflow[1], where we want
  to override the notify method and get OVSDB events, and have this
  method overriden at the moment of connection (and not in retrospect).

  [1]https://github.com/openstack/dragonflow/blob/master/dragonflow/db/drivers/ovsdb_vswitch_impl.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1627615/+subscriptions


Follow ups