Following is a line by line
explanation of a pod definition.
The "pod-definition" is the root element. The type should be a string
that uniquely identifies the pod type. The label should be what is shown in the
UI for this pod type. In the following example, the pod being defined is a Flex
< pod-definition type="FlexPod"label="FlexPod">
Next inside the pod-definition are multiple pod-elements. A
pod-element describes the device associated with the pod type:
category specifies the device category the
element belongs in 1 (compute), 2 (storage), 3 (network).
name is the name of device type, this is
mostly for readability purposes.
count is the max number of this device type
that can be used in one pod.
account-types is a comma separated string of all account type IDs
that collect data for this device type.
< pod-element category="1" name="Cisco UCS" code="-1"
The example above shows a typical Cisco UCS pod-element. The category
is 1, so it's compute category. The count is 1, so there can only be one Cisco
UCS in a Flex Pod. The Cisco UCS collector has an account type ID of 11, which
means it is internal. (For a list of IDs for available the available
collectors, ask a lead.)
< device-model vendor="[cC]isco"version=".*"model="UCSM"/>
The device-model provides the details on how UCSD will perform pod
compliance checks. The vendor, version, and model strings will be checked
against the values you provided when you added the account through the UI. Note
that the use of regular expressions is allowed, so in this example, if you
enter "cisco" or "Cisco", it is still acceptable.
</ pod-definition >
Finally, be sure to properly close the pod-definition element.
Following is an example of a Nexus switch pod definition:
<pod-element category="3" name="NXOS" count="6" code="81" account-types="nxos">
<device-model vendor="[cC]isco" version=".*" model="Nexus[\s]*.*" />
Here is an example of a NetApp storage device pod definition:
<pod-element category="2" count="2" code="77" account-types="12,14">
<device-model vendor="[nN]et[aA]pp" version=".*" model="FAS.*|.*Cluster.*|.*OnCommand.*|.*DFM.*" />