NVIDIA UFM Enterprise REST API Guide v6.15.2
NVIDIA UFM Enterprise REST API Guide v6.15.2

Forge InfiniBand Anti-Spoofing REST API

  • Description: Creates a physical-virtual GUID mapping by sending the physical and virtual GUID list.

  • Request URL : POST /ufmRest/app/smconf/physical_virtual_mapping

  • Request Content Type – Application/json

  • Request Data:

    Copy
    Copied!
                

    {   "physical-port-guid": ["PHYS_PORT_GUID_A", "PHYS_PORT_GUID_B"],    "virtual-port-guid": ["VIRT_PORT_GUID_A", "VIRT_PORT_GUID_B"]  }

  • If either the physical-port-guid or virtual-port-guid were not sent, the default value is an empty list.

  • Response: Integer associated with this map group.

    Status

    Description

    200

    OK

    400

    BAD_REQUEST (bad or missing parameters)

  • Description: Gets all created physical-virtual GUID mapping.

  • Request URL: GET /ufmRest/app/smconf/physical_virtual_mapping

  • Request Data: N/A

  • Response Content Type – Application/json

  • Response:

Copy
Copied!
            

{    "1": {       "physical-port-guid": ["PHYS_PORT_GUID_A", "PHYS_PORT_GUID_B"],       "virtual-port-guid": ["VIRT_PORT_GUID_A", "VIRT_PORT_GUID_B"]    }  }

  • Status Code:

Status

Description

200

OK

400

BAD_REQUEST

  • Description: Gets a specific physical-virtual GUID mapping.

  • Request URL: GET /ufmRest/app/smconf/physical_virtual_mapping/

  • Request Data: N/A

  • Response Content Type – Application/json

  • Response:

    Copy
    Copied!
                

    "physical-port-guid": ["PHYS_PORT_GUID_A", "PHYS_PORT_GUID_B"], "virtual-port-guid": ["VIRT_PORT_GUID_A", "VIRT_PORT_GUID_B"] }

    Status

    Description

    200

    OK

    400

    BAD_REQUEST

    404

    NOT_FOUND

  • Description: Replaces map GUID with a new GUID mapping for a specific group ID.

  • Request URL: PUT /ufmRest/app/smconf/physical_virtual_mapping/

  • Response Content Type – Application/json

  • Request Data:

Copy
Copied!
            

"physical-port-guid": ["PHYS_PORT_GUID_A", "PHYS_PORT_GUID_B"], "virtual-port-guid": ["VIRT_PORT_GUID_A", "VIRT_PORT_GUID_B"] }

  • Status Code:

    Status

    Description

    200

    OK

    400

    BAD_REQUEST

  • Description: Adds a new physical-virtual GUID to an existing group ID.

  • Request URL: PUT /ufmRest/app/smconf/physical_virtual_mapping //add

  • Response Content Type – Application/json

  • Request Data:

Copy
Copied!
            

"physical-port-guid": ["PHYS_PORT_GUID_A", "PHYS_PORT_GUID_B"], "virtual-port-guid": ["VIRT_PORT_GUID_A", "VIRT_PORT_GUID_B"] }

  • Status Code:

    Status

    Description

    200

    OK

    400

    BAD_REQUEST

  • Description: Deletes a group ID mapping.

  • Request URL: DELETE /ufmRest/app/smconf/physical_virtual_mapping/

  • Response Content Type – Application/json

  • Status Code:

    Status

    Description

    200

    OK

    400

    BAD_REQUEST

    404

    NOT_FOUND

© Copyright 2023, NVIDIA. Last updated on Jan 12, 2024.