Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1971697

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

Status in neutron:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1971697/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to