Get vCloud Organization Network Details

To view the details of an organization network, use the following request:

1
2
GET /org_networks/:id.xml
GET /org_networks/:id.json

XML Request Example

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

JSON Request Example

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

XML Output Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<org_network>
  <vdc_id>6</vdc_id>
  <dns_suffix>null</dns_suffix>
  <updated_at>2016-02-01T11:47:41+00:00</updated_at>
  <is_nated>true</is_nated>
  <secondary_dns>null</secondary_dns>
  <id>25</id>
  <user_id>null</user_id>
  <vapp_id>null</vapp_id>
  <dvportgroup>null</dvportgroup>
  <label>statis.network</label>
  <gateway>10.0.10.1</gateway>
  <shared>false</shared>
  <default_outside_ip_address_id>null</default_outside_ip_address_id>
  <prefix_size>null</prefix_size>
  <ip_address_pool_id>null</ip_address_pool_id>
  <netmask>255.255.255.0</netmask>
  <vlan>null</vlan>
  <default_nat_rule_number>9999</default_nat_rule_number>
  <fence_mode>natRouted</fence_mode>
  <created_at>2016-02-01T11:47:41+00:00</created_at>
  <enabled>true</enabled>
  <primary_dns>null</primary_dns>
  <identifier>04114f87-bfb4-4f66-ac0a-2651c1ca54d1</identifier>
  <network_group_id>16</network_group_id>
</org_network>

Where:

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