[Neutron][OpenContrail]Trunk ports doesn't have standard attributes.

Bug #1971697 reported by Gleb Zimin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned

Bug Description

Environment: Openstack Victoria, OpenContrail (TungstenFabric) R2011.
Problem: Trunk ports doesn't have standard attributes such as description, timestamp.
I have an environment where core plugin is OpenContrail. OpenContrail has tf-neutron-plugin for proper work with neutron. There is TrunkPlugin, that proxies all trunk-related request to the OpenContrail backend. Here is the link for this plugin. https://gerrit.tungsten.io/r/gitweb?p=tungstenfabric/tf-neutron-plugin.git;a=blob;f=neutron_plugin_contrail/plugins/opencontrail/services/trunk/plugin.py;h=35fc3310911143fd3b4cf8997c23d0358d652dba;hb=refs/heads/master
According to the openstack documentation: Resources that inherit from the HasStandardAttributes DB class can automatically have the extensions written for standard attributes (e.g. timestamps, revision number, etc) extend their resources by defining the ‘api_collections’ on their model. These are used by extensions for standard attr resources to generate the extended resources map.
As I understood, it works only for plugins, which using Openstack database. For example, openstack native trunk plugin has models.py file where we can see this inheritance. https://github.com/openstack/neutron/blob/master/neutron/services/trunk/models.py#L26
In case of OpenContrail+OpenStack Trunk plugin only redirect requests.
What can I do to make Contrail Trunk plugin works in the same way?
Thanks in advance.

Revision history for this message
Elvira García Ruiz (elviragr) wrote :

This looks more like a request for help rather than a Neutron bug. Note that this portal is a bug filing system for problems that have been encountered in Neutron itself. I highly recommend making this kind of question through the Openstack discuss mailing list [0].

[0] https://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss

Please don't hesitate to reach back if I'm wrong!

Changed in neutron:
status: New → Invalid
Revision history for this message
Gleb Zimin (gzimin) wrote :

Hello Elvira, thanks for reply.
Yes, It looks more like a request for help. I'll close this if I can.

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.