Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

How to capture a remote virtual machine from a managed hypervisor

This tutorial describes how to capture a remote VM hat is connected to a network not managed by Abiquo.

Prepare Abiquo to capture virtual machines

To capture a remote virtual machine first of all you need a physical machine from which you will capture the VM, so create the datacenter and rack, then add the physical machine.

Select Retrieve virtual machines. (Persistent VMs will not be retrieved because their system disks are located on external volumes. VMs that are already registered in Abiquo will not be retrieved).

Screenshot: A VM that has been imported is marked with the (warning) symbol. 

Then you need to create the networks where the captured machine will be assigned. For example, you may need to create a public or external network in the datacenter with the same specification as the network that the NICs on the virtual machine are attached to (VLAN tag, network address, available IPs). And you should create the required IPs in Abiquo. 

The last thing you need to do before capturing remote virtual machines is to create a virtual datacenter in this datacenter for your virtual machine. If you created a public network, you need to purchase public IPs for your virtual datacenter from the Network / Public tab.  You can create a virtual appliance now or wait to do it as part of the capture process.

Now you will capture a remote virtual machine. First import machines from the physical machine. Go to the datacenter, select the machine and click on the "retrieve virtual machines" button.

Then you will see all the virtual machines on the hypervisor that are not managed by Abiquo. 

 

Capture the remote virtual machine

Using the GUI

Select the virtual machine you want to capture and click the "capture virtual machine" button.


The GUI will then ask you for the virtual appliance to store the VM. Now select your virtual appliance created in the virtual datacenter with the network addresses purchased. If you didn't create a virtual appliance earlier, you can do so now by clicking the + button.

Check the General Information, on the Network tab, select the appropriate NICs and IP address, and check Disks. 

Accept the capture and the remote VM will be added to the virtual appliance and managed by Abiquo. This example showed the capture of a VM with two NICs and two hard disks and you can open the VM configuration to check them.

Using the API

You can capture a virtual machine using the API and once you get started, it's not such a daunting task as it might first seem!  A good working knowledge of the Abiquo API is required, but as always, if you get stuck, you can always open your browser console and take a look at how the Abiquo UI does it! 

Note that the Abiquo UI enables you to create a virtual appliance or a network address as part of the capture process but these steps are not included in this tutorial.

First be sure to do the preparatory steps and obtain the information about the VM and the environment that you will require to create the VM object.

Before you begin:

  • In Abiquo, determine the ID of:
    • The enterprise the VM will be captured for
    • The datacenter where it will be captured
    • The physical machine (hypervisor) where it will be captured from
  • In the hypervisor:
    • Check the VM name
    • Check the network details including the VLAN tag 
  • In the virtual machine
    • Check the IP addresses of the NICs
  • In Abiquo, create the following and make a note of the IDs:
    • The virtual datacenter that the VM will be captured into
    • The networks that the VM will belong to
    • The IP addresses for the VM in the networks
    • The virtual appliance that the VM will be captured into

To capture a VM using the API

  1. Retrieve the virtual appliance the VM will be captured into
    1. The POST to capture the virtual machine is made to the virtual machines URL of the virtual appliance. 
      • It's not really necessary to get the whole virtual appliance, but by doing so, you can validate the link and check that you have the right virtual appliance!
  2. Retrieve the virtual machine with resources from the hypervisor in Abiquo
    1. You will modify this virtualmachineflat object to create the request payload for the POST request
  3. Retrieve network interfaces for configuration 
    1. You will need the network link and the IP address, which will be included in the virtualmachineflat object
  4. Modify the virtualmachineflat object
  5. Post the virtualmachineflat object to the virtual machines URL of the virtual appliance


Retrieve virtual appliance

Using the virtual datacenter ID, retrieve all virtual appliances. See https://wiki.abiquo.com/api/latest/VirtualAppliancesResource.html#list-virtual-appliances

Then retrieve the virtual appliance that the VM will be captured into. 

curl --verbose -u admin:xabiquo -X GET https://38testing.bcn.abiquo.com/api/cloud/virtualdatacenters/51/virtualappliances/292 -H accept:application/vnd.abiquo.virtualappliance+json;version=3.8
 Click here to show/hide the request example
> GET /api/cloud/virtualdatacenters/95/virtualappliances/292 HTTP/1.1
> Authorization: Basic Y2xvdWRhZG1pbjpjbG91ZGFkbWlu
> User-Agent: curl/7.35.0
> Host: 38testing.bcn.abiquo.com
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Fri, 01 Apr 2016 14:45:05 GMT
< Set-Cookie: ABQSESSIONID=2446260617040916921; Expires=Fri, 01-Apr-2016 15:15:07 GMT; Path=/; Secure; HttpOnly
< Set-Cookie: auth=Y2xvdWRhZG1pbjoxNDU5NTIzNzA3ODk1OmMxZDZlNzU4NmNlNjdmYWM5ZjZhODk0MmYyMmIwNmExOkFCSVFVTw; Expires=Fri, 01-Apr-2016 15:15:07 GMT; Path=/; Secure; HttpOnly
< Content-Type: application/vnd.abiquo.virtualappliance+json; version=3.8
< Transfer-Encoding: chunked
< 
{  
   "links":[  
      {  
         "title":"vapp_vdc_for_capture",
         "rel":"edit",
         "type":"application/vnd.abiquo.virtualappliance+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292"
      },
      {  
         "title":"vdc_for_capture",
         "rel":"virtualdatacenter",
         "type":"application/vnd.abiquo.virtualdatacenter+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95"
      },
      {  
         "title":"MJEnterprise",
         "rel":"enterprise",
         "type":"application/vnd.abiquo.enterprise+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74"
      },
      {  
         "title":"virtual machines",
         "rel":"virtualmachines",
         "type":"application/vnd.abiquo.virtualmachines+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines"
      },
      {  
         "title":"virtual appliances state",
         "rel":"state",
         "type":"application/vnd.abiquo.virtualappliancestate+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/state"
      },
      {  
         "title":"undeploy",
         "rel":"undeploy",
         "type":"application/vnd.abiquo.acceptedrequest+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/action/undeploy"
      },
      {  
         "title":"deploy",
         "rel":"deploy",
         "type":"application/vnd.abiquo.acceptedrequest+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/action/deploy"
      },
      {  
         "title":"price",
         "rel":"price",
         "type":"text/plain",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/action/price"
      },
      {  
         "title":"layers",
         "rel":"layers",
         "type":"application/vnd.abiquo.layers+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/layers"
      },
      {  
         "title":"alerts",
         "rel":"alerts",
         "type":"application/vnd.abiquo.alerts+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/alerts"
      },
      {  
         "title":"spec",
         "rel":"spec",
         "type":"application/vnd.abiquo.virtualappliancespec+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/action/spec"
      },
      {  
         "title":"tasks",
         "rel":"tasks",
         "type":"application/vnd.abiquo.tasks+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/tasks"
      }
   ],
   "id":292,
   "name":"vapp_vdc_for_capture",
   "publicApp":0,
   "highDisponibility":0,
   "error":0,
   "state":"EMPTY"
}

 

Retrieve virtual machine from the hypervisor

Retrieve all the virtual machines from the hypervisor, using sync=true. Identify the required VM. Obtain a flat representation of the VM that includes the disks and network interface details (MAC address and sequence number).

curl --verbose -u admin:xabiquo -X GET https://38testing.bcn.abiquo.com/api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120?sync=true -H accept:application/vnd.abiquo.virtualmachinesflat+json;version=3.8
 Click here to show/hide the request example
> GET /api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120?sync=true HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 38testing.bcn.abiquo.com
> accept:application/vnd.abiquo.virtualmachineflat+json
> 
< HTTP/1.1 200 OK
< Date: Fri, 01 Apr 2016 10:43:56 GMT
< Set-Cookie: ABQSESSIONID=907153214557859431; Expires=Fri, 01-Apr-2016 11:13:56 GMT; Path=/; Secure; HttpOnly
< Set-Cookie: auth=Y2xvdWRhZG1pbjoxNDU5NTA5MjM4OTc0OjQ2YThjMzc4MDc4YWI2YWI0M2EyODE0MGU4N2VlZTIzOkFCSVFVTw; Expires=Fri, 01-Apr-2016 11:13:58 GMT; Path=/; Secure; HttpOnly
< Content-Type: application/vnd.abiquo.virtualmachineflat+json
< Transfer-Encoding: chunked
{  
   "links":[  
      {  
         "title":"VMX_04",
         "rel":"machine",
         "type":"application/vnd.abiquo.machine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82"
      },
      {  
         "title":"Abiquo-DC2-Neutron",
         "rel":"location",
         "type":"application/vnd.abiquo.datacenter+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/locations/4"
      },
      {  
         "title":"ESXi",
         "rel":"hypervisortype",
         "type":"application/vnd.abiquo.hypervisortype+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/config/hypervisortypes/VMX_04"
      },
      {  
         "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
         "rel":"edit",
         "type":"application/vnd.abiquo.virtualmachine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120"
      }
   ],
   "id":2120,
   "name":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
   "description":"",
   "ram":64,
   "cpu":1,
   "vdrpPort":5001,
   "vdrpIP":"192.168.2.61",
   "vdrpEnabled":true,
   "idState":4,
   "state":"ON",
   "highDisponibility":0,
   "idType":0,
   "type":"NOT_MANAGED",
   "password":"xeAbSLP6",
   "keymap":"",
   "uuid":"40e8cdbc-b541-411b-8765-f645b95ee73e",
   "label":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
   "monitored":false,
   "monitoringLevel":"DEFAULT",
   "variables":{},
   "volumes":{  
      "links":[],
      "collection":[]
   },
   "disks":{  
      "links":[],
      "collection":[  
         {  
            "links":[],
            "sizeInMb":100,
            "sequence":0,
            "diskFormatType":"VMDK_FLAT",
            "label":"",
            "path":"ABQ_40e8cdbc-b541-411b-8765-f64/ABQ_40e8cdbc-b541-411b-8765-f64ddc37bae-34f5-4112-a3b2-80150b83d344-flat.vmdk",
            "diskFileSize":104857600,
            "diskControllerType":"SCSI",
            "diskController":"lsilogic",
            "bus":0,
            "unit":0,
            "bootable":true
         },
         {  
            "links":[],
            "sizeInMb":120,
            "sequence":1,
            "diskFormatType":"VMDK_FLAT",
            "label":"",
            "path":"ABQ_40e8cdbc-b541-411b-8765-f64/ABQ_40e8cdbc-b541-411b-8765-f64-flat.vmdk",
            "diskFileSize":125829120,
            "diskControllerType":"SCSI",
            "diskController":"lsilogic",
            "bus":0,
            "unit":1,
            "bootable":true
         }
      ]
   },
   "nics":{  
      "links":[],
      "collection":[  
         {  
            "links":[],
            "mac":"00:50:56:3D:CF:A9",
            "sequence":0,
            "tag":10
         },
         {  
            "links":[],
            "mac":"00:50:56:30:08:77",
            "sequence":1,
            "tag":2
         }
      ]
   },
   "protected":false
}

 

Retrieve network details and IP addresses

Retrieve IPs from the external network that are available in the datacenter and then retrieve the appropriate IP for the VM.

curl --verbose -u admin:xabiquo -X GET https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/limits/40/externalnetworks/331/ips/4527
 Click here to expand...
> GET /api/admin/enterprises/74/limits/40/externalnetworks/331/ips/4528 HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 38testing.bcn.abiquo.com
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Fri, 01 Apr 2016 13:07:42 GMT
< Set-Cookie: ABQSESSIONID=1913633333739294211; Expires=Fri, 01-Apr-2016 13:37:42 GMT; Path=/; Secure; HttpOnly
< Set-Cookie: auth=Y2xvdWRhZG1pbjoxNDU5NTE3ODYyNzY2OjRhYmQyYmE5MjJhZTc5NGRiNmJkYjhkOTNkMGI3NmUyOkFCSVFVTw; Expires=Fri, 01-Apr-2016 13:37:42 GMT; Path=/; Secure; HttpOnly
< Content-Type: application/vnd.abiquo.externalip+json; version=3.8
< Transfer-Encoding: chunked
< 
{  
   "links":[  
      {  
         "title":"mj_external",
         "rel":"externalnetwork",
         "type":"application/vnd.abiquo.vlan+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/limits/40/externalnetworks/331"
      },
      {  
         "title":"ips",
         "rel":"ips",
         "type":"application/vnd.abiquo.externalips+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/limits/40/externalnetworks/331/ips"
      },
      {  
         "title":"10.10.2.3",
         "rel":"self",
         "type":"application/vnd.abiquo.externalip+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/limits/40/externalnetworks/331/ips/4528"
      }
   ],
   "id":4528,
   "ip":"10.10.2.3",
   "networkName":"mj_external",
   "ipv6":false,
   "available":true,
   "quarantine":false
}

 

Retrieve IPs from the public network that have been purchased and are available to the virtual datacenter. Select and retrieve the appropriate public IP. To start with, first we used the has parameter to identify the required IP address.

curl --verbose -u admin:xabiquo -X GET https://38testing.bcn.abiquo.com/api/cloud/virtualdatacenters/95/publicips/purchased?has="10.10.10.2"

Then we checked the ID of the purchased IP and retrieved only this IP.

curl --verbose -u admin:xabiquo -X GET https://38testing.bcn.abiquo.com/api/cloud/virtualdatacenters/95/publicips/purchased/4502
 Click here to expand...
> GET /api/cloud/virtualdatacenters/95/publicips/purchased/4502 HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 38testing.bcn.abiquo.com
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Fri, 01 Apr 2016 13:01:05 GMT
< Set-Cookie: ABQSESSIONID=6516537143611046519; Expires=Fri, 01-Apr-2016 13:31:06 GMT; Path=/; Secure; HttpOnly
< Set-Cookie: auth=Y2xvdWRhZG1pbjoxNDU5NTE3NDY2MzE2OmU0ODU0OGZhNmQwZmNkYWFlMzQ1NGEwYzViZjgzN2ZmOkFCSVFVTw; Expires=Fri, 01-Apr-2016 13:31:06 GMT; Path=/; Secure; HttpOnly
< Content-Type: application/vnd.abiquo.publicip+json; version=3.8
< Transfer-Encoding: chunked
< 
{  
   "links":[  
      {  
         "title":"mj_public_network",
         "rel":"publicnetwork",
         "type":"application/vnd.abiquo.vlan+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/network/328"
      },
      {  
         "title":"purchased ips",
         "rel":"purchased",
         "type":"application/vnd.abiquo.publicips+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/publicips/purchased"
      },
      {  
         "title":"release ip",
         "rel":"release",
         "type":"application/vnd.abiquo.publicip+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/publicips/topurchase/4502"
      },
      {  
         "title":"10.10.10.2",
         "rel":"self",
         "type":"application/vnd.abiquo.publicip+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/publicips/purchased/4502"
      },
      {  
         "title":"vdc_for_capture",
         "rel":"virtualdatacenter",
         "type":"application/vnd.abiquo.virtualdatacenter+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95"
      }
   ],
   "id":4502,
   "ip":"10.10.10.2",
   "mac":"00:50:56:21:9A:1A",
   "name":"005056219A1A_host",
   "networkName":"mj_public_network",
   "ipv6":false,
   "available":true,
   "quarantine":false
}

 

Create virtualmachineflat data transfer object

Change the virtual machine links as follows.

Replace the "rel" link with a value of edit with two links with "rel" values of "virtualmachine" and "imported".

 Click here to expand...

The original "rel" edit link.

      {  
         "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
         "rel":"edit",
         "type":"application/vnd.abiquo.virtualmachine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120"
      } 

The new links to replace it

     {  
         "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
         "rel":"virtualmachine",
         "type":"application/vnd.abiquo.virtualmachine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120"
      },
      {  
         "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
         "rel":"imported",
         "type":"application/vnd.abiquo.virtualmachine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120"
      }

In the nics section, add links to the vlans (with "rel" value of "vlan" and the "ip" attribute set to the IP address). 

 Click here to expand...

For example, from the public IP address, obtain the link with a "rel" value of "publicnetwork".

      {  
         "title":"mj_public_network",
         "rel":"publicnetwork",
         "type":"application/vnd.abiquo.vlan+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/network/328"
      }

Change the "rel" value to "vlan".

      {  
          "title":"mj_public_network",
          "rel":"vlan",
          "type":"application/vnd.abiquo.vlan+json",
          "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/network/328"
      }

For this network, also note the IP value

      "ip":"10.10.10.2"

 

And for example, for the external IP address, obtain the link with a "rel" value of "externalnetwork".

      {  
         "title":"mj_external",
         "rel":"externalnetwork",
         "type":"application/vnd.abiquo.vlan+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/limits/40/externalnetworks/331"
      }

Again, change the value of the "rel" attribute to "vlan".

       {  
          "title":"mj_external",
          "rel":"vlan",
          "type":"application/vnd.abiquo.vlan+json",
          "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/limits/40/externalnetworks/331"
       }

And note the value of the IP

      "ip":"10.10.2.3"

Add the links to the nics / collection / links section for each NIC and the IP to the main section of each NIC after the tag value (don't forget the comma).

Finally you should have a data object like the one contained in the following expanding section.

 Click here to expand...
{  
   "links":[  
      {  
         "title":"VMX_04",
         "rel":"machine",
         "type":"application/vnd.abiquo.machine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82"
      },
      {  
         "title":"Abiquo-DC2-Neutron",
         "rel":"location",
         "type":"application/vnd.abiquo.datacenter+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/locations/4"
      },
      {  
         "title":"ESXi",
         "rel":"hypervisortype",
         "type":"application/vnd.abiquo.hypervisortype+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/config/hypervisortypes/VMX_04"
      },
      {  
         "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
         "rel":"virtualmachine",
         "type":"application/vnd.abiquo.virtualmachine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120"
      },
      {  
         "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
         "rel":"imported",
         "type":"application/vnd.abiquo.virtualmachine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120"
      }
   ],
   "id":2120,
   "name":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
   "description":"",
   "ram":64,
   "cpu":1,
   "vdrpPort":5001,
   "vdrpIP":"192.168.2.61",
   "vdrpEnabled":true,
   "idState":4,
   "state":"ON",
   "highDisponibility":0,
   "idType":0,
   "type":"NOT_MANAGED",
   "password":"xeAbSLP6",
   "uuid":"40e8cdbc-b541-411b-8765-f645b95ee73e",
   "label":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
   "monitored":false,
   "monitoringLevel":"DEFAULT",
   "variables":{},
   "volumes":{  
      "links":[],
      "collection":[]
   },
   "disks":{  
      "links":[],
      "collection":[  
         {  
            "links":[],
            "sizeInMb":100,
            "sequence":0,
            "diskFormatType":"VMDK_FLAT",
            "label":"",
            "path":"ABQ_40e8cdbc-b541-411b-8765-f64/ABQ_40e8cdbc-b541-411b-8765-f64ddc37bae-34f5-4112-a3b2-80150b83d344-flat.vmdk",
            "diskFileSize":104857600,
            "diskControllerType":"SCSI",
            "diskController":"lsilogic",
            "bus":0,
            "unit":0,
            "bootable":true
         },
         {  
            "links":[],
            "sizeInMb":120,
            "sequence":1,
            "diskFormatType":"VMDK_FLAT",
            "label":"",
            "path":"ABQ_40e8cdbc-b541-411b-8765-f64/ABQ_40e8cdbc-b541-411b-8765-f64-flat.vmdk",
            "diskFileSize":125829120,
            "diskControllerType":"SCSI",
            "diskController":"lsilogic",
            "bus":0,
            "unit":1,
            "bootable":true
         }
      ]
   },
   "nics":{  
      "links":[],
      "collection":[  
         {  
            "links":[  
               {  
                  "title":"mj_public_network",
                  "rel":"vlan",
                  "type":"application/vnd.abiquo.vlan+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/network/328"
               }
            ],
            "mac":"00:50:56:3D:CF:A9",
            "sequence":0,
            "tag":10,
            "ip":"10.10.10.2"
         },
         {  
            "links":[  
               {  
                  "title":"mj_external",
                  "rel":"vlan",
                  "type":"application/vnd.abiquo.vlan+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/limits/40/externalnetworks/331"
               }
            ],
            "mac":"00:50:56:30:08:77",
            "sequence":1,
            "tag":2,
            "ip":"10.10.2.3"
         }
      ]
   },
   "protected":false
}

Capture the virtual machine

To capture the machine, send the virtualmachineflat data transfer object as part of a post request to the virtual machines URL of the virtual appliance that will hold the captured virtual machine.

curl --verbose -u admin:xabiquo -X POST "https://38testing.bcn.abiquo.com/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines" \
-H "Content-Type:application/vnd.abiquo.virtualmachineflat+json;version=3.8" \
-H "Accept:application/vnd.abiquo.virtualmachineflat+json;version=3.8" \
-d @requestpayload.json

Success status code: 201

Request payload:

 Click here to expand...
{  
   "links":[  
      {  
         "title":"VMX_04",
         "rel":"machine",
         "type":"application/vnd.abiquo.machine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82"
      },
      {  
         "title":"Abiquo-DC2-Neutron",
         "rel":"location",
         "type":"application/vnd.abiquo.datacenter+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/locations/4"
      },
      {  
         "title":"ESXi",
         "rel":"hypervisortype",
         "type":"application/vnd.abiquo.hypervisortype+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/config/hypervisortypes/VMX_04"
      },
      {  
         "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
         "rel":"virtualmachine",
         "type":"application/vnd.abiquo.virtualmachine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120"
      },
      {  
         "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
         "rel":"imported",
         "type":"application/vnd.abiquo.virtualmachine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120"
      }
   ],
   "id":2120,
   "name":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
   "description":"",
   "ram":64,
   "cpu":1,
   "vdrpPort":5001,
   "vdrpIP":"192.168.2.61",
   "vdrpEnabled":true,
   "idState":4,
   "state":"ON",
   "highDisponibility":0,
   "idType":0,
   "type":"NOT_MANAGED",
   "password":"xeAbSLP6",
   "uuid":"40e8cdbc-b541-411b-8765-f645b95ee73e",
   "label":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
   "monitored":false,
   "monitoringLevel":"DEFAULT",
   "variables":{},
   "volumes":{  
      "links":[],
      "collection":[]
   },
   "disks":{  
      "links":[],
      "collection":[  
         {  
            "links":[],
            "sizeInMb":100,
            "sequence":0,
            "diskFormatType":"VMDK_FLAT",
            "label":"",
            "path":"ABQ_40e8cdbc-b541-411b-8765-f64/ABQ_40e8cdbc-b541-411b-8765-f64ddc37bae-34f5-4112-a3b2-80150b83d344-flat.vmdk",
            "diskFileSize":104857600,
            "diskControllerType":"SCSI",
            "diskController":"lsilogic",
            "bus":0,
            "unit":0,
            "bootable":true
         },
         {  
            "links":[],
            "sizeInMb":120,
            "sequence":1,
            "diskFormatType":"VMDK_FLAT",
            "label":"",
            "path":"ABQ_40e8cdbc-b541-411b-8765-f64/ABQ_40e8cdbc-b541-411b-8765-f64-flat.vmdk",
            "diskFileSize":125829120,
            "diskControllerType":"SCSI",
            "diskController":"lsilogic",
            "bus":0,
            "unit":1,
            "bootable":true
         }
      ]
   },
   "nics":{  
      "links":[],
      "collection":[  
         {  
            "links":[  
               {  
                  "title":"mj_public_network",
                  "rel":"vlan",
                  "type":"application/vnd.abiquo.vlan+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/network/328"
               }
            ],
            "mac":"00:50:56:3D:CF:A9",
            "sequence":0,
            "tag":10,
            "ip":"10.10.10.2"
         },
         {  
            "links":[  
               {  
                  "title":"mj_external",
                  "rel":"vlan",
                  "type":"application/vnd.abiquo.vlan+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/limits/40/externalnetworks/331"
               }
            ],
            "mac":"00:50:56:30:08:77",
            "sequence":1,
            "tag":2,
            "ip":"10.10.2.3"
         }
      ]
   },
   "protected":false
}

Request data:

 Click here to expand...
> POST /api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 38testing.bcn.abiquo.com
> Content-Type:application/vnd.abiquo.virtualmachineflat+json;version=3.8
> Accept:application/vnd.abiquo.virtualmachineflat+json;version=3.8
> Content-Length: 3743
> Expect: 100-continue
> 
< HTTP/1.1 100 Continue
< HTTP/1.1 201 Created
< Date: Fri, 01 Apr 2016 14:51:03 GMT
< Set-Cookie: ABQSESSIONID=6760576487240329669; Expires=Fri, 01-Apr-2016 15:21:05 GMT; Path=/; Secure; HttpOnly
< Set-Cookie: auth=Y2xvdWRhZG1pbjoxNDU5NTI0MDY4MzQ5Ojk3NDMyMGNhYmE4YjRjMWM0ZWRlMjRlNDVmOWM3YmQ3OkFCSVFVTw; Expires=Fri, 01-Apr-2016 15:21:08 GMT; Path=/; Secure; HttpOnly
< Location: https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120
< Content-Type: application/vnd.abiquo.virtualmachineflat+json; version=3.8
< Transfer-Encoding: chunked
< 

Response payload:

 Click here to expand...
{  
   "links":[  
      {  
         "title":"VMX_04",
         "rel":"machine",
         "type":"application/vnd.abiquo.machine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82"
      },
      {  
         "title":"Abiquo-DC2-Neutron",
         "rel":"location",
         "type":"application/vnd.abiquo.datacenter+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/locations/4"
      },
      {  
         "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
         "rel":"edit",
         "type":"application/vnd.abiquo.virtualmachine+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120"
      },
      {  
         "title":"send mail",
         "rel":"sendmail",
         "type":"application/vnd.abiquo.mail+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120/action/sendmail"
      },
      {  
         "title":"MJEnterprise",
         "rel":"enterprise",
         "type":"application/vnd.abiquo.enterprise+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74"
      },
      {  
         "title":"MJ Admin",
         "rel":"user",
         "type":"application/vnd.abiquo.user+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/users/17"
      },
      {  
         "title":"vdc_for_capture",
         "rel":"virtualdatacenter",
         "type":"application/vnd.abiquo.virtualdatacenter+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95"
      },
      {  
         "title":"vapp_vdc_for_capture",
         "rel":"virtualappliance",
         "type":"application/vnd.abiquo.virtualappliance+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292"
      },
      {  
         "title":"metadata",
         "rel":"metadata",
         "type":"application/vnd.abiquo.metadata+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/metadata"
      },
      {  
         "title":"vlan network configurations",
         "rel":"configurations",
         "type":"application/vnd.abiquo.virtualmachinenetworkconfigurations+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/network/configurations"
      },
      {  
         "title":"nics",
         "rel":"nics",
         "type":"application/vnd.abiquo.nics+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/network/nics"
      },
      {  
         "title":"disks",
         "rel":"harddisks",
         "type":"application/vnd.abiquo.harddisks+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/storage/disks"
      },
      {  
         "title":"ON",
         "rel":"state",
         "type":"application/vnd.abiquo.virtualmachinestate+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/state"
      },
      {  
         "title":"virtual machine undeploy",
         "rel":"undeploy",
         "type":"application/vnd.abiquo.acceptedrequest+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/action/undeploy"
      },
      {  
         "title":"virtual machine deploy",
         "rel":"deploy",
         "type":"application/vnd.abiquo.acceptedrequest+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/action/deploy"
      },
      {  
         "title":"virtual machine reset",
         "rel":"reset",
         "type":"application/vnd.abiquo.acceptedrequest+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/action/reset"
      },
      {  
         "title":"virtual machine snapshot",
         "rel":"instance",
         "type":"application/vnd.abiquo.acceptedrequest+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/action/instance"
      },
      {  
         "title":"virtual machine restore backup",
         "rel":"restorebackup",
         "type":"application/vnd.abiquo.acceptedrequest+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/action/restorebackup"
      },
      {  
         "title":"remote access",
         "rel":"rdpaccess",
         "type":"text/plain",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/config/rdpaccess"
      },
      {  
         "title":"tasks",
         "rel":"tasks",
         "type":"application/vnd.abiquo.tasks+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/tasks"
      },
      {  
         "title":"firewalls",
         "rel":"firewalls",
         "type":"application/vnd.abiquo.links+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/firewalls"
      },
      {  
         "title":"load balancers",
         "rel":"loadbalancers",
         "type":"application/vnd.abiquo.loadbalancers+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/loadbalancers"
      },
      {  
         "title":"volumes",
         "rel":"volumes",
         "type":"application/vnd.abiquo.volumes+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/storage/volumes"
      },
      {  
         "title":"metrics",
         "rel":"metrics",
         "type":"application/vnd.abiquo.metrics+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/metrics"
      },
      {  
         "title":"metricsmetadata",
         "rel":"metricsmetadata",
         "type":"application/vnd.abiquo.metricsmetadata+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/metrics"
      },
      {  
         "title":"createcustommetric",
         "rel":"createcustommetric",
         "type":"application/vnd.abiquo.custommetric+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/metrics"
      },
      {  
         "title":"enablemonitoring",
         "rel":"enablemonitoring",
         "type":"",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/enablemonitoring"
      },
      {  
         "title":"collectd",
         "rel":"collectd",
         "type":"application/json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/collectd"
      },
      {  
         "title":"alarms",
         "rel":"alarms",
         "type":"application/vnd.abiquo.alarms+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/alarms"
      },
      {  
         "title":"protect",
         "rel":"protect",
         "type":"text/plain",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/action/protect"
      },
      {  
         "title":"unprotect",
         "rel":"unprotect",
         "type":"text/plain",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/action/unprotect"
      },
      {  
         "title":"metrics",
         "rel":"metrics",
         "type":"application/vnd.abiquo.metrics+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/metrics"
      },
      {  
         "title":"metricsmetadata",
         "rel":"metricsmetadata",
         "type":"application/vnd.abiquo.metricsmetadata+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/metrics"
      },
      {  
         "title":"createcustommetric",
         "rel":"createcustommetric",
         "type":"application/vnd.abiquo.custommetric+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/metrics"
      },
      {  
         "title":"enablemonitoring",
         "rel":"enablemonitoring",
         "type":"",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/enablemonitoring"
      },
      {  
         "title":"collectd",
         "rel":"collectd",
         "type":"application/json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/collectd"
      },
      {  
         "title":"alarms",
         "rel":"alarms",
         "type":"application/vnd.abiquo.alarms+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/alarms"
      },
      {  
         "title":"ESXi",
         "rel":"hypervisortype",
         "type":"application/vnd.abiquo.hypervisortype+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/config/hypervisortypes/VMX_04"
      },
      {  
         "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e_image",
         "rel":"virtualmachinetemplate",
         "type":"application/vnd.abiquo.virtualmachinetemplate+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/datacenterrepositories/4/virtualmachinetemplates/374"
      },
      {  
         "title":"Others",
         "rel":"category",
         "type":"application/vnd.abiquo.category+json",
         "href":"https://38testing.bcn.abiquo.com:443/api/config/categories/1"
      }
   ],
   "id":2120,
   "name":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
   "description":"",
   "ram":64,
   "cpu":1,
   "vdrpPort":5001,
   "vdrpIP":"192.168.2.61",
   "vdrpEnabled":true,
   "idState":4,
   "state":"ON",
   "highDisponibility":0,
   "idType":0,
   "type":"CAPTURED",
   "password":"xeAbSLP6",
   "uuid":"40e8cdbc-b541-411b-8765-f645b95ee73e",
   "label":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
   "monitored":false,
   "monitoringLevel":"DEFAULT",
   "variables":{},
   "volumes":{  
      "links":[],
      "collection":[]
   },
   "disks":{  
      "links":[],
      "collection":[  
         {  
            "links":[  
               {  
                  "title":"vdc_for_capture",
                  "rel":"virtualdatacenter",
                  "type":"application/vnd.abiquo.virtualdatacenter+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95"
               },
               {  
                  "rel":"disk0",
                  "type":"application/vnd.abiquo.harddisk+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/disks/4582"
               },
               {  
                  "title":"disk",
                  "rel":"disk",
                  "type":"application/vnd.abiquo.disk+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/datacenterrepositories/4/virtualmachinetemplates/374/disks/559"
               },
               {  
                  "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
                  "rel":"virtualmachine",
                  "type":"application/vnd.abiquo.virtualmachine+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120"
               },
               {  
                  "title":"nardotier_DC2",
                  "rel":"datastoretier",
                  "type":"application/vnd.abiquo.datastoretier+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/cloud/locations/4/datastoretiers/5"
               }
            ],
            "id":4582,
            "sizeInMb":100,
            "sequence":0,
            "diskFormatType":"VMDK_FLAT",
            "label":"",
            "path":"ABQ_40e8cdbc-b541-411b-8765-f64/ABQ_40e8cdbc-b541-411b-8765-f64ddc37bae-34f5-4112-a3b2-80150b83d344-flat.vmdk",
            "diskFileSize":104857600,
            "diskControllerType":"SCSI",
            "diskController":"lsilogic",
            "bus":0,
            "unit":0,
            "bootable":true
         },
         {  
            "links":[  
               {  
                  "title":"vdc_for_capture",
                  "rel":"virtualdatacenter",
                  "type":"application/vnd.abiquo.virtualdatacenter+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95"
               },
               {  
                  "rel":"disk1",
                  "type":"application/vnd.abiquo.harddisk+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/disks/4583"
               },
               {  
                  "title":"disk",
                  "rel":"disk",
                  "type":"application/vnd.abiquo.disk+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/datacenterrepositories/4/virtualmachinetemplates/374/disks/560"
               },
               {  
                  "title":"ABQ_40e8cdbc-b541-411b-8765-f645b95ee73e",
                  "rel":"virtualmachine",
                  "type":"application/vnd.abiquo.virtualmachine+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120"
               },
               {  
                  "title":"nardotier_DC2",
                  "rel":"datastoretier",
                  "type":"application/vnd.abiquo.datastoretier+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/cloud/locations/4/datastoretiers/5"
               }
            ],
            "id":4583,
            "sizeInMb":120,
            "sequence":1,
            "diskFormatType":"VMDK_FLAT",
            "label":"",
            "path":"ABQ_40e8cdbc-b541-411b-8765-f64/ABQ_40e8cdbc-b541-411b-8765-f64-flat.vmdk",
            "diskFileSize":125829120,
            "diskControllerType":"SCSI",
            "diskController":"lsilogic",
            "bus":0,
            "unit":1,
            "bootable":true
         }
      ]
   },
   "nics":{  
      "links":[],
      "collection":[  
         {  
            "links":[  
               {  
                  "title":"00:50:56:3D:CF:A9",
                  "rel":"self",
                  "type":"application/vnd.abiquo.nic+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/network/nics/4502"
               },
               {  
                  "title":"10.10.10.2",
                  "rel":"edit",
                  "type":"application/vnd.abiquo.publicip+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/publicips/purchased/4502"
               },
               {  
                  "title":"mj_public_network",
                  "rel":"publicnetwork",
                  "type":"application/vnd.abiquo.vlan+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/admin/datacenters/4/network/328"
               }
            ],
            "id":4502,
            "ip":"10.10.10.2",
            "mac":"00:50:56:3D:CF:A9",
            "sequence":0,
            "tag":10
         },
         {  
            "links":[  
               {  
                  "title":"00:50:56:30:08:77",
                  "rel":"self",
                  "type":"application/vnd.abiquo.nic+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/95/virtualappliances/292/virtualmachines/2120/network/nics/4528"
               },
               {  
                  "title":"10.10.2.3",
                  "rel":"edit",
                  "type":"application/vnd.abiquo.externalip+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/limits/40/externalnetworks/331/ips/4528"
               },
               {  
                  "title":"mj_external",
                  "rel":"externalnetwork",
                  "type":"application/vnd.abiquo.vlan+json",
                  "href":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/limits/40/externalnetworks/331"
               }
            ],
            "id":4528,
            "ip":"10.10.2.3",
            "mac":"00:50:56:30:08:77",
            "sequence":1,
            "tag":2
         }
      ]
   },
   "protected":false
} 

 

 


  • No labels