Abiquo Documentation Cookies Policy

Our Documentation website uses cookies to improve your experience. Please visit our Cookie Policy page for more information about cookies and how we use them.


Abiquo 4.4

Skip to end of metadata
Go to start of metadata

The horizontal autoscaling functionality clones VMs to scale out cloud deployments. Create a scaling group within a virtual appliance for a base VM. Abiquo will clone the VM or remove clones according to the scaling rules, when autoscaling is triggered by a schedule or an alert. See also VirtualMachineResource#Clone a virtual machine

Scaling Groups Resource

Main URI of the Resource

This class operates mainly over the Resource URI: /cloud/virtualdatacenters/{virtualdatacenter}/virtualappliances/{virtualappliance}/scalingroups/{scalinggroup}

Exposed methods

Create scaling group

  • Synopsis: POST http://example.com/api/cloud/virtualdatacenters/{virtualdatacenter}/virtualappliances/{virtualappliance}/scalinggroups
  • Roles required: MANAGE_SCALING_GROUPS
  • Request headers: Content-Type: application/vnd.abiquo.scalinggroup+json;version=4.0, Accept: application/vnd.abiquo.scalinggroup+json;version=4.0
  • Request parameters:

    Parameter

    Required

    Default value

    Description

     

     

     

     

  • Request Message Body Entity: application/vnd.abiquo.scalinggroup+json
  • Response Message Body Entity: application/vnd.abiquo.scalinggroup+json
  • Request Example:

    curl 'http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups' \
    -X POST \
    -H 'Content-Type: application/vnd.abiquo.scalinggroup+json;version=4.0' \
    -H 'Accept: application/vnd.abiquo.scalinggroup+json;version=4.0' \
    --data-binary '{"minSize":1,"maxSize":20,"scaleOutRules":[{"numberOfInstances":1},{"numberOfInstances":2,"startTime":1489536000000,"endTime":1489708800000}],"scaleInRules":[{"numberOfInstances":2,"cooldownSeconds":60}],"links":[{"title":"ABQ_9678b66d-42aa-4285-92fc-1ac10f9e1827","rel":"mastervirtualmachine","type":"application/vnd.abiquo.virtualmachine+json","href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/3"}],"name":"scaling-group-3","defaultCooldownSeconds":120}'
    
  • Response Example:

     Click here to expand...
    HTTP/1.1 201 Created
    Server: Apache-Coyote/1.1
    Content-Type: application/vnd.abiquo.scalinggroup+json; version=4.0
    Transfer-Encoding: chunked
    Date: Mon, 13 Mar 2017 14:20:18 GMT
    {
       "links":[
          {
             "title":"vapp_vdc",
             "rel":"virtualappliance",
             "type":"application/vnd.abiquo.virtualappliance+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1"
          },
          {
             "title":"ABQ_9678b66d-42aa-4285-92fc-1ac10f9e1827",
             "rel":"mastervirtualmachine",
             "type":"application/vnd.abiquo.virtualmachine+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/3"
          },
          {
             "title":"ABQ_e4a2ca2f-e77b-470c-b36a-f9d211278314",
             "rel":"virtualmachine",
             "type":"application/vnd.abiquo.virtualmachine+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/4"
          },
          {
             "title":"scaling-group-3",
             "rel":"self",
             "type":"application/vnd.abiquo.scalinggroup+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3"
          },
          {
             "title":"startmaintenance",
             "rel":"startmaintenance",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3/action/startmaintenance"
          },
          {
             "title":"scaleout",
             "rel":"scaleout",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3/action/scaleout"
          },
          {
             "title":"scalein",
             "rel":"scalein",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3/action/scalein"
          }
       ],
       "name":"scaling-group-3",
       "createdBy":"admin",
       "defaultCooldownSeconds":120,
       "minSize":1,
       "maxSize":20,
       "keepInLayer":false,
       "disableWorkflow":false,
       "maintenanceMode":false,
       "scaleOutRules":[
          {
             "numberOfInstances":1
          },
          {
             "numberOfInstances":2,
             "startTime":1489536000000,
             "endTime":1489708800000
          }
       ],
       "scaleInRules":[
          {
             "numberOfInstances":2,
             "cooldownSeconds":60
          }
       ]
    }
    

    Additional example

     Click here to expand...

    POST_cld_vdcs_X_vapps_X_scalinggroups_CT_scalinggroup_j_AC_scalinggroup_j.0001.txt

    cURL:

    curl -X POST http://localhost:9000/api/cloud/virtualdatacenters/1781/virtualappliances/792/scalinggroups \ 
    	 -H 'Accept:application/vnd.abiquo.scalinggroup+json; version=4.2' \ 
    	 -H 'Content-Type:application/vnd.abiquo.scalinggroup+json; version=4.2' \ 
    	 -d @requestpayload.json \ 
    	 -u user:password --verbose 

    Success status code: 201

    Request payload:

    {
      "scaleInRules": [
        {
          "numberOfInstances": 2
        }, 
        {
          "endTime": 1512403009777, 
          "numberOfInstances": 3, 
          "startTime": 1512401209777
        }, 
        {
          "endTime": 1512406609777, 
          "numberOfInstances": 1, 
          "startTime": 1512404809777
        }
      ], 
      "name": "fffb706c-ff0c-45a4-9856-0b3ecf04ea90", 
      "links": [
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1781/virtualappliances/792/virtualmachines/799", 
          "rel": "mastervirtualmachine"
        }
      ], 
      "scaleOutRules": [
        {
          "numberOfInstances": 2
        }, 
        {
          "endTime": 1512403009777, 
          "numberOfInstances": 1, 
          "startTime": 1512401209777
        }
      ], 
      "minSize": 0, 
      "maxSize": 10, 
      "defaultCooldownSeconds": 117, 
      "disableWorkflow": false, 
      "keepInLayer": true
    }

    Response payload:

    {
      "scaleInRules": [
        {
          "numberOfInstances": 2
        }, 
        {
          "endTime": 1512403009777, 
          "numberOfInstances": 3, 
          "startTime": 1512401209777
        }, 
        {
          "endTime": 1512406609777, 
          "numberOfInstances": 1, 
          "startTime": 1512404809777
        }
      ], 
      "name": "fffb706c-ff0c-45a4-9856-0b3ecf04ea90", 
      "links": [
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1781/virtualappliances/792", 
          "type": "application/vnd.abiquo.virtualappliance+json", 
          "rel": "virtualappliance", 
          "title": "113"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1781/virtualappliances/792/virtualmachines/799", 
          "type": "application/vnd.abiquo.virtualmachine+json", 
          "rel": "mastervirtualmachine", 
          "title": "vmNotAllocated0.20471272308355926"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1781/virtualappliances/792/scalinggroups/6", 
          "type": "application/vnd.abiquo.scalinggroup+json", 
          "rel": "self", 
          "title": "fffb706c-ff0c-45a4-9856-0b3ecf04ea90"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1781/virtualappliances/792/scalinggroups/6/action/startmaintenance", 
          "type": "", 
          "rel": "startmaintenance", 
          "title": "startmaintenance"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1781/virtualappliances/792/scalinggroups/6/action/scaleout", 
          "type": "", 
          "rel": "scaleout", 
          "title": "scaleout"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1781/virtualappliances/792/scalinggroups/6/action/scalein", 
          "type": "", 
          "rel": "scalein", 
          "title": "scalein"
        }
      ], 
      "scaleOutRules": [
        {
          "numberOfInstances": 2
        }, 
        {
          "endTime": 1512403009777, 
          "numberOfInstances": 1, 
          "startTime": 1512401209777
        }
      ], 
      "minSize": 0, 
      "maxSize": 10, 
      "createdBy": "sysadmin", 
      "defaultCooldownSeconds": 117, 
      "disableWorkflow": false, 
      "keepInLayer": true, 
      "maintenanceMode": false
    }


List scaling groups

  • Synopsis: GET http://example.com/api/cloud/virtualdatacenters/{virtualdatacenter}/virtualappliances/{virtualappliance}/scalinggroups
  • Roles required: VDC_MANAGE_VAPP
  • Request headers: Accept: application/vnd.abiquo.scalinggroups+json;version=4.0
  • Request parameters:

    Parameter

    Required

    Default value

    Description

     

     

     

     

  • Request Message Body Entity:
  • Response Message Body Entity: application/vnd.abiquo.scalinggroups+json
  • Request Example:

    curl 'http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups' \
    -X GET \
    -H 'Accept: application/vnd.abiquo.scalinggroups+json;version=4.0'
    
  • Response Example:

     Click here to expand...
    HTTP/1.1 200 OK
    Content-Type: application/vnd.abiquo.scalinggroups+json; version=4.0
    Transfer-Encoding: chunked
    Date: Mon, 13 Mar 2017 14:26:43 GMT
    {
       "links":[
          {
             "title":"vapp_vdc",
             "rel":"virtualappliance",
             "type":"application/vnd.abiquo.virtualappliance+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1"
          }
       ],
       "collection":[
          {
             "links":[
                {
                   "title":"vapp_vdc",
                   "rel":"virtualappliance",
                   "type":"application/vnd.abiquo.virtualappliance+json",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1"
                },
                {
                   "title":"ABQ_32579c7f-d302-45a8-a3af-5f95b3e72bfa",
                   "rel":"mastervirtualmachine",
                   "type":"application/vnd.abiquo.virtualmachine+json",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/1"
                },
                {
                   "title":"scaling-group-0",
                   "rel":"self",
                   "type":"application/vnd.abiquo.scalinggroup+json",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1"
                },
                {
                   "title":"startmaintenance",
                   "rel":"startmaintenance",
                   "type":"",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/startmaintenance"
                },
                {
                   "title":"scaleout",
                   "rel":"scaleout",
                   "type":"",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/scaleout"
                },
                {
                   "title":"scalein",
                   "rel":"scalein",
                   "type":"",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/scalein"
                }
             ],
             "name":"scaling-group-0",
             "createdBy":"admin",
             "defaultCooldownSeconds":120,
             "minSize":0,
             "maxSize":10,
             "keepInLayer":false,
             "disableWorkflow":false,
             "maintenanceMode":false,
             "scaleOutRules":[
                {
                   "numberOfInstances":2
                },
                {
                   "numberOfInstances":1,
                   "cooldownSeconds":30,
                   "startTime":1488931200000,
                   "endTime":1489017600000
                }
             ],
             "scaleInRules":[
                {
                   "numberOfInstances":1
                }
             ]
          },
          {
             "links":[
                {
                   "title":"vapp_vdc",
                   "rel":"virtualappliance",
                   "type":"application/vnd.abiquo.virtualappliance+json",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1"
                },
                {
                   "title":"ABQ_be19daad-da41-4cea-8ebd-9abbd8ffc4bb",
                   "rel":"mastervirtualmachine",
                   "type":"application/vnd.abiquo.virtualmachine+json",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/2"
                },
                {
                   "title":"scaling-group-1",
                   "rel":"self",
                   "type":"application/vnd.abiquo.scalinggroup+json",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/2"
                },
                {
                   "title":"startmaintenance",
                   "rel":"startmaintenance",
                   "type":"",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/2/action/startmaintenance"
                },
                {
                   "title":"scaleout",
                   "rel":"scaleout",
                   "type":"",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/2/action/scaleout"
                },
                {
                   "title":"scalein",
                   "rel":"scalein",
                   "type":"",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/2/action/scalein"
                }
             ],
             "name":"scaling-group-1",
             "createdBy":"admin",
             "defaultCooldownSeconds":60,
             "minSize":0,
             "maxSize":5,
             "keepInLayer":true,
             "disableWorkflow":false,
             "maintenanceMode":false,
             "scaleOutRules":[
                {
                   "numberOfInstances":1
                }
             ],
             "scaleInRules":[
                {
                   "numberOfInstances":1
                }
             ]
          },
          {
             "links":[
                {
                   "title":"vapp_vdc",
                   "rel":"virtualappliance",
                   "type":"application/vnd.abiquo.virtualappliance+json",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1"
                },
                {
                   "title":"ABQ_9678b66d-42aa-4285-92fc-1ac10f9e1827",
                   "rel":"mastervirtualmachine",
                   "type":"application/vnd.abiquo.virtualmachine+json",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/3"
                },
                {
                   "title":"ABQ_e4a2ca2f-e77b-470c-b36a-f9d211278314",
                   "rel":"virtualmachine",
                   "type":"application/vnd.abiquo.virtualmachine+json",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/4"
                },
                {
                   "title":"scaling-group-3",
                   "rel":"self",
                   "type":"application/vnd.abiquo.scalinggroup+json",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3"
                },
                {
                   "title":"startmaintenance",
                   "rel":"startmaintenance",
                   "type":"",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3/action/startmaintenance"
                },
                {
                   "title":"scaleout",
                   "rel":"scaleout",
                   "type":"",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3/action/scaleout"
                },
                {
                   "title":"scalein",
                   "rel":"scalein",
                   "type":"",
                   "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3/action/scalein"
                }
             ],
             "name":"scaling-group-3",
             "createdBy":"admin",
             "defaultCooldownSeconds":120,
             "minSize":1,
             "maxSize":20,
             "keepInLayer":false,
             "disableWorkflow":false,
             "maintenanceMode":false,
             "scaleOutRules":[
                {
                   "numberOfInstances":1
                },
                {
                   "numberOfInstances":2,
                   "startTime":1489536000000,
                   "endTime":1489708800000
                }
             ],
             "scaleInRules":[
                {
                   "numberOfInstances":2,
                   "cooldownSeconds":60
                }
             ]
          }
       ]
    }
    

Get scaling group

  • Synopsis: GET http://example.com/api/cloud/virtualdatacenters/{virtualdatacenter}/virtualappliances/{virtualappliance}/scalinggroups/{scalinggroup}
  • Roles required: VDC_MANAGE_VAPP
  • Request headers: Accept: application/vnd.abiquo.scalinggroup+json
  • Request parameters:

    Parameter

    Required

    Default value

    Description

     

     

     

     

  • Request Message Body Entity:
  • Response Message Body Entity: application/vnd.abiquo.scalinggroup+json
  • Request Example:

    curl 'http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/2' \
    -X GET \
    -H 'Accept: application/vnd.abiquo.scalinggroup+json;version=4.0'
    
  • Response Example:

     Click here to expand...
    HTTP/1.1 200 OK
    Content-Type: application/vnd.abiquo.scalinggroup+json; version=4.0
    Transfer-Encoding: chunked
    Date: Mon, 13 Mar 2017 14:31:29 GMT
    {
       "links":[
          {
             "title":"vapp_vdc",
             "rel":"virtualappliance",
             "type":"application/vnd.abiquo.virtualappliance+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1"
          },
          {
             "title":"ABQ_be19daad-da41-4cea-8ebd-9abbd8ffc4bb",
             "rel":"mastervirtualmachine",
             "type":"application/vnd.abiquo.virtualmachine+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/2"
          },
          {
             "title":"scaling-group-1",
             "rel":"self",
             "type":"application/vnd.abiquo.scalinggroup+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/2"
          },
          {
             "title":"startmaintenance",
             "rel":"startmaintenance",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/2/action/startmaintenance"
          },
          {
             "title":"scaleout",
             "rel":"scaleout",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/2/action/scaleout"
          },
          {
             "title":"scalein",
             "rel":"scalein",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/2/action/scalein"
          }
       ],
       "name":"scaling-group-1",
       "createdBy":"admin",
       "defaultCooldownSeconds":60,
       "minSize":0,
       "maxSize":5,
       "keepInLayer":true,
       "disableWorkflow":false,
       "maintenanceMode":false,
       "scaleOutRules":[
          {
             "numberOfInstances":1
          }
       ],
       "scaleInRules":[
          {
             "numberOfInstances":1
          }
       ]
    }
    

    Additional example

     Click here to expand...

    GET_cld_vdcs_X_vapps_X_scalinggroups_X_AC_scalinggroup_j.0001.txt

    cURL:

    curl -X GET http://localhost:9000/api/cloud/virtualdatacenters/1780/virtualappliances/791/scalinggroups/5 \ 
    	 -H 'Accept:application/vnd.abiquo.scalinggroup+json; version=4.2' \ 
    	 -u user:password --verbose 

    Success status code: 200

    Request payload:

    --none--

    Response payload:

    {
      "scaleInRules": [
        {
          "numberOfInstances": 3
        }, 
        {
          "endTime": 1512403009000, 
          "numberOfInstances": 2, 
          "startTime": 1512401209000
        }, 
        {
          "endTime": 1512406609000, 
          "numberOfInstances": 2, 
          "startTime": 1512404809000
        }
      ], 
      "name": "bff8425b-0f6d-4759-9dc5-880a93d0436b", 
      "links": [
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1780/virtualappliances/791", 
          "type": "application/vnd.abiquo.virtualappliance+json", 
          "rel": "virtualappliance", 
          "title": "48"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1780/virtualappliances/791/virtualmachines/797", 
          "type": "application/vnd.abiquo.virtualmachine+json", 
          "rel": "mastervirtualmachine", 
          "title": "allocatedVM"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1780/virtualappliances/791/virtualmachines/798", 
          "type": "application/vnd.abiquo.virtualmachine+json", 
          "rel": "virtualmachine", 
          "title": "1288aefd-3ddf-483f-b222-d30c9079b5ab"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1780/virtualappliances/791/scalinggroups/5", 
          "type": "application/vnd.abiquo.scalinggroup+json", 
          "rel": "self", 
          "title": "bff8425b-0f6d-4759-9dc5-880a93d0436b"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1780/virtualappliances/791/scalinggroups/5/action/startmaintenance", 
          "type": "", 
          "rel": "startmaintenance", 
          "title": "startmaintenance"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1780/virtualappliances/791/scalinggroups/5/action/scaleout", 
          "type": "", 
          "rel": "scaleout", 
          "title": "scaleout"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1780/virtualappliances/791/scalinggroups/5/action/scalein", 
          "type": "", 
          "rel": "scalein", 
          "title": "scalein"
        }
      ], 
      "scaleOutRules": [
        {
          "numberOfInstances": 2
        }, 
        {
          "endTime": 1512403009000, 
          "numberOfInstances": 3, 
          "startTime": 1512401209000
        }
      ], 
      "minSize": 0, 
      "maxSize": 7, 
      "createdBy": "0fbe05fa-2275-43ab-b5e4-fb6aef22b28c", 
      "defaultCooldownSeconds": 40, 
      "disableWorkflow": false, 
      "keepInLayer": true, 
      "maintenanceMode": false
    }


Delete scaling group

  • Synopsis: DELETE http://example.com/api/cloud/virtualdatacenters/{virtualdatacenter}/virtualappliances/{virtualappliance}/scalinggroups/{scalinggroup}
  • Roles required: MANAGE_SCALING_GROUPS
  • Request headers:
  • Request parameters:

    Parameter

    Required

    Default value

    Description

     

     

     

     

  • Request Message Body Entity:
  • Response Message Body Entity:
  • Request Example:

    curl 'http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/2?cacheStamp=3678_1489415607669' \
    -X DELETE
    
  • Response Example:

    HTTP/1.1 204 No Content
    Date: Mon, 13 Mar 2017 14:33:27 GMT
    


Update scaling group

  • Synopsis: PUT http://example.com/api/cloud/virtualdatacenters/\{virtualdatacenter}/virtualappliances/{virtualappliance}/scalinggroups/{scalinggroup}
  • Roles required: MANAGE_SCALING_GROUPS
  • Request headers: Content-Type: application/vnd.abiquo.scalinggroup+json;version=4.0, Accept: application/vnd.abiquo.scalinggroup+json;version=4.0
  • Request parameters:

    Parameter

    Required

    Default value

    Description

     

     

     

     

  • Request Message Body Entity: application/vnd.abiquo.scalinggroup+json
  • Response Message Body Entity: application/vnd.abiquo.scalinggroup+json
  • Request Example:
curl 'http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3?cacheStamp=3730_1489415711182' \
-X PUT \
 -H 'Content-Type: application/vnd.abiquo.scalinggroup+json;version=4.0' -H 'Accept: application/vnd.abiquo.scalinggroup+json;version=4.0' \
 --data-binary '{"links":[{"title":"vapp_vdc","rel":"virtualappliance","type":"application/vnd.abiquo.virtualappliance+json","href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1"},{"title":"ABQ_9678b66d-42aa-4285-92fc-1ac10f9e1827","rel":"mastervirtualmachine","type":"application/vnd.abiquo.virtualmachine+json","href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/3"},{"title":"ABQ_e4a2ca2f-e77b-470c-b36a-f9d211278314","rel":"virtualmachine","type":"application/vnd.abiquo.virtualmachine+json","href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/4"},{"title":"scaling-group-3","rel":"self","type":"application/vnd.abiquo.scalinggroup+json","href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3"},{"title":"endmaintenance","rel":"endmaintenance","type":"","href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3/action/endmaintenance"},{"title":"scaling-group-3","rel":"edit","type":"application/vnd.abiquo.scalinggroup+json","href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3"}],"name":"scaling-group-3","createdBy":"admin","defaultCooldownSeconds":60,"minSize":0,"maxSize":20,"keepInLayer":false,"disableWorkflow":false,"maintenanceMode":true,"scaleOutRules":[{"numberOfInstances":1},{"numberOfInstances":2,"startTime":1489536000000,"endTime":1489708800000}],"scaleInRules":[{"numberOfInstances":2,"cooldownSeconds":60},{"numberOfInstances":1,"startTime":1489449600000,"endTime":1489708800000}]}'
  • Response Example:

     Click here to expand...
    HTTP/1.1 200 OK
    Content-Type: application/vnd.abiquo.scalinggroup+json; version=4.0
    Transfer-Encoding: chunked
    Date: Mon, 13 Mar 2017 14:35:11 GMT
    {
       "links":[
          {
             "title":"vapp_vdc",
             "rel":"virtualappliance",
             "type":"application/vnd.abiquo.virtualappliance+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1"
          },
          {
             "title":"ABQ_9678b66d-42aa-4285-92fc-1ac10f9e1827",
             "rel":"mastervirtualmachine",
             "type":"application/vnd.abiquo.virtualmachine+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/3"
          },
          {
             "title":"ABQ_e4a2ca2f-e77b-470c-b36a-f9d211278314",
             "rel":"virtualmachine",
             "type":"application/vnd.abiquo.virtualmachine+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/4"
          },
          {
             "title":"scaling-group-3",
             "rel":"self",
             "type":"application/vnd.abiquo.scalinggroup+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3"
          },
          {
             "title":"endmaintenance",
             "rel":"endmaintenance",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3/action/endmaintenance"
          },
          {
             "title":"scaling-group-3",
             "rel":"edit",
             "type":"application/vnd.abiquo.scalinggroup+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/3"
          }
       ],
       "name":"scaling-group-3",
       "createdBy":"admin",
       "defaultCooldownSeconds":60,
       "minSize":0,
       "maxSize":20,
       "keepInLayer":false,
       "disableWorkflow":false,
       "maintenanceMode":true,
       "scaleOutRules":[
       ],
       "scaleInRules":[
       ]
    }
    

    Additional example

     Click here to expand...

    PUT_cld_vdcs_X_vapps_X_scalinggroups_X_CT_scalinggroup_j_AC_scalinggroup_j.0001.txt

    cURL:

    curl -X PUT http://localhost:9000/api/cloud/virtualdatacenters/1799/virtualappliances/810/scalinggroups/24 \ 
    	 -H 'Accept:application/vnd.abiquo.scalinggroup+json; version=4.2' \ 
    	 -H 'Content-Type:application/vnd.abiquo.scalinggroup+json; version=4.2' \ 
    	 -d @requestpayload.json \ 
    	 -u user:password --verbose 

    Success status code: 200

    Request payload:

    {
      "scaleInRules": [
        {
          "numberOfInstances": 2
        }, 
        {
          "endTime": 1512403018393, 
          "numberOfInstances": 1, 
          "startTime": 1512401218393
        }
      ], 
      "name": "7cf504ac-1b68-4364-accf-adf50a0e852b", 
      "links": [
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1799/virtualappliances/810/virtualmachines/838", 
          "rel": "mastervirtualmachine"
        }
      ], 
      "scaleOutRules": [
        {
          "numberOfInstances": 1
        }, 
        {
          "endTime": 1512403018393, 
          "numberOfInstances": 1, 
          "startTime": 1512401218393
        }
      ], 
      "minSize": 2, 
      "maxSize": 10, 
      "defaultCooldownSeconds": 116, 
      "disableWorkflow": false, 
      "keepInLayer": true
    }

    Response payload:

    {
      "scaleInRules": [], 
      "name": "7cf504ac-1b68-4364-accf-adf50a0e852b", 
      "links": [
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1799/virtualappliances/810", 
          "type": "application/vnd.abiquo.virtualappliance+json", 
          "rel": "virtualappliance", 
          "title": "1267"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1799/virtualappliances/810/virtualmachines/838", 
          "type": "application/vnd.abiquo.virtualmachine+json", 
          "rel": "mastervirtualmachine", 
          "title": "vmNotAllocated0.2668232905909861"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1799/virtualappliances/810/scalinggroups/24", 
          "type": "application/vnd.abiquo.scalinggroup+json", 
          "rel": "self", 
          "title": "7cf504ac-1b68-4364-accf-adf50a0e852b"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1799/virtualappliances/810/scalinggroups/24/action/endmaintenance", 
          "type": "", 
          "rel": "endmaintenance", 
          "title": "endmaintenance"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1799/virtualappliances/810/scalinggroups/24", 
          "type": "application/vnd.abiquo.scalinggroup+json", 
          "rel": "edit", 
          "title": "7cf504ac-1b68-4364-accf-adf50a0e852b"
        }
      ], 
      "scaleOutRules": [], 
      "minSize": 2, 
      "maxSize": 10, 
      "createdBy": "c1797b58-c16a-4712-8063-b0032f63dc28", 
      "defaultCooldownSeconds": 116, 
      "disableWorkflow": false, 
      "keepInLayer": true, 
      "maintenanceMode": true
    }


Start maintenance of scaling group

  • Synopsis: POST http://example.com/api/cloud/virtualdatacenters/\{virtualdatacenter}/virtualappliances/{virtualappliance}/scalinggroups/{scalinggroup}/action/startmaintenance
  • Roles required: MANAGE_SCALING_GROUPS
  • Request headers:
  • Request parameters:

    Parameter

    Required

    Default value

    Description

     

     

     

     

  • Request Message Body Entity:
  • Response Message Body Entity:
  • Request Example:

    curl 'http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/startmaintenance' -X POST
    
  • Response Example:

    HTTP/1.1 204 No Content
    Date: Mon, 13 Mar 2017 14:39:44 GMT
    


End maintenance of scaling group

  • Synopsis: POST http://example.com/api/cloud/virtualdatacenters/\{virtualdatacenter}/virtualappliances/{virtualappliance}/scalinggroups/{scalinggroup}/action/endmaintenance
  • Roles required: MANAGE_SCALING_GROUPS
  • Request headers:
  • Request parameters:

    Parameter

    Required

    Default value

    Description

     

     

     

     

  • Request Message Body Entity:
  • Response Message Body Entity:
  • Request Example:

    curl http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/endmaintenance -X POST
    
  • Response Example:

    HTTP/1.1 204 No Content
    Date: Mon, 13 Mar 2017 14:39:44 GMT
    


Scale out scaling group

  • Synopsis: POST http://example.com/api/cloud/virtualdatacenters/{virtualdatacenter}/virtualappliances/scalinggroups/{scalinggroup}/action/scaleout
  • Roles required: MANAGE_SCALING_GROUPS
  • Request headers: Accept: application/vnd.abiquo.scalinggroup+json;version=4.0
  • Request parameters:

    Parameter

    Required

    Default value

    Description

     

     

     

     

  • Request Message Body Entity:
  • Response Message Body Entity: application/vnd.abiquo.scalinggroup+json
  • Request Example:

    curl http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/scaleout \
    -X POST \
    -H 'Accept: application/vnd.abiquo.scalinggroup+json;version=4.0'
    
  • Response Example:

     Click here to expand...
    HTTP/1.1 201 Created
    Content-Type: application/vnd.abiquo.scalinggroup+json; version=4.0
    Transfer-Encoding: chunked
    Date: Mon, 13 Mar 2017 15:01:58 GMT
    {
       "links":[
          {
             "title":"vapp_vdc",
             "rel":"virtualappliance",
             "type":"application/vnd.abiquo.virtualappliance+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1"
          },
          {
             "title":"ABQ_32579c7f-d302-45a8-a3af-5f95b3e72bfa",
             "rel":"mastervirtualmachine",
             "type":"application/vnd.abiquo.virtualmachine+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/1"
          },
          {
             "title":"ABQ_bc9efdf6-d787-49d2-9f44-071793c231ee",
             "rel":"virtualmachine",
             "type":"application/vnd.abiquo.virtualmachine+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/5"
          },
          {
             "title":"ABQ_b67f5971-1beb-4ef5-a112-d577c3ee76a2",
             "rel":"virtualmachine",
             "type":"application/vnd.abiquo.virtualmachine+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/6"
          },
          {
             "title":"scaling-group-0",
             "rel":"self",
             "type":"application/vnd.abiquo.scalinggroup+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1"
          },
          {
             "title":"startmaintenance",
             "rel":"startmaintenance",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/startmaintenance"
          },
          {
             "title":"scaleout",
             "rel":"scaleout",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/scaleout"
          },
          {
             "title":"scalein",
             "rel":"scalein",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/scalein"
          }
       ],
       "name":"scaling-group-0",
       "createdBy":"admin",
       "defaultCooldownSeconds":120,
       "minSize":0,
       "maxSize":10,
       "keepInLayer":false,
       "disableWorkflow":false,
       "maintenanceMode":false,
       "lastScaleActivityTime":1489417310000,
       "scaleOutRules":[
          {
             "numberOfInstances":2
          },
          {
             "numberOfInstances":1,
             "cooldownSeconds":30,
             "startTime":1488931200000,
             "endTime":1489017600000
          }
       ],
       "scaleInRules":[
          {
             "numberOfInstances":1
          }
       ]
    }
    

    Additional Example

     Click here to expand...

    POST_cld_vdcs_X_vapps_X_scalinggroups_X_act_scaleout_AC_scalinggroup_j.0001.txt

    cURL:

    curl -X POST http://localhost:9000/api/cloud/virtualdatacenters/1797/virtualappliances/808/scalinggroups/22/action/scaleout \ 
    	 -H 'Accept:application/vnd.abiquo.scalinggroup+json; version=4.2' \ 
    	 -u user:password --verbose 

    Success status code: 201

    Request payload:

    --none--

    Response payload:

    {
      "scaleInRules": [
        {
          "numberOfInstances": 3
        }, 
        {
          "endTime": 1512403017000, 
          "numberOfInstances": 3, 
          "startTime": 1512401217000
        }, 
        {
          "endTime": 1512406617000, 
          "numberOfInstances": 1, 
          "startTime": 1512404817000
        }
      ], 
      "name": "c7d04547-2ec4-46d8-a921-f943591d99a0", 
      "links": [
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1797/virtualappliances/808", 
          "type": "application/vnd.abiquo.virtualappliance+json", 
          "rel": "virtualappliance", 
          "title": "1147"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1797/virtualappliances/808/virtualmachines/834", 
          "type": "application/vnd.abiquo.virtualmachine+json", 
          "rel": "mastervirtualmachine", 
          "title": "vmNotAllocated0.7721084483541697"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1797/virtualappliances/808/virtualmachines/835", 
          "type": "application/vnd.abiquo.virtualmachine+json", 
          "rel": "virtualmachine", 
          "title": "ABQ_23eb05d9-369c-4bb1-8cd3-d56e8d23bf33"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1797/virtualappliances/808/virtualmachines/836", 
          "type": "application/vnd.abiquo.virtualmachine+json", 
          "rel": "virtualmachine", 
          "title": "ABQ_4e5f41ae-53de-4d2d-abb1-7a753165c4e4"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1797/virtualappliances/808/scalinggroups/22", 
          "type": "application/vnd.abiquo.scalinggroup+json", 
          "rel": "self", 
          "title": "c7d04547-2ec4-46d8-a921-f943591d99a0"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1797/virtualappliances/808/scalinggroups/22/action/startmaintenance", 
          "type": "", 
          "rel": "startmaintenance", 
          "title": "startmaintenance"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1797/virtualappliances/808/scalinggroups/22/action/scaleout", 
          "type": "", 
          "rel": "scaleout", 
          "title": "scaleout"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1797/virtualappliances/808/scalinggroups/22/action/scalein", 
          "type": "", 
          "rel": "scalein", 
          "title": "scalein"
        }
      ], 
      "scaleOutRules": [
        {
          "numberOfInstances": 3
        }
      ], 
      "minSize": 0, 
      "maxSize": 2, 
      "createdBy": "e67de4f5-fe36-4ac2-8091-c416d27f1aa4", 
      "defaultCooldownSeconds": 16, 
      "maintenanceMode": false, 
      "disableWorkflow": false, 
      "keepInLayer": true, 
      "lastScaleActivityTime": 1512487617809
    }


Scale in scaling group

  • Synopsis: POST http://example.com/api/cloud/virtualdatacenters/{virtualdatacenter}/virtualappliances/{virtualappliance}/scalinggroups/{scalinggroup}/action/scalein
  • Roles required: MANAGE_SCALING_GROUPS
  • Request headers: Accept: application/vnd.abiquo.scalinggroup+json;version=4.0
  • Request parameters:

    Parameter

    Required

    Default value

    Description

     

     

     

     

  • Request Message Body Entity:
  • Response Message Body Entity: application/vnd.abiquo.scalinggroup+json
  • Request Example:

    curl http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/scalein \
    -X POST \
    -H 'Accept: application/vnd.abiquo.scalinggroup+json;version=4.0'
    
  • Response Example:

     Click here to expand...
     HTTP/1.1 201 Created
    Content-Type: application/vnd.abiquo.scalinggroup+json; version=4.0
    Transfer-Encoding: chunked
    Date: Mon, 13 Mar 2017 15:04:09 GMT
    {
       "links":[
          {
             "title":"vapp_vdc",
             "rel":"virtualappliance",
             "type":"application/vnd.abiquo.virtualappliance+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1"
          },
          {
             "title":"ABQ_32579c7f-d302-45a8-a3af-5f95b3e72bfa",
             "rel":"mastervirtualmachine",
             "type":"application/vnd.abiquo.virtualmachine+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/1"
          },
          {
             "title":"ABQ_bc9efdf6-d787-49d2-9f44-071793c231ee",
             "rel":"virtualmachine",
             "type":"application/vnd.abiquo.virtualmachine+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/5"
          },
          {
             "title":"ABQ_b67f5971-1beb-4ef5-a112-d577c3ee76a2",
             "rel":"virtualmachine",
             "type":"application/vnd.abiquo.virtualmachine+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/6"
          },
          {
             "title":"scaling-group-0",
             "rel":"self",
             "type":"application/vnd.abiquo.scalinggroup+json",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1"
          },
          {
             "title":"startmaintenance",
             "rel":"startmaintenance",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/startmaintenance"
          },
          {
             "title":"scaleout",
             "rel":"scaleout",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/scaleout"
          },
          {
             "title":"scalein",
             "rel":"scalein",
             "type":"",
             "href":"http://example.com/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups/1/action/scalein"
          }
       ],
       "name":"scaling-group-0",
       "createdBy":"admin",
       "defaultCooldownSeconds":120,
       "minSize":0,
       "maxSize":10,
       "keepInLayer":false,
       "disableWorkflow":false,
       "maintenanceMode":false,
       "lastScaleActivityTime":1489417449517,
       "scaleOutRules":[
          {
             "numberOfInstances":2
          },
          {
             "numberOfInstances":1,
             "cooldownSeconds":30,
             "startTime":1488931200000,
             "endTime":1489017600000
          }
       ],
       "scaleInRules":[
          {
             "numberOfInstances":1
          }
       ]
    }
    

    Additional example

     Click here to expand...

    POST_cld_vdcs_X_vapps_X_scalinggroups_X_act_scalein_AC_scalinggroup_j.0001.txt

    cURL:

    curl -X POST http://localhost:9000/api/cloud/virtualdatacenters/1795/virtualappliances/806/scalinggroups/20/action/scalein \ 
    	 -H 'Accept:application/vnd.abiquo.scalinggroup+json; version=4.2' \ 
    	 -u user:password --verbose 

    Success status code: 201

    Request payload:

    --none--

    Response payload:

    {
      "scaleInRules": [
        {
          "numberOfInstances": 2
        }
      ], 
      "name": "d694a929-f391-45da-aacc-4ca13843be82", 
      "links": [
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1795/virtualappliances/806", 
          "type": "application/vnd.abiquo.virtualappliance+json", 
          "rel": "virtualappliance", 
          "title": "1012"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1795/virtualappliances/806/virtualmachines/829", 
          "type": "application/vnd.abiquo.virtualmachine+json", 
          "rel": "mastervirtualmachine", 
          "title": "vmNotAllocated0.9821342776425678"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1795/virtualappliances/806/virtualmachines/830", 
          "type": "application/vnd.abiquo.virtualmachine+json", 
          "rel": "virtualmachine", 
          "title": "28345860-b7e3-4ef2-890d-73e765d26330"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1795/virtualappliances/806/virtualmachines/831", 
          "type": "application/vnd.abiquo.virtualmachine+json", 
          "rel": "virtualmachine", 
          "title": "d737b02c-aa29-4b25-a582-859d7dc521ed"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1795/virtualappliances/806/virtualmachines/832", 
          "type": "application/vnd.abiquo.virtualmachine+json", 
          "rel": "virtualmachine", 
          "title": "3b54fa43-da9e-4aa6-9bdc-4050217f1567"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1795/virtualappliances/806/scalinggroups/20", 
          "type": "application/vnd.abiquo.scalinggroup+json", 
          "rel": "self", 
          "title": "d694a929-f391-45da-aacc-4ca13843be82"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1795/virtualappliances/806/scalinggroups/20/action/startmaintenance", 
          "type": "", 
          "rel": "startmaintenance", 
          "title": "startmaintenance"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1795/virtualappliances/806/scalinggroups/20/action/scaleout", 
          "type": "", 
          "rel": "scaleout", 
          "title": "scaleout"
        }, 
        {
          "href": "http://localhost:9009/api/cloud/virtualdatacenters/1795/virtualappliances/806/scalinggroups/20/action/scalein", 
          "type": "", 
          "rel": "scalein", 
          "title": "scalein"
        }
      ], 
      "scaleOutRules": [
        {
          "numberOfInstances": 3
        }, 
        {
          "endTime": 1512403015000, 
          "numberOfInstances": 3, 
          "startTime": 1512401215000
        }, 
        {
          "endTime": 1512406615000, 
          "numberOfInstances": 1, 
          "startTime": 1512404815000
        }
      ], 
      "minSize": 0, 
      "maxSize": 3, 
      "createdBy": "9c3bc6aa-769a-4c97-bbfa-d36803d5ac3e", 
      "defaultCooldownSeconds": 7, 
      "maintenanceMode": false, 
      "disableWorkflow": false, 
      "keepInLayer": true, 
      "lastScaleActivityTime": 1512487616343
    }

  • No labels