Yes display-name is only to reflect users current assignment. The fq name stays 
the original. While you are right that display name isn't updated when project 
changes in keystone we don't have any trigger to do the update.

Ajay

On Sep 29, 2015, at 12:54 AM, Édouard Thuleau 
<[email protected]<mailto:[email protected]>> wrote:

Sachin,

Thanks for your answer. And what's the objective of the 'name' property?
So the fq name keep the old name?
In the project case, it seems the display_name is not updated. I looked into 
the code src/config/vnc_openstack/vnc_openstack/__init__.py and nothing is done 
for that. Do you think it's a bug?
If we don't change that the project list between keystone and contrail will 
have only the UUID in common.

Édouard.

On Mon, Sep 28, 2015 at 9:08 PM, Sachin Bansal 
<[email protected]<mailto:[email protected]>> wrote:
Edouard,

The property display-name was created for this precise purpose. When the name 
of any property is changed in openstack, we change the display-name in 
contrail. This field is not a key and it allows us to change it at will and 
also allow duplicates.

Sachin

> On Sep 28, 2015, at 3:47 AM, Édouard Thuleau 
> <[email protected]<mailto:[email protected]>> wrote:
>
> Hi,
>
> OpenStack Keystone authorizes to update the name of a tenant|project through 
> its API and Contrail uses the domain and project names to compose the FQ name 
> of resources. Even that, could we safety modify project names?
>
> I tried on a devstack and that works but the project resource on the Contrail 
> API was not updated (it keeps the old name).
> Btw what's the difference between attributes 'name' and 'display_name' on the 
> project resource?
>
> Regards,
> Édouard.
> _______________________________________________
> Dev mailing list
> [email protected]<mailto:[email protected]>
> http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org


_______________________________________________
Dev mailing list
[email protected]<mailto:[email protected]>
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to