ves-io-schema-site-API-Get

Examples of getting site

Usecase:

Get site-1

Request using vesctl:

vesctl configuration get site site-1 --namespace system

vesctl yaml response:

          deletedReferredObjects: []
disabledReferredObjects: []
metadata:
  annotations: {}
  labels: {}
  name: site-1
  namespace: system
referringObjects: []
resourceVersion: "2602"
spec:
  connectedRe: []
  connectedReForConfig: []
  ipsecSslNodesFqdn: []
  siteToSiteIpsecConnectivity: []
  siteType: REGIONAL_EDGE
  vipParamsPerAz: []
status: []
systemMetadata:
  creationTimestamp: "2024-03-21T14:07:43.926492Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  labels: {}
  tenant: acmecorp
  uid: 56614cba-18db-475e-a1e2-1686cde27f3f

        

Request using curl:

          curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_2__8qnt6fwd5dvglr1xqq6l8b7w0000gp_T_go-build3109416560_b001_apidocs.test/host=C02FN35BMD6R/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/sites/site-1?response_format=0'
        

curl response:

          HTTP/1.1 200 OK
Content-Type: application/json
Date: Thu, 21 Mar 2024 14:07:43 GMT
Vary: Accept-Encoding

{
  "replace_form": null,
  "resource_version": "2602",
  "metadata": {
    "name": "site-1",
    "namespace": "system",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "56614cba-18db-475e-a1e2-1686cde27f3f",
    "creation_timestamp": "2024-03-21T14:07:43.926492Z",
    "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": {
    "site_type": "REGIONAL_EDGE",
    "address": "",
    "coordinates": null,
    "volterra_software_version": "",
    "site_subtype": "NO_SUBTYPE",
    "connected_re": [
    ],
    "connected_re_for_config": [
    ],
    "inside_vip": "",
    "inside_vip_v6": "",
    "outside_vip": "",
    "outside_vip_v6": "",
    "vip_selection": "VIP_SELECTION_IPV4_IPV6",
    "vip_params_per_az": [
    ],
    "vip_vrrp_mode": "VIP_VRRP_INVALID",
    "site_to_site_network_type": "VIRTUAL_NETWORK_SITE_LOCAL",
    "site_to_site_tunnel_ip": "",
    "volterra_software_overide": "SITE_SOFTWARE_OVERRIDE_SITE",
    "bgp_router_id": "",
    "bgp_peer_address": "",
    "bgp_peer_address_v6": "",
    "inside_nameserver": "",
    "outside_nameserver": "",
    "inside_nameserver_v6": "",
    "outside_nameserver_v6": "",
    "desired_pool_count": 0,
    "tunnel_type": "SITE_TO_SITE_TUNNEL_IPSEC_OR_SSL",
    "operating_system_version": "",
    "site_state": "ONLINE",
    "tunnel_dead_timeout": 0,
    "region": "",
    "ce_site_mode": "CE_SITE_MODE_INGRESS_EGRESS_GW",
    "local_k8s_access_enabled": false,
    "default_underlay_network": null,
    "local_access_k8s_enabled": false,
    "global_access_k8s_enabled": false,
    "vm_enabled": false,
    "site_to_site_ipsec_connectivity": [
    ],
    "ipsec_ssl_nodes_fqdn": [
    ],
    "multus_enabled": false,
    "private_connectivity": null
  },
  "status": [
  ],
  "referring_objects": [
  ],
  "deleted_referred_objects": [
  ],
  "disabled_referred_objects": [
  ]
}