Get List of vCloud Organization Networks

To view the list of organization networks, use the following request:

GET /org_networks.xml
GET /org_networks.json

XML Request Example 

curl -i -X GET -u user:userpass --url http://onapp.test/org_networks.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example 

curl -i -X GET -u user:userpass --url http://onapp.test/org_networks.json -H 'Accept: application/json' -H 'Content-type: application/json'

XML Output Example 

 <org_networks type="array">


created_at -  the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format 

default_nat_rule_number - default NAT rule

default_outside_ip_address_id - ID of the outside IP address

dns_suffix - the DNS suffix

dvportgroup - the portgroup that backs this network

enabled - whether the network is enabled or not

fence_mode - isolation type of the network

gateway - the gateway associated with the network

id - the ID of the network

identifier - the identifier of the network

ip_address_pool_id -  ID of the IP Address Pool

is_nated - set true to use NAT for translating the traffic. Set false if you are using your own firewall with external IP address 

label - the name of the network

netmask - IP of the network mask

network_group_id - network zone ID

prefix_size - subnet prefix size

primary_dns -IP address of the primary domain name system (DNS) server

secondary_dns - IP address of the secondary domain name system (DNS) server

shared - whether this organization network is shared or not

updated_at -  the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format 

user_id - owner ID

vapp_id - the vApp associated with the network

vdc_id - the resource pool associated with the network

vlan - VLAN number