|
APIs in Category: dfm |
API version 1.8 |
dfm-get-server-info |
This set of APIs enables programmatic control of dfm settings on the storage appliance. |
| dfm-get-server-info | [top] |
Get the DFM server configuration
Output Name Range Type Description dfm-server string
DFM server identifier which was previously saved with the API DFM-set-server. If no server has been set, then error EONTAPI_ENOENT is returned. is-dfm-cross-linked boolean
The previously saved setting for cross-linked status. If DFM has been previously been marked as cross-linked then "true" is returned. If DFM has been previously marked as not cross-linked or is not set then "false" is returned. When this setting is true, FilerView will provide cross-links to the DFM server. port integer
optional
Port on which DFM requests arrive. Not returned if not previously set. Range : [1..2^16-1] protocol string
optional
Protocol in use by DFM. Possible values are "http" and "https". Not returned if not previously set.
Errno Description EONTAPI_ENOENT EINTERNALERROR
Vfiler-enabled Yes
| dfm-set-server-info | [top] |
Set the DFM server configuration
Input Name Range Type Description dfm-server string
optional
DFM server identifier. If not supplied then clear the current value. force boolean
optional
If true then overwrite existing settings if they exist. If false, write the new settings only if no DFM server is set, otherwise do not perform any modifications. By default, the value for this parameter is true. is-dfm-cross-linked boolean
optional
If true then set DFM's cross-linked status. If false or not supplied, set cross-linked status to false. When this setting is true, FilerView provides cross-links to the specified DFM server. port integer
optional
Port used for DFM requests. If not supplied then clear the current value. Range : [1..2^16-1] protocol string
optional
Protocol in use by DFM. Possible values are "http" and "https". If not supplied then clear the current value.
Errno Description EONTAPI_EINVAL EONTAPI_EEXIST EINTERNALERROR
Vfiler-enabled Yes