Get List of Compute Resource Network Joins

To see the network joins of the compute resource, use the following request:

GET/settings/hypervisors/:hypervisor_id/network_joins.xml
GET/settings/hypervisors/:hypervisor_id/network_joins.json

XML Request Example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u account_email:API_key --url http://onapp.test/settings/hypervisors/668/network_joins.xml

JSON Request Example

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u account_email:API_key --url http://onapp.test/settings/hypervisors/668/network_joins.json

XML Output Example

<network_joins type="array">
<network_join>
<id type="integer">668</id>
<network_id type="integer">78</network_id>
<interface>eth2</interface>
<created_at type="dateTime">2017-03-05T12:28:33+02:00</created_at>
<updated_at type="dateTime">2017-03-05T12:28:33+02:00</updated_at>
<target_join_id type="integer">1</target_join_id>
<target_join_type>Hypervisor</target_join_type>
</network_join>
</network_joins> 

Where:

id - the network join ID

network_id - the ID of the assigned network

interface - label of the network interface used to create a network join

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

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

target_join_id - the ID of the join target; in this case, it is the compute resource ID

target_join_type - type of join target; in this case, it is compute resource