You can use DataFabric Manager APIs for the OnCommand Unified Manager Core Package to retrieve information about the DataFabric Manager server, dataset management, DataFabric Manager schedule management, creating and managing provisioning and protection policy, and so on.
The following table describes sample codes that demonstrate the use of a few DataFabric Manager APIs for the OnCommand Unified Manager Package. The list also provides links to view the codes.
Name |
Description |
Sample code in languages... |
|||||||
Perl |
Java |
C# |
Powershell |
C |
Python |
Ruby |
Perl API bindings | ||
Hello DataFabric Manager |
This sample code demonstrates the following functions:
|
hello_dfm.pl |
hello_dfm.java |
- |
- |
hello_dfm.c |
hello_dfm.py |
hello_dfm.rb |
hello_dfm.pl |
DataFabric Manager proxy |
This sample code demonstrates the use of the DataFabric Manager server as a proxy for the NetApp storage system. The code demonstrates the following functions:
|
dfm_proxy.pl |
dfm_proxy.java |
- |
- |
dfm_proxy.c |
dfm_proxy.py |
dfm_proxy.rb |
- |
Dataset management |
This sample code demonstrates how to create, delete, and list datasets. It also demonstrates how to list, delete, and provision dataset members. |
dataset.pl |
dataset.java |
dataset.cs |
- |
- |
dataset.py |
dataset.rb |
- |
DataFabric Manager scheduling management |
This sample code demonstrates how to create, list, and delete DataFabric Manager schedules. |
dfm_schedule.pl |
dfm_schedule.java |
dfm_schedule.cs |
- |
- |
dfm_schedule.py |
dfm_schedule.rb |
- |
Network-attached storage (NAS) provisioning policy management |
This sample code demonstrates how to create, delete, and list NAS provisioning policies. |
nas_provisioning_policy.pl |
nas_provisioning_policy.java |
nas_provisioning_policy.cs |
- |
- |
nas_provisioning_policy.py |
nas_provisioning_policy.rb |
- |
Protection policy management |
This sample code demonstrates how to create, delete, and list protection policies. |
protection_policy.pl |
protection_policy.java |
protection_policy.cs |
- |
- |
protection_policy.py |
protection_policy.rb |
- |
Resource pooling management |
This sample code demonstrates how to create, list, and delete resource pools, and how to add, list, and remove members from a resource pool. |
resource_pool.pl |
resource_pool.java |
resource_pool.cs |
- |
- |
resource_pool.py |
resource_pool.rb |
resource_pool.pl |
MultiStore management |
This sample code demonstrates how to create and delete vFiler units, and how to create, list, and delete vFiler templates. |
vfiler.pl |
vfiler.java |
vfiler.cs |
- |
- |
vfiler.py |
vfiler.rb |
- |
Role-based access control (RBAC) by using DataFabric Manager |
This sample code demonstrates how to manage an RBAC infrastructure such as how to create, delete, and list roles, operations, and so on. |
rbac.pl |
rbac.java |
rbac.cs |
- |
- |
rbac.py |
rbac.rb |
- |
The following are advanced sample codes in Perl, Java, Python, and Ruby:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||