#NEWLINE# def _make_admin_policy_shared_to_tenant_id( self , tenant_id ) : #NEWLINE# #INDENT# policy = self . _create_qos_policy ( ) #NEWLINE# rbac_policy = self . admin_client . create_rbac_policy ( object_type = 'qos_policy' , object_id = policy [ 'id' ] , action = 'access_as_shared' , target_tenant = tenant_id ) [ 'rbac_policy' ] #NEWLINE# return { #NEWLINE# #INDENT# 'policy' : policy , #NEWLINE# 'rbac_policy' : rbac_policy , #NEWLINE# #UNINDENT# }