Add chown and chmod API to change ownership and permissions for an object.
Use these API in neutron plugin to explicitly set ownership of various
objects such as port, virtual machine, instance IP and security group to
tenant id of user invoking operation. This is needed because Nova doesn't
pass the actual user token to neutron for these operations.
Reviewed: https:/ /review. opencontrail. org/20536 github. org/Juniper/ contrail- controller/ commit/ 638acbd9ddb96e3 b9bb73f51ad42bb 52cdf8f7a3
Committed: http://
Submitter: Zuul
Branch: master
commit 638acbd9ddb96e3 b9bb73f51ad42bb 52cdf8f7a3
Author: Deepinder Setia <email address hidden>
Date: Tue May 17 13:48:00 2016 -0700
Add chown and chmod API to change ownership and permissions for an object.
Use these API in neutron plugin to explicitly set ownership of various
objects such as port, virtual machine, instance IP and security group to
tenant id of user invoking operation. This is needed because Nova doesn't
pass the actual user token to neutron for these operations.
Fixes-bug: #1531305
Change-Id: I5a0dab384f3e50 f69a2d51fa42705 b54a9ebcf14