ves-io-schema-certified_hardware-API-Get
On This Page:
Examples of getting certified_hardware
Usecase:
Get of certified_hardware, show example of generic multi nic certified hardware
Request using vesctl:
vesctl configuration get certified_hardware ves-io-generic-multi-nic --namespace ves-io-shared
vesctl yaml response:
metadata:
annotations: {}
labels: {}
name: ves-io-generic-multi-nic
namespace: shared
resourceVersion: "120"
spec:
devices:
- deviceList: []
maxUnit: 2
minUnit: 1
name: eth
type: HARDWARE_DEVICE_ETHERNET
use: HARDWARE_NETWORK_DEVICE_USE_OUTSIDE
imageList:
- name: Ubuntu
provider: Azure
internalUsbDeviceRule: []
memPageNumber: 2
memPageSize: HARDWARE_MEM_PAGE_SIZE_1GB
numaMem:
- memory: 1024
node: 1
- memory: 1024
node: 2
numaNodes: 2
vendorModelList:
- model: ProLiant DL380p
vendor: HP
- model: Standard F8s
vendor: Azure
status: []
systemMetadata:
creationTimestamp: "2021-03-31T08:28:13.761312700Z"
creatorClass: examplesvc
creatorId: examplesvc
finalizers: []
tenant: ves-io
uid: 1b9b9c38-e78f-4f1c-b243-0abde6c81b76
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build318584715_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/ves-io-shared/certified_hardwares/ves-io-generic-multi-nic?response_format=0'
curl response:
HTTP/1.1 200 OK
Content-Type: application/json
Date: Wed, 31 Mar 2021 08:28:14 GMT
Vary: Accept-Encoding
{
"object": null,
"resource_version": "120",
"metadata": {
"name": "ves-io-generic-multi-nic",
"namespace": "shared",
"labels": {
},
"annotations": {
},
"description": "",
"disable": false
},
"system_metadata": {
"uid": "1b9b9c38-e78f-4f1c-b243-0abde6c81b76",
"creation_timestamp": "2021-03-31T08:28:13.761312700Z",
"deletion_timestamp": null,
"modification_timestamp": null,
"initializers": null,
"finalizers": [
],
"tenant": "ves-io",
"creator_class": "examplesvc",
"creator_id": "examplesvc",
"object_index": 0,
"owner_view": null
},
"spec": {
"vendor_model_list": [
{
"vendor": "HP",
"model": "ProLiant DL380p"
},
{
"vendor": "Azure",
"model": "Standard F8s"
}
],
"devices": [
{
"type": "HARDWARE_DEVICE_ETHERNET",
"use": "HARDWARE_NETWORK_DEVICE_USE_OUTSIDE",
"name": "eth",
"min_unit": 1,
"max_unit": 2,
"device_list": [
]
}
],
"image_list": [
{
"name": "Ubuntu",
"provider": "Azure"
}
],
"numa_nodes": 2,
"mem_page_size": "HARDWARE_MEM_PAGE_SIZE_1GB",
"mem_page_number": 2,
"numa_mem": [
{
"memory": 1024,
"node": 1
},
{
"memory": 1024,
"node": 2
}
],
"certified_hardware_type": "VOLTMESH",
"internal_usb_device_rule": [
]
},
"status": [
]
}