Server Management - Remote Server Management
1830820 Members
2740 Online
110016 Solutions
New Discussion

Re: Configuring NPAR on Marvell FastLinQ 41000 Series NICs via RESTful API (ilorest)

 
costelter
Occasional Contributor

Configuring NPAR on Marvell FastLinQ 41000 Series NICs via RESTful API (ilorest)

Hi!

I'm trying to figure out how to enable the NPAR feature on our Marvell FastLinQ NICs (QL41232HLCU-HC MD2) and how to set all necessary parameters (Personality Ethernet + BAR 2 Size) via ilorest or similar tools which can be fired in a script/via ansible.

The cards are used in DL385 Gen10 Plus machines with ILO v2.72.

I tried ilorest and found only a way to read the current status of being enabled or disabled (but the the rest).

 

  [..]
    "#NetworkAdapter.v1_2_0.NetworkAdapter": {
      "/redfish/v1/Chassis/1/NetworkAdapters/DE081000": {
        "@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters/DE081000",
        "Controllers": [
          {
            "ControllerCapabilities": {
              "DataCenterBridging": {
                "Capable": true
              },
              "NPAR": {
                "NparCapable": true,
                "NparEnabled": true
              },
              "NetworkDeviceFunctionCount": 16,
              "NetworkPortCount": 2,
              "VirtualizationOffload": {
                "SRIOV": {
                  "SRIOVVEPACapable": false
                },
                "VirtualFunction": {
                  "DeviceMaxCount": 192,
                  "MinAssignmentGroupSize": 8,
                  "NetworkPortMaxCount": 192
                }
              }
            },
            "FirmwarePackageVersion": "8.55.14",
            "PCIeInterface": {
              "LanesInUse": 8,
              "MaxLanes": 8,
              "MaxPCIeType": "Gen3",
              "PCIeType": "Gen3"
            }
          }
        ],
[..]

 

via: ilorest rawget /redfish/v1/Chassis/1/NetworkAdapters/DE080000 --url ip -u Administrator -p password

When I tried to change the value via rawpatch it doesn't like my json patch file.

 

{
  "/redfish/v1/Chassis/1/NetworkAdapters/DE080000": {
  "Controllers": [
    {
      "ControllerCapabilities": {
        "NPAR": {
          "NparEnabled": false
        }
      }
    }
  ]
  }
}

 

How should this be formatted?

Edit: the error message I get is: An invalid response body was returned: Expecting value: line 1 column 1 (char 0)No error message returned or unable to parse error response.

Are there better ways to enable NPAR via ilorest or other scripting tools?

Thanks in advance!

Kind regards,

Christian

2 REPLIES 2
Suman_1978
HPE Pro

Re: Configuring NPAR on Marvell FastLinQ 41000 Series NICs via RESTful API (ilorest)

Hi,

As far as I know, we dont have much info on custom ilorest commands.
You can refer to these documents for help.

https://www.hpe.com/info/resttool
https://www.hpe.com/us/en/servers/restful-api.html
https://hewlettpackard.github.io/python-redfish-utility/#optional-parameters

RESTful Interface Tool - Document List

Thank You!
I work with HPE but opinions expressed here are mine.
Recent Support Video Releases



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
costelter
Occasional Contributor

Re: Configuring NPAR on Marvell FastLinQ 41000 Series NICs via RESTful API (ilorest)

@Suman_1978 

Well the official documentation doesn't help me with this problem.

There not much on additional PCIe cards like the Marvel NIC.

So, no. I won't see that as a solution. But thank you very much for trying to help me finding a solution.

I would like to see that the documentation for extensions like such a PCIe card would get a documentation on that. Even when it's only a hint that this is currently not supported via RESTful API.