|
APIs in Category: Ifc |
API version 4.0 |
IfcListInfoIterEnd |
List network Interface information stored in DFM Server database. |
| IfcListInfoIterEnd (supported) | [top] |
Ends iteration of Interfaces.
Input Name Type IfcListInfoIterEnd IfcListInfoIterEnd
Output Name Type IfcListInfoIterEndResult IfcListInfoIterEndResult
Error Name Description EINVALIDTAG
| IfcListInfoIterNext (supported) | [top] |
Get next set of Records in the iteration started by call To IfcListInfoIterStart.
Input Name Type IfcListInfoIterNext IfcListInfoIterNext
Output Name Type IfcListInfoIterNextResult IfcListInfoIterNextResult
Error Name Description EINVALIDTAG
| IfcListInfoIterStart (supported) | [top] |
Start iteration of Interfaces.
Input Name Type IfcListInfoIterStart IfcListInfoIterStart
Output Name Type IfcListInfoIterStartResult IfcListInfoIterStartResult
Error Name Description EACCESSDENIED EDATABASEERROR EINVALIDINPUTERROR EOBJECTAMBIGUOUS EOBJECTNOTFOUND
| Element definition: IfcListInfoIterEnd | [top] |
Ends iteration of Interfaces.
Name Type Description Tag xsd:string
Tag From a previous IfcListInfoIterStart.
| Element definition: IfcListInfoIterEndResult | [top] |
[none]
| Element definition: IfcListInfoIterNext | [top] |
Get next set of Records in the iteration started by call To IfcListInfoIterStart.
Name Type Description Maximum xsd:integer
optional
Maximum Records To retrieve.
Range: [1..2^31-1]Tag xsd:string
Tag From a previous IfcListInfoIterStart.
| Element definition: IfcListInfoIterNextResult | [top] |
Name Type Description Ifcs ArrayOfIfcInfo
List of Interfaces. Records xsd:integer
The number of Records actually returned. Value of 0 Records indicates that end of Records.
Range: [1..2^31-1]
| Element definition: IfcListInfoIterStart | [top] |
Start iteration of Interfaces.
Name Type Description Ipspace xsd:string
optional
IPSpace Name. If specified only the Interfaces that belong the given Ipspace are returned. ObjectManagementFilter ObjectManagementInterface
optional
Filter the object based on the Data ONTAP Interface that provides complete management for the object i.e. ONTAP CLIs, SNMP, ONTAPI etc. If no filter is supplied, all Objects will be considered. ObjectNameOrId ObjNameOrId
optional
Name of Id of the following Objects.
- Interface
- Storage system
If storage sytem Name or Id is specified, only the Interfaces discovered on the storage system are returned.
The Name of the Interface should be specified in: format. Ex: "toaster:e0a".
| Element definition: IfcListInfoIterStartResult | [top] |
Name Type Description Records xsd:integer
Number of Records fetched and stored for retrieval using IfcListInfoIterNext.
Range: [1..2^31-1]Tag xsd:string
Tag To be used for subsequent calls.
| Element definition: ArrayOfIfcInfo | [top] |
Name Type Description IfcInfo IfcInfo[]
| Element definition: ObjNameOrId | [top] |
Name or internal ID of a DFM object. This typedef is an alias for the builtin ZAPI Type string. An ObjNameOrId must contain between 1 and 64 characters, and must conform To one of the following formats: Elements of Type ObjNameOrId 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 ObjName, or
- It must be the decimal numeric string form of a positive integer whose Value is in the range [1..2^31 - 1].
If the format of an ObjNameOrId 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: ObjectManagementInterface | [top] |
Specify the management Interface of ONTAP that provides complete management for the object i.e. ONTAP CLIs, SNMP, ONTAPI etc. Possible Values are:
- "node" - For Objects manageable by node management Interface
- "cluster" - For Objects manageable by cluster management Interface
[none]
| Element definition: IfcInfo | [top] |
Information of about one Interface.
Name Type Description HostId ObjId
Identifier of the Filer on which the Interface is present. HostName xsd:string
DNS Name of the Filer on which the Interface is present. IfcId ObjId
Identifier of Interface in DFM Server database.
Range: [1..2^31-1]IfcName ObjName
Name of the Interface (ex: e0a). IpAddress xsd:string
optional
IP Address configured for the Interface. Empty in case the Interface in unconfigured. IpAddressType xsd:string
Type of IP Address configured for the Interface. Possible Values are:
- ipv4
- ipv6
Ipspace xsd:string
Name of the IPSpace To which the Interface belongs. IsVlanCapable xsd:boolean
optional
Specifies if the Interface is capable of supporting VLAN tagging. An Interface will not support VLAN tagging if:
- It is not VLAN capable (at present only some INTEL NICs are supported for VLAN tagging.)
- It is a physical Interface on which a VIF is configured.
- It is an Interface that is already accepting traffic.
MtuSize xsd:integer
optional
Interface mtu Size. Netmask xsd:string
optional
Netmask configured for the Interface. Empty in case the Interface is unconfigured or configured with IPv6 Address. PartnerInterfaceId ObjId
optional
Partner Interface identifier. This element is present only when the storage system on which the Interface is present is in an Active/Active configuration and there is a partner Interface configured for this Interface. PartnerInterfaceName ObjFullName
optional
Partner Interface Name. This element is present only when the storage system on which the Interface is present is in an Active/Active configuration and there is a partner Interface configured for this Interface. PrefixLength xsd:integer
optional
Prefix Length for the IP Address configured for the Interface. Empty in case the Interface is unconfigured. In case of IPv4 Address, it is number of Netmask bits. Range: [1..127] Status xsd:string
Operation Status of the Interface, valid Values are "up", "down", "testing", "unknown". Type xsd:string
Type of Interface.
Possible Values are "ethernet", "fddi", "loopback", "atm", "vif", "vlan", "unknown".
| Element definition: ObjFullName | [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 ObjName, 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 ObjName and ObjFullName are identical.
[none]
| Element definition: ObjId | [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 ObjId 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 ObjId 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: ObjName | [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 ObjName 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 ObjFullName 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 ObjName 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 ObjName 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]