​
Select Service
ves-io-schema-nfv_service-API-Create
Published April 5, 2023 | Last modified June 22, 2026
Examples of creating nfv_service
Usecase:
Create nfv-svc--1
Request using vesctl:
vesctl configuration create nfv_service -i nfv_service.yaml
where file nfv_service.yaml has following contents (nfv_service.CreateRequest):
RequestJSON:
{ "metadata": { "name": "nfv-svc-1", "namespace": "documentation" }, "spec": { "f5_big_ip_aws_service": { "market_place_image": { "AWAFPayG200Mbps": {} }, "admin_password": { "clear_secret_info": { "url": "string://\u003cbase64\u003e" } }, "ssh_key": "sshkey", "aws_tgw_site_params": { "aws_tgw_site": { "name": "mysite" } }, "nodes": [ { "node_name": "node1", "aws_az_name": "us-west-2a", "automatic_prefix": {}, "reserved_mgmt_subnet": {} } ] }, "disable_https_management": {}, "disable_ssh_access": {} }}vesctl yaml response:
ResponseJSON:
{ "metadata": { "name": "nfv-svc-1", "namespace": "documentation", "labels": {}, "annotations": {}, "description": "", "disable": false }, "system_metadata": { "uid": "40fd9289-834a-4e2e-aafb-7d114eb8838d", "creation_timestamp": "2026-06-19T22:03:43.775255Z", "deletion_timestamp": null, "modification_timestamp": null, "initializers": null, "finalizers": [], "tenant": "acmecorp", "creator_class": "examplesvc", "creator_id": "examplesvc", "object_index": 0, "owner_view": null, "labels": {} }, "spec": { "f5_big_ip_aws_service": { "market_place_image": { "AWAFPayG200Mbps": {} }, "admin_password": { "clear_secret_info": { "provider": "", "url": "string://\u003cbase64\u003e" }, "blindfold_secret_info_internal": null, "secret_encoding_type": "EncodingNone" }, "admin_username": "", "ssh_key": "sshkey", "aws_tgw_site_params": { "aws_tgw_site": { "tenant": "acmecorp", "namespace": "documentation", "name": "mysite" } }, "nodes": [ { "node_name": "node1", "aws_az_name": "us-west-2a", "automatic_prefix": {}, "reserved_mgmt_subnet": {} } ], "tags": {}, "endpoint_service": null }, "disable_https_management": {}, "disable_ssh_access": {}, "commands": [], "finalizer_timestamp": null, "force_delete": false, "node_info": [] }}Request using curl:
curl -X 'POST' -d '{"metadata":{"name":"nfv-svc-1","namespace":"documentation"},"spec":{"f5_big_ip_aws_service":{"market_place_image":{"AWAFPayG200Mbps":{}},"admin_password":{"clear_secret_info":{"url":"string://\u003cbase64\u003e"}},"ssh_key":"sshkey","aws_tgw_site_params":{"aws_tgw_site":{"name":"mysite"}},"nodes":[{"node_name":"node1","aws_az_name":"us-west-2a","automatic_prefix":{},"reserved_mgmt_subnet":{}}]},"disable_https_management":{},"disable_ssh_access":{}}}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build1655461974_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/nfv_services'curl response:
HTTP/1.1 200 OKContent-Type: application/jsonDate: Fri, 19 Jun 2026 22:03:43 GMTVary: Accept-EncodingX-Volterra-Response-Fields-Deprecated: spec.enabled_ssh_access.advertise_on_public
{ "metadata": { "name": "nfv-svc-1", "namespace": "documentation", "labels": { }, "annotations": { }, "description": "", "disable": false }, "system_metadata": { "uid": "40fd9289-834a-4e2e-aafb-7d114eb8838d", "creation_timestamp": "2026-06-19T22:03:43.775255Z", "deletion_timestamp": null, "modification_timestamp": null, "initializers": null, "finalizers": [ ], "tenant": "acmecorp", "creator_class": "examplesvc", "creator_id": "examplesvc", "object_index": 0, "owner_view": null, "labels": { } }, "spec": { "f5_big_ip_aws_service": { "market_place_image": { "AWAFPayG200Mbps": {
} }, "admin_password": { "clear_secret_info": { "provider": "", "url": "string://\u003cbase64\u003e" }, "blindfold_secret_info_internal": null, "secret_encoding_type": "EncodingNone" }, "admin_username": "", "ssh_key": "sshkey", "aws_tgw_site_params": { "aws_tgw_site": { "tenant": "acmecorp", "namespace": "documentation", "name": "mysite" } }, "nodes": [ { "node_name": "node1", "aws_az_name": "us-west-2a", "automatic_prefix": {
}, "reserved_mgmt_subnet": {
} } ], "tags": { }, "endpoint_service": null }, "disable_https_management": {
}, "disable_ssh_access": {
}, "commands": [ ], "finalizer_timestamp": null, "force_delete": false, "node_info": [ ] }}