vxlan datanetwork attributes not accessible from dbapi calls

Bug #1831782 reported by Joseph Richard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Joseph Richard

Bug Description

Brief Description
-----------------
dbapi.interface_datanetwork_get_by_interface does not return vxlan datanet attributes datanetwork_port_num, datanetwork_multicast_group, datanetwork_ttl, or datanetwork_mode, even when they are set.

Severity
--------
Minor

Steps to Reproduce
------------------
Write down the steps to reproduce the issue

Expected Behavior
------------------
Expect this dbapi calls include vxlan attributes if set

Actual Behavior
----------------
this dbapi call doesn't include vxlan attributes.

Reproducibility
---------------
100%

System Configuration
--------------------
Any

Branch/Pull Time/Commit
-----------------------
stx-config/master e2bcaab2b5bed6493fe0694525c13423073f28e2

Last Pass
---------
unknown

Timestamp/Logs
--------------
NA

Test Activity
-------------
Development

Changed in starlingx:
assignee: nobody → Joseph Richard (josephrichard)
Changed in starlingx:
status: New → In Progress
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Marking as release gating; networking issue with vxlan config

Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.2.0 stx.networking
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/663036
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=a867995943e218be9a7bceefbaecddbfd1242842
Submitter: Zuul
Branch: master

commit a867995943e218be9a7bceefbaecddbfd1242842
Author: Joseph Richard <email address hidden>
Date: Wed Jun 19 09:16:46 2019 -0500

    Fix accessing SysinvObject optional foreign fields

    This commit fixes SysinvObject._from_db_object to enable accessing
    fields in _foreign_fields that are also in _optional_fields.
    This is necessary to enable accessing vxlan multicast_group, port_num,
    ttl, and mode fields from the DataNetworks objects, and also enables
    polymorphic loading of those fields.
    This commit also fixes polymorphic loading of datanetwork vxlan
    attributes.

    Change-Id: I685fe6bf6adc436fc7f7100c622f02d1d236d8f3
    Closes-bug: 1831782
    Signed-off-by: Joseph Richard <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.