ves-io-schema-namespace-NamespaceCustomAPI-SetFastACLsForInternetVIPs

Examples of performing namespace NamespaceCustomAPI SetFastACLsForInternetVIPs

Usecase:

Set FastACLs for Internet VIPs

Request:

Request using vesctl:

vesctl request rpc namespace.NamespaceCustomAPI.SetFastACLsForInternetVIPs -i request.yaml --uri /public/namespaces/system/fast_acls_for_internet_vips --http-method POST

where file request.yaml has following contents:

fastAcls:
- name: fast-acl-1
  namespace: system
  tenant: acmecorp
namespace: system

vesctl yaml response:

{}

Request using curl:

curl -X 'POST' -d '{"namespace":"system","fastAcls":[{"tenant":"acmecorp","namespace":"system","name":"fast-acl-1"}]}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build381173587_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/fast_acls_for_internet_vips'

curl response:

HTTP/1.1 200 OK
Content-Length: 4
Content-Type: application/json
Date: Wed, 14 Jul 2021 08:07:39 GMT
Vary: Accept-Encoding

{

}