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/23709 github. org/Juniper/ contrail- controller/ commit/ fcb99919eac4221 430d9d158cb6618 bcfe39edc8
Committed: http://
Submitter: Zuul
Branch: master
commit fcb99919eac4221 430d9d158cb6618 bcfe39edc8
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: I582c68802887ea 56947d8690cdbf3 b435efd2ba1