ves-io-schema-network_interface-API-List

Examples of listing network_interface

Usecase:

List network-interface

Request using vesctl:

vesctl configuration list network_interface --namespace system

vesctl yaml response:

items:
- annotations: {}
  labels: {}
  name: network-interface-1
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: e49b25df-c48f-4528-aada-b0640c94364d

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build817539475_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/network_interfaces'

curl response

HTTP/1.1 200 OK
Content-Length: 445
Content-Type: application/json
Date: Mon, 22 Feb 2021 15:44:24 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "network-interface-1",
      "uid": "e49b25df-c48f-4528-aada-b0640c94364d",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}