Get List of IP Addresses Assigned to vApp Network

To get the list of IP addresses assigned to the vApp network, use the following request:

GET /settings/vapp_networks/:id/ip_addresses.xml
GET /settings/vapp_networks/:id/ip_addresses.json

XML Request Example

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

JSON Request Example

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

XML Output Example

<ip_addresses type="array">
    <broadcast nil="true"/>
    <created_at type="datetime">2016-02-13T10:35:21+02:00</created_at>
    <customer_network_id nil="true"/>
    <disallowed_primary type="boolean">false</disallowed_primary>
    <hypervisor_id nil="true"/>
    <id type="integer">1901</id>
    <ip_address_pool_id nil="true"/>
    <network_address nil="true"/>
    <network_id type="integer">13</network_id>
    <pxe type="boolean">false</pxe>
    <updated_at type="datetime">2016-02-13T10:35:21+02:00</updated_at>
    <user_id nil="true"/>
    <free type="boolean">true</free>


address -  the IP address assigned to the vApp network

broadcast -  the broadcast address

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

customer_network_id -  the ID of the customer network

disallowed_primary -   true if not allowed to be used as primary (for VS build), otherwise false

gateway - the gateway associated with the network

hypervisor_id -  the ID of the compute resource the IP address is associated with

id - the ID of the network

ip_address_pool_id -  ID of the IP Address Pool

network_address -  the address of the network

network_id -  the ID of the network

pxe -  true, if this compute resource address can be used for cloudbooting a compute resource

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

user_id - owner ID

free -  true if free, otherwise false

netmask - IP of the network mask