|
APIs in Category: dfm |
API version 5.0 |
| dfm-about | [top] |
Retrieve information currently provided by the 'dfm about' command.
Input Name Range Type Description include-directory-size-info boolean
optional
If true, then size and file count information of the DFM directories is returned. Default value is false i.e. only names of the DFM directories are returned. Output Name Range Type Description cpu-count string
CPU count. dfm-directories directory-info[]
edition string
Edition of this product. Possible Values are 'Express edition' and 'Standard edition' with product name appened. host-name string
Host name. install-dir string
Installation directory. installed-plugins plugin[]
licensed-features feature[]
node-limit string
Operations Manager Node limit. operating-system string
Operating system. prot-mgr-node-limit string
Protection Manager Node limit. prov-mgr-node-limit string
Provisioning Manager Node limit. serial-number string
serial number of this product. system-memory string
System memory. system-time integer
System time in seconds since 00:00:00 Jan 1, 1970, UTC. version string
A string that adheres to the following regular expression: [1-9][0-9]+\.[1-9][0-9]+.* The first number is the DFM major version. The second number is the DFM minor version. DFM APIs don't change if the major.minor doesn't change. Example: 3.5.0.4726
Errno Description EAPIPRIVILEDGE
| dfm-backup-schedule-disable | [top] |
Disable an existing backup schedule.
Errno Description EAPIERROR EINTERNALERROR EDATABASEERROR
| dfm-backup-schedule-enable | [top] |
Enable an existing backup schedule.
Errno Description EAPIERROR EDATABASEERROR EINTERNALERROR
| dfm-backup-schedule-get | [top] |
Get the information about a DFM database backup schedule.
Output Name Range Type Description backup-type backup-type
Scheduled DFM database backup type. day integer
optional
The day of the week on which the backup schedule has to run at the specified hour:minute time. This is optional when the schedule-type is 'weekly'. The day starts with Sunday. The days are enumerated with Sunday=0, Monday=1 and so on. Range: [0..6] hour integer
optional
The hour of a day at which the backup schedule runs. This is optional only for the 'snapshot' type backups set at 'hourly' period. Range: [0..23] is-schedule-enabled boolean
true if the backup schedule is enabled, false otherwise. minute integer
The minute of an hour at which the backup schedule runs. Range: [0..59] repeat-interval integer
optional
The hourly interval at which 'snapshot' based backups recur. This is applicable for 'snapshot' type backups having 'daily' schedule-type. Range: [1..24] schedule-type string
The period at which the backup schedule has runs. Possible values are 'hourly', 'daily' or 'weekly'.
Errno Description EACCESSDENIED EAPIERROR EDATABASEERROR EINTERNALERROR
| dfm-backup-schedule-set | [top] |
API to configure DFM database backup schedules. A schedule can be of 'snapshot' or 'archive' type backup. Archive backups can be scheduled at 'daily' or 'weekly' period. Snapshot backups can be scheduled at 'hourly', 'daily' or 'weekly' period or everyday at regular intervals starting from a specified time. Hourly backups require the 'minute' at which the backup schedule is to run every hour. Daily backup schedule requires 'hour' and 'minute' at which the backup schedule is to run. Weekly backup schedule requires the day of the week and time (hh:mm) at which the backup schedule is to run. A backup schedule can also be set to run every day at regular hourly repeat intervals starting from a specified hour:minute. Only one schedule can be set for creating DFM backups.
Input Name Range Type Description backup-type backup-type
optional
Default backup type is 'archive'. day integer
optional
The day of the week on which the backup schedule has to run at the specified hour:minute time. Required for weekly schedule type. Not allowed for hourly and daily schedule type. The day starts with Sunday. The days are enumerated with Sunday=0, Monday=1 and so on. Range: [0..6] hour integer
optional
The hour of a day at which the backup schedule has to run. Required for daily or weekly schedule type. Not allowed for hourly schedule type. Range: [0..23] is-schedule-enabled boolean
optional
Indicates whether the backup schedule has to be enabled or disabled after setting. Default value is true. minute integer
optional
The minute of an hour at which the backup schedule has to run. Default value is 0. Range: [0..59] repeat-interval integer
optional
The hourly interval at which 'snapshot' based backups have to recur starting at hour:minute. This is applicable only for 'snapshot' type backups. Range: [1..24] schedule-type string
The period at which the backup schedule has to run. Possible values are 'hourly', 'daily', 'weekly'.
Errno Description EACCESSDENIED EAPIERROR EDATABASEERROR EINTERNALERROR EINVALIDINPUT
| dfm-backup-start | [top] |
API to start a database backup immediately.
Input Name Range Type Description backup-type backup-type
Type of DFM database backup to initiate a backup.
Errno Description EAPIERROR EDATABASEERROR EINTERNALERROR EINVALIDINPUT
| dfm-backup-status | [top] |
Get information about a DFM database backup.
Output Name Range Type Description backup-status string
Status of the database backup. Possible values are: 'running': when backup job is running; applicable for both immediate and scheduled backups. 'pending': when backup job is scheduled, but yet to start; applicable only for immediate backup started with dfm-backup-start. 'schedule_active': backup schedule is set and enabled; applicable for scheduled backup only. 'schedule_inactive': backup schedule is set and disabled; applicable for scheduled backup only. 'not_scheduled': when a schedule is not set; applicable for scheduled backup only.
Errno Description EAPIERROR EDATABASEERROR EINTERNALERROR
| dfm-get-api-statistics | [top] |
Retrieve information about the API call frequencies on the DFM server
Input Name Range Type Description clear-api-stats boolean
optional
If present and true, reset all the API statistics. Default value is false. Output Name Range Type Description api-statistics api-stat[]
Lists the statistics about the API call frequencies on the DFM server.
Errno Description EAPIPRIVILEDGE
| dfm-get-resource-property-values | [top] |
Gets the list of resource properties and the values that can be set as filters for thresholds. The list of resource properties are pre-defined, but the values are obtained from the current set of values in the database
Input Name Range Type Description resource-property string
optional
Specifies the property for which the values are to be returned If not present, then resource values for all properties are returned Maximum length of 255 characters Output Name Range Type Description resource-property-values resource-property-values[]
The values for the resource properties
Errno Description EINTERNALERROR EAPIERROR EACCESSDENIED EDATABASEERROR
| dfm-monitor-timestamp-list | [top] |
Returns the monitoring timestamps of a host.
Input Name Range Type Description host-name-or-id obj-name-or-id
The name or id of the host for which monitoring timestamp is required. It should be name or id of a Host Agent, vFiler Unit, Storage System, Cluster or OSSV Host. Output Name Range Type Description dfm-monitoring-timestamps dfm-monitoring-timestamp[]
List of all applicable monitoring timestamps.
Errno Description EAPIERROR EOBJECTNOTFOUND EOBJECTAMBIGUOUS EINVALIDINPUT EACCESSDENIED EDATABASEERROR EINTERNALERROR EAPIAUTHENTICATION
| dfm-object-refresh | [top] |
Request monitors be scheduled to run to refresh the information of the object specified. The monitors to be scheduled to run can be specified implicitly using child-type or explicitly by providing monitor-names. If both child-type and monitor-names are specified, it will be treated as an error.
Input Name Range Type Description child-type string
optional
If specified, schedule only those monitors affecting the specified type. Otherwise, all monitors affecting the object-name-or-id will be scheduled. Valid only if object-name-or-id points to a Storage System or a vFiler unit. Possible values: "aggregate", "volume", "qtree" and "lun_path". monitor-names monitor-name[]
optional
Specifies one or more monitors to be scheduled to run. If this input is not provided, all monitors will be scheduled. Valid only if object-name-or-id points to a Host Agent, Storage System, vFiler unit, OSSV Host or a NetCache. object-name-or-id obj-name-or-id
The name or id of the object to be refreshed. Should be name or id of a Host Agent, Storage System, vFiler unit, OSSV Host, Aggregate, Volume, Qtree, LUN or a NetCache. If child-type is specified, this should be name or id of a Storage System or a vFiler unit. If monitor-names are specified, this should be name or id of a Host Agent, Storage System, vFiler unit, OSSV Host or a NetCache.
Errno Description EOBJECTNOTFOUND EOBJECTAMBIGUOUS EINVALIDINPUT EACCESSDENIED EDATABASEERROR EINTERNALERROR
| dfm-objects-get-status | [top] |
Get status for DFM objects This api always returns true. It returns the status for all the objects that are passed in. A object-name-or-id of "0" indicates the "global group" Privelege required is read
Input Name Range Type Description objects obj-name-or-id[]
The objects for which status is to be retrieved Output Name Range Type Description objects-status obj-status-info[]
Status of the passed in input objects.
Errno Description EAPIPRIVILEDGE EAPILICENSE EOBJECTNOTFOUND EACCESSDENIED EOBJECTAMBIGUOUS EDATABASEERROR EINVALIDINPUT EAPIERROR
| dfm-related-objects-list-info | [top] |
Retrieve information about objects related to a DFM object. This api takes an object as input and returns the information about parent objects of that object, resource groups, datasets and resource pools the object belongs to and objects that belong to the specified object. Privilege required is DFM.Database.Read on the specified object. Parent output objects are returned only if the authenticated user has DFM.Database.Read privilege on that parent object. For e.g. group to which an object belongs is returned only if the authenticated user has DFM.Database.Read privilege on that group.
Input Name Range Type Description include-indirect boolean
optional
If true, resource groups, datasets and resource pools in which the input object is an indirect member will also be returned. Default value is false, i.e only direct memberships are returned. object-name-or-id obj-name-or-id
Name or identifier of an object to list related objects for. The allowed object types for this argument are:
- Host
- Aggregate
- Volume
- Qtree
- Lun
Output Name Range Type Description child-count-list child-count[]
optional
Count of children for the specified object. Present in the output if the object has at least one child. parent-dataset-list parent-dataset[]
optional
Datasets the specified object belongs to. Present in the output if the object belongs to at least one dataset. parent-group-list parent-group[]
optional
Resource groups the specified object belongs to. Present in the output if the object belongs to at least one group. parent-object-list parent-object[]
optional
Parents of the specified object. Present in the output if there is at least one parent object. parent-resourcepool-list parent-resourcepool[]
optional
Resource Pools the specified object belongs to. Present in the output if the object belongs to at least one resource pool.
Errno Description EAPIPRIVILEDGE EOBJECTNOTFOUND EINTERNALERROR EAPIERROR EACCESSDENIED EDATABASEERROR
| dfm-server-list-diagnostic-info | [top] |
Retrieve server diagnostic information
Output Name Range Type Description diag-info dfm-diag-counter-group[]
Diagnostic information collected from the dfm server.
Errno Description EAPIPRIVILEDGE
| dfm-snmp-setting-add | [top] |
Add a SNMP credential setttings for a host or network in dfm. This credential will be used when discovering networks in dfm.
Input Name Range Type Description host-name string
optional
The name of the host. This could be either short or fully qualified host name. Either this attribute or network-address must be provided. Error is returned if both are provided. network-address network-address
optional
Ip address of the network or host prefix-length prefix-length
It represents prefix length. Useful for subnet mask calculation. This should be 32 for IPv4 and 128 for IPv6 if the network-address is a host address. privacy-password string
encrypted
optional
Privacy password used for encrypting SNMPv3 communication. This element is optional for the SNMP versions other than snmp_v3. snmp-authentication-login string
optional
The name of the user to be used for SNMPv3 discovery and monitoring. This element is optional for the SNMP versions other than snmp_v3. snmp-authentication-password string
encrypted
optional
The authentication password to be used for SNMPv3 communication. Value must be a string greater than or equal to 8 characters. This element is optional for the SNMP versions other than snmp_v3. snmp-authentication-protocol snmp-authentication-protocol
optional
Authentication protocol for use with SNMPv3. This element is optional for the SNMP versions other than snmp_v3. snmp-community-name string
optional
Name of the snmp community used for snmpv1 communication. This element is optional for the SNMP versions other than snmp_v1. snmp-version snmp-version
optional
Represents snmp version that will be used for discovering network. Output Name Range Type Description snmp-id snmp-id
A unique-id for this snmp credential setting will be returned.
Errno Description EINTERNALERROR EINVALIDINPUT EAPIERROR EACCESSDENIED EDATABASEERROR
| dfm-snmp-setting-delete | [top] |
Delete networks from dfm so that discovery should not happen. Either snmp-id or both network-address and prefix-length has to be provided. If the user provides both or does not provide any, it will be considered as invalid input.
Input Name Range Type Description host-name string
optional
Name of the host. It could be either short or fully qualified host name. network-address network-address
optional
IP address of the network or host. prefix-length prefix-length
optional
Prefix length of the network or host. This should be 32 for IPv4 and 128 for IPv6 if the network-address is a host address. snmp-id snmp-id
optional
Unique indentifier of the SNMP credential setting in dfm. This id will be generated when SNMP credential setting was added.
Errno Description EINTERNALERROR EINVALIDINPUT EAPIERROR EACCESSDENIED EDATABASEERROR
| dfm-snmp-setting-modify | [top] |
Modify SNMP credential in dfm so that network discovery should happen using new SNMP credential.
Input Name Range Type Description prefix-length prefix-length
optional
It is prefix length of network or host, useful for subnet mask calculation. This cannot be modified for hosts. privacy-password string
encrypted
optional
Privacy password used for encrypting SNMPv3 communication. This element is optional for the SNMP versions other than snmp_v3. snmp-authentication-login string
optional
The name of the user to be used for SNMPv3 discovery and monitoring. This element is optional for the SNMP versions other than snmp_v3. snmp-authentication-password string
encrypted
optional
The authentication password to be used for SNMPv3 communication. Value must be a string greater than or equal to 8 characters. This element is optional for the SNMP versions other than snmp_v3. snmp-authentication-protocol snmp-authentication-protocol
optional
Authentication protocol for use with SNMPv3. This element is optional for the SNMP versions other than snmp_v3. snmp-community-name string
optional
Name of the snmp community used for snmpv1 communication. This element is optional for the SNMP versions other than snmp_v1. snmp-id snmp-id
Unique indentifier of the SNMP credential setting in dfm. snmp-version snmp-version
optional
Represents snmp version that will be used for discovering network.
Errno Description EINTERNALERROR EINVALIDINPUT EAPIERROR EACCESSDENIED EDATABASEERROR
| dfm-snmp-settings-list-info | [top] |
Returns list of SNMP credential settings available in the dfm database Either snmp-id or both network-address and prefix-length has to be provided. If user provides both, it will be considered as invalid input. If user does not provide any, then all the snmp credentials will be returned.
Input Name Range Type Description host-name string
optional
The name of the host. This could be either short or fully qualified host name. This attribute and network-address must not be provided simultaneously. Error is returned if both are provided. network-address string
optional
Ip address of the network or host. prefix-length integer
optional
It represents prefix length. Useful for subnet mask calculation. This should be 32 for IPv4 and 128 for IPv6 if the network-address is a host address. snmp-id snmp-id
optional
A unique id representing the SNMP credential setting. Output Name Range Type Description network-snmp-credentials network-snmp-credential-info[]
The list of SNMP credential settings.
Errno Description EINTERNALERROR EINVALIDINPUT EAPIERROR EACCESSDENIED EDATABASEERROR
| dfm-user-priv-get | [top] |
Retrieve current user's global privilege. This api is no longer the preferred way to getting user privileges. Use rbac-access-check.
Output Name Range Type Description privilege string
User's privilege(s), comma separated if there are multiple. Possible privileges are: FULL, DELETE, WRITE, READ, BACKUP, RESTORE, SAN, SRM, MIRROR.
Errno Description ENAMENOTFOUND
| Element definition: api-stat | [top] |
Statistics about a single server API
Name Range Type Description api-name string
Name of the API call-count integer
The number of times the API has been invoked. Range:[1..2^32-1)] cpu-max-time integer
Maximum CPU time spent during the API execution Range:[0..2^63-1]Units: Wall-clock milliseconds cpu-mean-time integer
Mean CPU time spent during the API execution Range:[0..2^63-1]Units: Wall-clock milliseconds cpu-min-time integer
Minimum CPU time spent during the API execution Range:[0..2^63-1]Units: Wall-clock milliseconds db-max-calls integer
Maximum number of database operations by this API Range:[0..2^32-1)] db-max-time integer
Maximum database time spent during the API execution Range:[0..2^63-1]Units: Wall-clock milliseconds db-mean-calls integer
Mean number of database operations by this API Range:[0..2^32-1)] db-mean-time integer
Mean database time spent during the API execution Range:[0..2^63-1]Units: Wall-clock milliseconds db-min-calls integer
Minimum number of database operations by this API Range:[0..2^32-1)] db-min-time integer
Minimum database time spent during the API execution Range:[0..2^63-1]Units: Wall-clock milliseconds max-time integer
Maximum execution time for the API. Range:[0..2^63-1]Units: Wall-clock milliseconds mean-time integer
Mean execution time for the API. Range:[0..2^63-1]Units: Wall-clock milliseconds min-time integer
Minimum execution time for the API. Range:[0..2^63-1]Units: Wall-clock milliseconds
| Element definition: backup-type | [top] |
Type of DFM database backup. Possible values are 'archive' and 'snapshot'. The 'archive' type backups are used when the data resides on a conventional disk. The 'snapshot' type backups are used for data residing on a LUN.
[none]
| Element definition: child-count | [top] |
Count of children of one type for the specified object. An element of this type is returned if count is 1 or more.
Name Range Type Description count integer
Number of children of this type. Range: [1..2^31-1]
type string
Object type of the child object. Valid values are: 'vfiler', 'aggregate' 'volume', 'qtree', 'lun' and 'disk'.
| Element definition: dfm-diag-counter-group | [top] |
Descriptive diagnostic information about a counter group.
Name Range Type Description group-name string
The name of the counter group. histogram string
Comma delimited list of counter values. host-name string
The name of the monitored host. last-updated integer
Timestamp of the last time this counter group was monitored (seconds since 1/1/1970).
| Element definition: dfm-monitoring-timestamp | [top] |
The timestamp of last monitoring done for a monitor on various objects of DFM.
Name Range Type Description last-monitoring-timestamp integer
Time in seconds since 00:00:00 Jan 1, 1970, UTC. Range: [0..2^63-1] monitor-name monitor-name
Name of the DFM monitor. Applicable monitors for Host Agent are Applicable monitors for OSSV Host are
- "agent" - refreshes agent information
- "ping" - refreshes ping status
- "san" - refreshes SAN information
- "sysinfo" - refreshes system information
- "srm" - refreshes SRM information
Applicable monitors for vFiler unit are
- "agent" - refreshes agent information
- "snapmirror" - refreshes snap mirror information
- "snapvault" - refreshes snap vault information
- "sysinfo" - refreshes system information
Applicable monitors for Data ONTAP 7-Mode storage system are
- "config_conformance" - checks a storage system's configuration for conformance
- "cpu" - refreshes cpu related information
- "disk_free_space" - refreshes disk free space
- "file_system" - refreshes file system information
- "lun" - collects lun information
- "ping" - refreshes ping status
- "qtree" - refreshes qtree data using snmp
- "qtree_xml" - refreshes qtree data using zapi
- "rbac" - refreshes RBAC information
- "snapmirror" - refreshes snap mirror information
- "snapshot" - refreshes snap shot information
- "snapvault" - refreshes snap vault information
- "sysinfo" - refreshes system information
- "vfiler" - refreshes vfiler information
- "userquota" - refreshes user quota information
Applicable monitors for Data ONTAP Cluster-Mode storage system are
- "config_conformance" - checks a storage system's configuration for conformance
- "cpu" - refreshes cpu related information
- "cluster_failover" - refreshes cluster fail over information
- "disk_free_space" - refreshes disk free space of a host
- "disk_status" - refreshes disk status of a Host
- "env" - refreshes environmentals of a Host
- "fibre_channel" - refreshes fibre channel information
- "file_system" - refreshes file system information of Host
- "interface_status" - refreshes network related information of a Host
- "license" - collects license information from Hosts
- "lun" - collects lun information from Host
- "ops" - refreshes file system operation count of a Host
- "ping" - refreshes ping status of a Host
- "qtree" - refreshes qtree data using snmp
- "qtree_xml" - refreshes qtree data using zapi
- "rbac" - refreshes RBAC information
- "snapmirror" - refreshes snap mirror information
- "snapshot" - refreshes snap shot information
- "snapvault" - refreshes snap vault information
- "status" - refreshes global status of a Host
- "sysinfo" - refreshes system information of a Host
- "vfiler" - refreshes vfiler information of a hosting storage system
- "userquota" - refreshes user quota information of a host
- "cpu" - refreshes cpu related information
- "cluster" - refreshes cluster information
- "disk_free_space" - refreshes disk free space of a host
- "env" - refreshes environmentals of a Host
- "file_system" - refreshes file system information of Host
- "interface_status" - refreshes network related information of a Host
- "license" - collects license information from Hosts
- "ping" - refreshes ping status of a Host
- "snapshot" - refreshes snap shot information
- "sysinfo" - refreshes system information of a Host
- "vserver" - refreshes vserver information of a Host
| Element definition: directory-info | [top] |
Lists the information about DFM directories. These directories include Performance Advisor data directory, Database Backup directory, Data Export directory and Reports Archival directory.
Name Range Type Description disk-free-space integer
optional
Free space for the file system containing the directory (in bytes). This field is returned only when include-directory-size-info is true in input. Range: [0..2^63-1]. disk-free-space-percent string
optional
Free disk space percentage for the file system containing the directory (in percent). This field is returned only when include-directory-size-info is true in input. file-count integer
optional
Number of files in the directory. This field is returned only for Performance Data directory. Range:[0..2^31-1] This field is not returned if the file count of the directory is unknown. name string
Name of the directory. For example, "opt/NTAPdfm/perfdata". size integer
optional
Size of the directory in bytes. Range:[0..2^63-1] This field is not returned if the size is unknown. type string
Type of the DFM directory. Possible values: "install", "performance_data", "database_backup", "reports_archive" and "data_export".
| Element definition: feature | [top] |
Information about a licensed feature.
Name Range Type Description is-license-expired boolean
optional
Indicates whether the license for the feature has expired. Returned only when the license has expired. Default value is false. name string
name of the feature summary string
Information about the license for the feature such as status, type and expiration date.
| Element definition: monitor-name | [top] |
Specifies name of a monitor to be scheduled to run. Possible values are as follows:
- "agent" - refreshes agent information
- "cache" - refreshes net cache information
- "cluster_failover" - refreshes cluster fail over information
- "config_conformance" - checks a storage system's configuration for conformance
- "connectivity" - checks connectivity of a given Host
- "cpu" - refreshes cpu related information
- "disk_free_space" - refreshes disk free space of a Host
- "disk_status" - refreshes disk status of a Host
- "env" - refreshes environmentals of a Host
- "fibre_channel" - refreshes fibre channel information
- "file_system" - refreshes file system information of Host
- "interface_status" - refreshes network related information of a Host
- "license" - collects license information from Hosts
- "lun" - collects lun information from Host
- "ndmp" - refreshes ndmp ping timestamp
- "ndmp_credentials" - refreshes ndmp credentials timestamp
- "ops" - refreshes file system operation count of a Host
- "ping" - refreshes ping status of a Host
- "qtree" - refreshes qtree data using snmp
- "qtree_xml" - refreshes qtree data using zapi
- "san" - refresh SAN information of a Host Agent
- "share" - refreshes shares information of a Host
- "snapmirror" - refreshes snap mirror information
- "snapshot" - refreshes snap shot information
- "snapvault" - refreshes snap vault information
- "snapvault_dir" - refreshes directories on OSSV Hosts; monitor applicable only for OSSV Hosts
- "srm" - refresh SRM information of a Host Agent
- "status" - refreshes global status of a Host
- "sysinfo" - refreshes system information of a Host
- "userquota" - refreshes user quota information of a host
- "vfiler" - refreshes vfiler information of a hosting storage system
[none]
| Element definition: network-address | [top] |
IP address of the network or host
[none]
| Element definition: network-snmp-credential-info | [top] |
SNMP credential information of a network or host.
Name Range Type Description host-name string
optional
Fully qualified name of the host. This will be returned only for hosts, not for networks. is-snmp-privacy-enabled boolean
This will be returned only if the snmp-version is snmp_v3. It indicates if the privacy-password was set when adding snmp credentials for network. network-address string
IP Address of the network or host. prefix-length integer
It represents the prefix length. This should be 32 for IPv4 and 128 for IPv6 if the network-address is a host address. snmp-authentication-login string
The name of the user to be used for SNMPv3 discovery and monitoring. This will be returned only if the snmp-version is snmp_v3. snmp-authentication-protocol string
Authentication protocol for use with SNMPv3. This will be returned only if the snmp-version is snmp_v3. snmp-community-name string
This represents the community name of snmpv1. It will be returned only if the snmp-version is snmp_v1. snmp-id snmp-id
A unique identifier representing the SNMP credential setting in dfm. This id was generated when snmp setting was added. snmp-version snmp-version
Represents snmp version that will be used for discovering network.
| Element definition: obj-name-or-id | [top] |
Name or internal ID of a DFM object. This typedef is an alias for the builtin ZAPI type string. An obj-name-or-id must contain between 1 and 64 characters, and must conform to one of the following formats: Elements of type obj-name-or-id are used only as inputs to ZAPIs. The value must match either the name or internal ID of an existing DFM object. The ZAPI must specify the object's DFM object type (e.g. dataset, host, DP policy, etc.). Some ZAPIs allow the object to be one of several different types.
- It must have the format of an obj-name, or
- It must be the decimal numeric string form of a positive integer whose value is in the range [1..2^31 - 1].
- In case of application resources from the Host Service, this field can contain unique identifier assigned to the object by the Host Service e.g. for a Virtual Machine, it can be a GUID of the VM. One exception is when such unique identifier is a decimal numeric string containing only digits from 0 through 9. In that case, you cannot use such identifier as obj-name-or-id input.
If the format of an obj-name-or-id input element does not conform, or the value does not match the name or ID of an existing object, then generally the ZAPI documents that it fails with error code EOBJECTNOTFOUND. A ZAPI may return more specific error codes. In such cases, the ZAPI specification must document its behavior.
If a ZAPI can accept a null value (e.g. reference to no object at all) for such an element, then the element is declared optional, and the absence of the input element represents a null value.
[none]
| Element definition: obj-status-info | [top] |
Status of the dfm object
Name Range Type Description object-name-or-id obj-name-or-id
Identifier of the dfm object. This corresponds to an entry in the input "objects" array. object-perf-status obj-status
Status for the object based on performance events If the object is not present or is ambiguous, the status is set to "Unknown" object-status obj-status
Status for the object based on all events If the object is not present or is ambiguous, the status is set to "Unknown"
| Element definition: parent-dataset | [top] |
Information about one dataset. A parent dataset is returned if the authenticated user has DFM.Database.Read privilege on the dataset.
Name Range Type Description id obj-id
Identifier of the dataset name obj-name
Name of the dataset
| Element definition: parent-group | [top] |
Information about one resource group. A parent group is returned if the user has DFM.Database.Read privilege on the group.
Name Range Type Description full-name obj-full-name
Full name of the group id obj-id
Identifier of the group name obj-name
Name of the group
| Element definition: parent-object | [top] |
Information about one parent object. A parent object is returned if the authenticated user has DFM.Database.Read privilege on that object.
Name Range Type Description full-name obj-full-name
Full name of the parent id obj-id
Identifier of the parent name obj-name
Name of the parent type string
Object type of the parent object. Valid values are: 'filer', 'vfiler', 'aggregate' 'volume' and 'qtree'.
| Element definition: parent-resourcepool | [top] |
Information about one resource pool. A parent resource pool is returned if the authenticated user has DFM.Database.Read privilege on that resource pool.
Name Range Type Description id obj-id
Identifier of the resource pool name obj-name
Name of the resource pool
| Element definition: plugin | [top] |
Installed plugins.
Name Range Type Description plugin-type string
optional
type of the plugin. The possible types are, 'filer-config' for storage system plugins, 'netcache-config' for NetCache plugins and 'unknown' for unknown type plugins. product-version string
product and version of the product special-build string
information about the build of the plugin used
| Element definition: prefix-length | [top] |
Prefix length of the network or host
[none]
| Element definition: resource-property-values | [top] |
Provides information on resource properties and the possible values
Name Range Type Description resource-property string
The resource property name values string
A comma seperated list of possible values for the resource properties Maximum length of 2048 characters
| Element definition: snmp-authentication-protocol | [top] |
It represents the protocol used for authorization in snmp version 3. Possible values are:
- md5
- sha
[none]
| Element definition: snmp-id | [top] |
SNMP credential setting ID of a network or host
[none]
| Element definition: snmp-version | [top] |
Represents snmp version that will be used for discovering network. Possible values are:
- snmp_v1
- snmp_v3
[none]
| Element definition: obj-full-name | [top] |
Full name of a DFM object. This typedef is an alias for the builtin ZAPI type string. An object full name conforms to all the rules of an obj-name, except that the full name may be up to 255 characters long. DFM creates full names by concatenating an object name with any parent object names, so as to create a unique name for an object. The format of full names is as follows:
- Host full names are the either the fully-qualified domain name or the IP address of the host.
- Aggregate full names are the host name and the aggregate name, separated by a colon, e.g. hostname:aggr0.
- Volume full names are the host name and the volume name, separated by ":/", e.g. hostname:/volume. Note this does not include "/vol". Volume and aggregate full names are distinguished by the presence of a forward slash after the colon.
- Qtree full names are the containing volume full name and the qtree name, separated by a slash, e.g. hostname:/volume/qtree. The data not contained by any qtree may be represented by "-", e.g. hostname:/volume/-.
- Lun Path full names are either a volume or qtree full name and the LUN path, separated by a slash, e.g. hostname:/volume/LUN or hostname:/volume/qtree/LUN.
- Network full names are a network address block in CIDR format, e.g. 1.2.3.0/8.
- OSSV Directory full names are the OSSV host name and the OSSV path, separated by a colon, e.g. host-lnx:/usr/local or host-w2k:c:/temp
- Include any others here...
- Initiator Group full names are host name and the initiator group name, separated by a colon, e.g. hostname:igroup.
For any DFM object not listed above, the obj-name and obj-full-name are identical.
[none]
| Element definition: obj-id | [top] |
Identification number (ID) for a DFM object. This typedef is an alias for the builtin ZAPI type integer. Object IDs are unsigned integers in the range [1..2^31 - 1]. In some contexts, an object ID is also allowed to be 0, which is interpreted as a null value, e.g., a reference to no object at all. The ID for a DFM object is always assigned by the system; the user is never allowed to assign an ID to an object. Therefore, an input element of type obj-id is always used to refer to an existing object by its ID. The ZAPI must specify the object's DFM object type (e.g. dataset, host, DP policy, etc.). Some ZAPIs allow the object to be one of several different types.
If the value of an obj-id input element does not match the ID of any existing DFM object of the specified type or types, then typically the ZAPI fails with error code EOBJECTNOTFOUND. A ZAPI may deviate from this general rule, for example, it may return a more specific error code. In either case, the ZAPI specification must document its behavior.
[none]
| Element definition: obj-name | [top] |
Name of a DFM object. This typedef is an alias for the built in ZAPI type string. An object name must conform to the following format: The behavior of a ZAPI when it encounters an error involving an obj-name input element depends on how the ZAPI uses the input element. Here are the general rules:
- It must contain between 1 and 64 characters.
- It may start with any character and may contain any combination of characters, except that it may not consist solely of decimal digits ('0' through '9').
- In some contexts, a name may be the empty string (""), which is interpreted as a null value, e.g., a reference to no object at all.
A ZAPI may deviate from these general rules, for example, it may return more specific error codes. In such cases, the ZAPI specification must document its behavior.
- If the input name element is used to create a new object with the given name, or rename an existing object to that name, and the name does not conform to the above format, then the ZAPI fails with error code EINVALIDINPUTERROR. Note that because EINVALIDINPUTERROR is such a common error code, ZAPI specifications are not required to document cases when they may return it.
- If the input name element is used to refer to an existing object with that name, and there is no object with that name, then the ZAPI fails with error code EOBJECTNOTFOUND. Generally the ZAPI specification documents cases when it may return this error code.
If an input name element is used to refer to an existing object, then the ZAPI specification must specify which DFM object type (e.g. data set, host, DP policy, etc.) is allowed. Some ZAPIs allow the object to be one of several different types. See the description of obj-full-name for examples of valid input formats.
Note that there is no requirement that all object names must be unique. However, the names for some specific types of objects are constrained such that no two objects of that type may have the same name. For example, this constraint applies to datasets, DP schedules, and DP policies. This means that no two datasets may have the same name, but a dataset may have the same name as a DP schedule or DP policy.
In general, object names are compared in a case-insensitive manner. This means that, for example, "MyObject" and "MYOBJECT" are considered to be the same name for purposes of: creating new objects, renaming existing objects, or looking up an object by name. On the other hand, ZAPIs that return an obj-name generally do not change the capitalization at all. For example, if an object's name has been set to "MyObject", then list iteration ZAPIs that return the object's name return it as "MyObject" rather than "MYOBJECT" or "myobject".
ZAPIs that operate on obj-name values and do not follow these general rules about case sensitivity must document the rules that they do follow.
One important exception to these general rules is that volumes, qtrees, OSSV directories, SRM paths, interfaces, FCP targets and FC switch ports all have case-sensitive names. When looking up objects of these types by name, the case must match the object name.
[none]
| Element definition: obj-name-or-id | [top] |
Name or internal ID of a DFM object. This typedef is an alias for the builtin ZAPI type string. An obj-name-or-id must contain between 1 and 64 characters, and must conform to one of the following formats: Elements of type obj-name-or-id are used only as inputs to ZAPIs. The value must match either the name or internal ID of an existing DFM object. The ZAPI must specify the object's DFM object type (e.g. dataset, host, DP policy, etc.). Some ZAPIs allow the object to be one of several different types.
- It must have the format of an obj-name, or
- It must be the decimal numeric string form of a positive integer whose value is in the range [1..2^31 - 1].
- In case of application resources from the Host Service, this field can contain unique identifier assigned to the object by the Host Service e.g. for a Virtual Machine, it can be a GUID of the VM. One exception is when such unique identifier is a decimal numeric string containing only digits from 0 through 9. In that case, you cannot use such identifier as obj-name-or-id input.
If the format of an obj-name-or-id input element does not conform, or the value does not match the name or ID of an existing object, then generally the ZAPI documents that it fails with error code EOBJECTNOTFOUND. A ZAPI may return more specific error codes. In such cases, the ZAPI specification must document its behavior.
If a ZAPI can accept a null value (e.g. reference to no object at all) for such an element, then the element is declared optional, and the absence of the input element represents a null value.
[none]
| Element definition: obj-status | [top] |
A status value which can be associated with a DFM object. This typedef is an alias for the builtin ZAPI type string. The severity associated with an event has this type. Possible values are: 'unknown', 'normal', 'information', 'unmanaged' 'warning', 'error', 'critical', 'emergency'.
In some contexts, it is important that severities are ordered (as above). For example, an alarm might be triggered if an event with a given severity "or worse" occurs. In this example, worse means "after" in the list above.
- unknown: An object has an unknown status when it transitions from one state to another. Ideally, an object will have this status briefly. For example, when an object has been added, but not yet discovered.
- normal: An object has normal status when it is working within the thresholds specified in DFM.
- information: The information events are normal occurrences on an object for which you can define alarms.
- unmanaged: An object is considered to be unmanaged when the login and password are not set for the storage system or agent.
- warning: An object has the warning status when an event related to the object occurred that an administrator should know about. The event will not cause service disruption.
- error: An object has error status when it does not cause any service disruption, but it may affect performance.
- critical: An object has critical status when it is still performing, but service disruption may occur if corrective action is not taken immediately.
- emergency: An object is in emergency status when it stops performing unexpectedly and could lose data.
[none]