[neutron][opencontrail]Trunk ports doesn't have standard attributes
Rodolfo Alonso Hernandez
ralonsoh at redhat.com
Fri May 6 15:13:02 UTC 2022
The OC plugin is using the Neutron API to execute operations on the server.
The "get_trunk" method calls "_get_resource" . I've tested the Neutron
API and this is what you get from the API: . All standard attributes are
Maybe this could be related to the "fields" parameter you are passing in
the method . Check if you are filtering the API call and only retrieving
a certain subset of fields.
On Fri, May 6, 2022 at 4:35 PM Gleb Zimin <gzimin at mirantis.com> wrote:
> Environment: Openstack Victoria, OpenContrail (TungstenFabric) R2011.
> Problem: Trunk ports doesn't have standard attributes such as description,
> 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.
> 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.
> In case of OpenContrail+OpenStack Trunk plugin only redirect requests.
> What can I do to make Contrail Trunk plugin works in the same way?
> I'll appreciate any help. Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openstack-discuss