Skip to content

Virtual Network

Replace given virtual network in given namespace.

ToolDescription
f5xc-api-network-virtual-network-createCreate Virtual Network.
f5xc-api-network-virtual-network-getGET Virtual Network.
f5xc-api-network-virtual-network-listList Virtual Network.
f5xc-api-network-virtual-network-updateReplace Virtual Network.
f5xc-api-network-virtual-network-deleteDELETE Virtual Network.
ParameterDescriptionExample
metadata.namespaceNamespace-
nameName-
namespaceNamespace-
metadata.nameName-
ParameterDescriptionExample
response_formatThe format in which the configuration object is to be fetched. This could be for example-
label_filterA LabelSelectorType expression that every item in list response will satisfy.-
report_fieldsThe report_fields parameter-
report_status_fieldsThe report_status_fields parameter-

This resource includes mutually exclusive configuration options:

OptionDescriptionRecommended
spec.global_network-
spec.legacy_type-
spec.site_local_inside_network-
spec.site_local_network-
OptionDescriptionRecommended
spec.static_routes[].default_gateway-
spec.static_routes[].ip_address-
spec.static_routes[].node_interface-

Ask Claude to help you work with Virtual Network resources:

“Create a virtual-network named ‘example’ in the ‘production’ namespace”

“List all virtual-networks in the ‘production’ namespace”

“Get details of the virtual-network named ‘example’ in namespace ‘production‘“

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/virtual_networks" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/virtual_networks/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/virtual_networks" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @virtual_network.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/virtual_networks/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"