This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
vCD vApp Network
mac edited this page May 11, 2020
·
6 revisions
-
- name: create vapp network vcd_vapp_network: vapp: web2 vdc: test_vdc network: sample network_cidr: 192.168.102.2/24 primary_dns_ip: 192.168.102.1 dns_suffix: dn ip_ranges: - 192.168.102.5-192.168.102.10 is_guest_vlan_allowed: False state: present
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- vapp - (Required) name of the vapp
- vdc - (Required) name of the vdc
- network - (Required) name of the network
- network_cidr - (Required) CIDR in the format of 192.168.1.1/24
- description - (Optional) description of vApp network
- primary_dns_ip - (Optional) IP address of primary DNS Server
- secondary_dns_ip - (Optional) IP address of secondary DNS Server
- dns_suffix - (Optional) DNS suffix
- ip_ranges - (Optional) list of IP ranges used for static pool allocation in the network. For example, [192.168.1.2-192.168.1.49, 192.168.1.100-192.168.1.149]
- is_guest_vlan_allowed - (Optional) True if guest vlan allowed else False
- state == present (Required) to create vapp network
- name: update vapp network vcd_vapp_network: vapp: web2 vdc: test_vdc network: sample new_network: sample_2 state: update
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- vapp - (Required) name of the vapp
- vdc - (Required) name of the vdc
- network - (Required) name of the network
- new_network - (Required) new name of the network
- description - (Optional) new description of the network
- state == update (Required) to delete vapp network
- name: delete vapp network vcd_vapp_network: network: web2Network vapp: web2 vdc: test_vdc network: sample state: absent
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- network - (Required) name of the network
- vapp - (Required) name of the vapp
- vdc - (Required) name of the vdc
- state == absent (Required) to delete vapp network
-
- name: read vApp Networks vcd_vapp_network: vapp: web2 vdc: test_vdc operation: read
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- vapp - (Required) name of the vapp
- vdc - (Required) name of the vdc
- operation == read (Required) to read vapp network