Skip to content

Add support for UpdateHardware method #135

Description

@joshooaj

Based on the discussion in #107 there is interest in adding support for the "Update Hardware" MIP SDK method on Hardware object types.

The Management Client has two similar features: Update Hardware, and Replace Hardware. The Update Hardware feature does not allow you to change which driver is used, or change the hardware address. The Replace Hardware feature effectively allows you to perform the Update Hardware action, and also you can change the hardware driver, address, or credentials.

MilestonePSTools has the Set-VmsHardwareDriver command which performs the "Replace Hardware" functionality added to MIP SDK in version 2023 R1.

The MIP SDK has an UpdateHardware method on hardware objects, but the server only allows you to call this on Interconnect devices today. Doing so enables you to add/remove/rename devices on the parent server to match the "interconnected" site.

As far as command names go, it probably makes sense to use Update-VmsHardware. There might be some confusion given there is already a Set-VmsHardware, but I think anyone familiar with XProtect will understand the difference. An alternative might be Invoke-VmsUpdateHardware or Invoke-VmsHardwareUpdate. I don't have strong feelings about the command name, other than I tend to favor shorter names.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions