[GENIUS-67] API to expose ovsdb Node caches Created: 29/Mar/17  Updated: 30/Oct/17  Resolved: 29/May/17

Status: Resolved
Project: genius
Component/s: General
Affects Version/s: (unspecified)
Fix Version/s: None

Type: Bug
Reporter: Tali Ben-Meir Assignee: Vishal Thapar
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8098

 Description   

The following APIs would save DS access in netvirt by utilizing existing caches from genius:

  • get integration bridge by dp-id
  • get manager bridge by dp-id


 Comments   
Comment by Sam Hague [ 29/Mar/17 ]

Would this be something better to include in the southbound itself? That is the first place data is stored so maybe better performance from there.

Comment by Tali Ben-Meir [ 29/Mar/17 ]

Vishal has asked me to open this bug as genius is already doing the caching today

Comment by Vishal Thapar [ 30/Mar/17 ]

(In reply to Sam Hague from comment #1)
> Would this be something better to include in the southbound itself? That is
> the first place data is stored so maybe better performance from there.

Sam, could be done in OVSDB itself but we populate caches after data shows up in datastore. Better to avoid when we attempt an add as transaction can fail. Genius is where we have listeners for OVSDB so makes sense to do it this way. Also, Genius needs this data and listeners for its internal housekeeping so will always use them, might as well provide APIs to others.

But you do bring up an interesting point on utils in OVSDB vs utils in Genius. Maybe refactoring for Nitrogen.

Comment by Vishal Thapar [ 30/Mar/17 ]

Master: https://git.opendaylight.org/gerrit/54112

Comment by Faseela K [ 07/Apr/17 ]

Vishal, this is fixed right?
Can we close this?

Comment by Vishal Thapar [ 07/Apr/17 ]

(In reply to Faseela K from comment #5)
> Vishal, this is fixed right?
> Can we close this?

I was planning to add CLI for more cache dumps under this bug itself.

Generated at Wed Feb 07 19:59:50 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.