@shumoku/core · 0.6.1 · function
deviceAttributes
A node's device attributes from raw parts: empty values dropped, `chassisId` and `mac` in the canonical MAC spelling where they are MACs. Spread the result onto the node the plugin returns.
deviceAttributes(parts: { address?: string | null; chassisId?: string | null; mac?: string | null; sysName?: string | null }): DeviceAttributes Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
parts | { address?: string | null; chassisId?: string | null; mac?: string | null; sysName?: string | null } | No additional description. | — |
Returns
DeviceAttributes libs/@shumoku/core/src/libs/@shumoku/core/src/plugin-kit/stamp.ts:54