VMware Sample Exchange

Browse and download code samples from VMware as well as code samples contributed by the VMware community. Log in to Sample Exchange using your MyVMware credentials to submit requests for new samples, contribute your own samples, as well as propose a sample as a solution for open requests.

Disclaimer: All sample content and code in Sample Exchange is licensed to you by the sample's author. VMware does not guarantee the samples; they are provided "AS IS". Use of this site is subject to the VMware Community Terms of Use.

Browse the list below for code samples from VMware and the community. You can filter the list of samples by selecting a platform or language, or enter other search keywords above.

Filters

SDK / Platform / Tool

  • App Modernization

  • Cloud Management

  • Compute Virtualization

  • Desktop & App Virtualization

  • Developer Tools

  • Digital Workspace

  • Hybrid Cloud & Data Center Infrastructure

  • Hyperconverged Infrastructure

  • Multi-Cloud Operations

  • Private & Hybrid Cloud

  • Storage & Availability

  • Virtual Cloud Networking

  • Other Platform

Contributor

Language

1 - 10 of 17 Results Sample 4.5.1
  • Import cluster with Multi-Vds support for VCF on VxRail

    Contributor VCF VMware

    End to End automation script for automating the import cluster workflows with multiple-dvs (overlay can be on any of the multiple-system VDS created during VxRail first-run or separate VDS) feature fo ...
    VMware Cloud Foundation VxRail Python
    Download

    137 Downloads

    0 Comments

    Updated 2 months ago

  • VCF on VxRail Stretch Cluster

    Contributor VCF VMware

    Stretch cluster automation script to execute Stretching the cluster and Expansion of a stretched cluster workflows for VMware Cloud Foundation on Dell EMC VxRail SKU using Public API.For script usage, ...
    VMware Cloud Foundation VxRail Python
    Download

    163 Downloads

    0 Comments

    Updated 2 months ago

  • VCF on VxRail Workflow Optimization

    Contributor VCF VMware

    Workflow Optimization automation script to execute Create Domain and Add Cluster workflows for VMware Cloud Foundation on Dell EMC VxRail SKU using Public API. For script usage, please refer to the VM ...
    VMware Cloud Foundation VxRail Python
    Download

    14 Downloads

    0 Comments

    Updated 1 month ago

  • SDWAN - Orchestrator - Update link attributes

    Contributor Mauricio Fernandez

    This script helps to automate update link attributes, using the endpoint /link/updateLinkAttributes from API and getting information from MaxMind. Update select link metadata properties based on curre ...
    VeloCloud Orchestrator Shell Script
    Download

    0 Comments

    Updated 8 days ago

  • VCF Host Commission

    Contributor VCF VMware

    VCF Host Commission : Adding hosts to the SDDC Manager inventory is called commissioning.Use the provided python script and the sample host commission spec to commission the hosts in your SDDC Environ ...
    VMware Cloud Foundation Python
    Download

    286 Downloads

    0 Comments

    Updated 6 days ago

  • VCF Host Decommission

    Contributor VCF VMware

    VCF Host Decommission : Removing hosts from the SDDC Manager inventory is called decommissioning. If you want to re-use a host in a different workload domain, you must decommission, re-image, and comm ...
    VMware Cloud Foundation Python
    Download

    194 Downloads

    0 Comments

    Updated 6 days ago

  • VCF Get Network of Network Pool

    Contributor VCF VMware

    VCF get Network of Network pool : A network pool is a collection of subnets within an layer-2 network domain. Depending on the storage option, it includes information about subnets reserved for the vM ...
    VMware Cloud Foundation Python
    Download

    159 Downloads

    0 Comments

    Updated 6 days ago

  • VCF Get Network Pools

    Contributor VCF VMware

    VCF Get Network Pools : A network pool is a collection of subnets within an layer-2 network domain. Depending on the storage option, it includes information about subnets reserved for the vMotion and ...
    VMware Cloud Foundation Python
    Download

    161 Downloads

    0 Comments

    Updated 6 days ago

  • VCF Get Hosts

    Contributor VCF VMware

    VCF Get Hosts : To get the details about all the hosts in the SDDC Manager inventory, including CPU utilization and memory usage across all hosts. Use the provided script to fetch hosts details, read ...
    VMware Cloud Foundation Python
    Download

    336 Downloads

    0 Comments

    Updated 6 days ago

  • VCF Create Domain

    Contributor VCF VMware

    VCF Create Domain : A workload domain is a policy based resource container with specific availability and performance attributes that combines compute (vSphere), storage (vSAN/NFS/VMFS on FC/VVOL) and ...
    VMware Cloud Foundation Python
    Download

    261 Downloads

    0 Comments

    Updated 6 days ago