Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: If Service Offering Flag is OFF, non-dedicated (shared) resources will be used.

API Changes:

Following new APIs will be added:

  • Dedicating Resources to an account/domain
    • dedicatePod
    • dedicateCluster
    • dedicateHost

      These are new APIs to dedicate a pod/cluster/host for an account/domain.

      Parameters include:
       a)    PodId/ClusterId/HostId
       b)    DomainId
       c)    AccountId

  • Updating dedication of resources (removing dedication) 
    • updateDedicatedPod
    • updateDedicatedCluster
    • updateDedicatedHost

      These are new APIs to update the dedicated pod/cluster/host for an account/domain.

       Parameters include:
       a)    PodId/ClusterId/HostId
       b)    isPublic (if true, dedication is removed)

  • Listing Dedicated resources per account/domain
    • listDedicatedPods
    • listDedicatedClusters
    • listDedicatedHosts

     These are new APIs to list dedicated pods/clusters/hosts for an account/domain.

     Parameters include:
       a)    PodId/ClusterId/HostId
       b)    DomainId
       c)    AccountId

Existing API modification:

  • createServiceOffering:  Request Parameter Addition:

Parameter Name

Description

Required

isdedicated

 if trueInstance will be deployed on the host dedicated to the account 

false

DB Changes:

...

  1. New Table : dedicated_resources (id, uuid, zone_id, pod_id, cluster_id, host_id, domain_id, account_id)
       || Field || Type || Null || Key || Default || Extra ||

    id

    bigint(20) unsigned

    NO

    PRI

    NULL

    auto_increment

    uuid

    varchar(40)

    YES

    UNI

    NULL

     

    data_center_id

    bigint(20) unsigned

    NO

    MUL

    NULL

     

    pod_id

    bigint(20) unsigned

    NO

    MUL

    NULL

     

    cluster_id

    bigint(20) unsigned

    NO

    MUL

    NULL

     

    host_id

    bigint(20) unsigned

    NO

    MUL

    NULL

     

    domain_id

    bigint(20) unsigned

    YES

    MUL

    NULL

     

    account_id

    bigint(20) unsigned

    YES

    MUL

    NULL

     

  2. service_offering table: Introduce a column “isdedicated” in  service_offering table. Default value should be 0.

...