Get Host Config Profiles

Get Host Config Profiles

This API is to be used for getting the host config profiles.

Request
URI
GET
https://{api_host}/hybridity/api/ztp/v1/host-config-profiles
COPY
Query Parameters
string
sort
Optional

The key to use for sorting the resultant list of host config profiles. The value is to be an attribute based sorting expression. The supported attributes for sorting are as follows: [name, id, version, createdTimestamp, lastUpdatedTimestamp]. The supported sorting orders are: [asc,desc]

sort example
createdTimestamp,desc
string
filter
Optional

Attribute-based filtering expression according to clause 5.2 of ETSI GS NFV SOL 013. The supported filter types are [cont, eq]. "cont" refers to contains (substring check). It is applicable only for string type targets. "eq" refers to exact match. If target type is a string, then case is ignored. The supported attributes for "eq" filtering are: [name, id, version]. The supported attributes for "cont" filtering are: [name, id]. For example: (cont,name,hcp)

string
nextpage_opaque_marker
Optional

Marker to obtain the next page of a paged response according to clause 5.4.2.1 of ETSI GS NFV SOL 013 for this resource. The marker expression will contain page number and page size.

nextpage_opaque_marker example
page_no=1,page_size=10

Authentication
This operation uses the following authentication methods.
Responses
200

Response includes list of host config profiles as specified by the request parameters.

Returns Array of InlineZtpV1HostConfigProfiles200Response of type(s) application/json
[
    {
        "id": "string",
        "version": 0,
        "name": "string",
        "advanceSystemSettings": {
            "attributes": [
                {
                    "key": "string",
                    "value": "string"
                }
            ]
        },
        "biosSetting": {
            "attributes": [
                {
                    "key": "string",
                    "value": "string"
                }
            ]
        },
        "cpuPowerManagementSpec": [
            {
                "type": "string",
                "value": "string"
            }
        ],
        "firmwares": [
            {
                "name": "string",
                "softwareId": "string",
                "version": "string",
                "location": "string",
                "checksum": "string"
            }
        ],
        "pciDevices": [
            {
                "filters": [
                    {
                        "numaId": 0,
                        "vendorId": "string",
                        "deviceIds": [
                            "string"
                        ],
                        "indices": [
                            0
                        ],
                        "alias": "string"
                    }
                ],
                "actions": [
                    {
                        "type": "string",
                        "maxVfs": 0,
                        "passthroughEnabled": false,
                        "deviceType": "string",
                        "attributes": [
                            {
                                "key": "string",
                                "value": "string"
                            }
                        ]
                    }
                ]
            }
        ],
        "pciGroups": [
            {
                "name": "string",
                "filters": [
                    {
                        "isVf": false,
                        "deviceIds": [
                            "string"
                        ],
                        "vendorId": "string",
                        "sriovEnabled": false,
                        "numaId": 0,
                        "indices": [
                            0
                        ],
                        "alias": "string"
                    }
                ]
            }
        ],
        "reservation": {
            "reservedCoresPerNumaNode": 0,
            "reservedMemoryPerNumaNode": 0,
            "minCoresForCPUReservationPerNumaNode": 0
        },
        "createdTimestamp": 0,
        "lastUpdatedTimestamp": 0
    }
]

Response Headers

integer
X-TotalPageCount

The total number of pages for host config profiles present on the server.

integer
X-TotalRowCount

The total number of host config profiles present on the server.


301

API endpoint has permanently moved.

Returns InlineZtpV1HostConfigProfiles301Response of type(s) application/json
{
    "redirectURL": "string"
}
string
redirectURL
Optional

redirectURL

Response Headers

string
Location

URI where the client will find the new endpoint.


400

Response may include details of why the request is bad.

Returns InlineZtpV1HostConfigProfiles400Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


401

User is not authenticated to invoke this endpoint.

Operation doesn't return any data structure

403

User is not authorized to invoke this endpoint.

Operation doesn't return any data structure

422

The request parameters couldn't be processed by the server.

Returns InlineZtpV1HostConfigProfiles422Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


500

An internal server error has occurred.

Returns InlineZtpV1HostConfigProfiles500Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.