Share a Private Network with Another Project
-
Verify OpenStack CLI client is installed.
-
Obtain an Application Credentials for the project with the network to be shared. You must first switch to the project, create the application credential by clicking on Application Credential in the Identity tab, and
Download openrc file
. This credential will only allow you to access the contents of this specific project. -
Get started with OpenStack CLI client and authenticate with the openrc file.
-
Enter
openstack project list
to see the name and ID of the destination project you want to share with. If a message prompts for missing values, then the authentication step from previous step was unsuccessful. -
Enter
openstack network list
to see if the network is listed, and note down the ID. -
Enter the following, with appropriate substitutions for
<Network ID>
and<Target Project ID>
.openstack network rbac create --target-project <Target Project ID> --action access_as_shared --type network <Network ID>
You should now see the shared network in the destination project.