db_clear should support subkeys
Bug #2015108 reported by
Ihar Hrachyshka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ovsdbapp |
In Progress
|
Undecided
|
Unassigned |
Bug Description
In OVN driver, when I need to clear one of fields inside e.g. 'external_ids' for Port_Group (or options, or other_config...), I don't have API in ovsdbapp to achieve it. I would like support for this added to db_clear function.
Also, support for subkeys in db_set may also need a revisit. I've tried this.
ext_ids = pg['external_
And it's not working too.
To post a comment you must log in.
Here's a draft fix from Terry: https:/ /paste. centos. org/view/ ba69052e