In NSX 4.1, you can share resources only from the default space to projects within the organization.
- Share resources from the default space to projects or NSX VPCs.
- Share resources from a project to NSX VPCs within the same project.
Shared resources are available in a read-only mode in the projects or NSX VPCs with which they are shared.
Prerequisites
- Ensure that you have understood the concept of sharing resources. See Sharing NSX Resources.
- At least one project is added in your organization. See Add an NSX Project.
- You must be assigned any one of these system-wide user roles to share resources from the default space to projects or NSX VPCs:
- Enterprise Admin
- Network Admin
- Security Admin
- You must be assigned any one of these user roles in a project to share resources from the project to NSX VPCs within the same project:
- Project Admin
- Network Admin
- Security Admin
Procedure
- From your browser, log in to an NSX Manager at https://nsx-manager-ip-address.
- To share resources from the default space to projects within the organization, do these steps:
- Ensure that you are in the Default view.
- Navigate to .
- To create a resource share, click Add Resource Share.
- Enter a name for the resource share.
- Click Set.
- In the Set Members window, select the objects you want to add in the resource share.
Note: Before adding segments in your resource share, make sure that you understand the typical use cases for sharing segments with a project. For more information, see Sharing NSX Resources.
- Click Apply.
- In the Shared With column, click Set, and then choose any one of these options:
Option Description Share with all Projects Select this option to share resources with all the projects in your organization. Share with selected Projects Select this option to share resources with specific projects in your organization. - (Optional) (Starting with NSX 4.1.1): Click Next and turn on/off the toogle to share resources with all the NSX VPCs or none of the NSX VPCs in the selected projects.
The toggle is editable only when you select the Share with selected Projects option in the previous step. If you select the Share with all Projects option, the system will share resources with all the NSX VPCs in all the projects, by default. This default setting is currently not editable.
When you are sharing resources from the default space, the system does not allow you to choose specific NSX VPCs in the selected projects. If you want to share resources with specific NSX VPCs, you can switch to each project view and create the resource share in that view. To learn more, see the instructions in step 3.
- Click Apply, and then click Save.
- (Starting with NSX 4.1.1): To share resources from a project to specific NSX VPCs within the same project, do these steps:
- Select a project from the Project drop-down menu.
- Navigate to .
- To create a resource share, click Add Resource Share.
- Enter a name for the resource share.
- Click Set.
- In the Shared With column, click Set, and then choose any one of these options:
Option Description Share with all VPCs Select this option to share resources with all the NSX VPCs in the project. Share with selected VPCs Select this option to share resources with specific NSX VPCs in the project. - Click Apply, and then click Save.
Example: Resource Share
Let us assume that an Enterprise Admin has shared a group from the default space with project-1 in your organization.
- Log in to NSX Manager with the credentials of any user that has access to project-1.
- Ensure that project-1 is selected from the Project drop-down menu.
- Navigate to .
- Click the Shared objects check box at the bottom of the Groups page.
By default, this check box is not selected.
For example:
- Observe that the shared group is listed on the Groups page.
The following pill-shaped icon is displayed next to the group name to indicate that the group is owned by the default space and shared with the project.