Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-756

Ability to pass any property via Partition definition

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0 RC3
    • Component/s: Cloud Controller
    • Labels:
      None

      Description

      It's vital to be able to pass any additional property via a Partition configuration and able to configure an IaaS provider dynamically. These additional properties would not be validated.

      One such use case is to provide a VPC subnet id in AWS EC2 via a Partition configuration. In VPC subnet id case, they are dependent on the availability zone. With this improvement you can define a Partition per an availability zone and pass the subnet id too along with it.

      {
      "id": "P1",
      "provider": "ec2",
      "property": [

      { "name": "region", "value": "REGION" }

      ,

      { "name": "zone", "value": "AVAILABILITY_ZONE" }

      ,

      { "name": "subnetId", "value": "SUBNET_ID" }

      ]
      }

      Another use case would be to pass a docker host machine endpoint url via a Partition definition.

        Activity

        Hide
        nirmal Nirmal Fernando added a comment -

        Fix committed in 3d3db936afd9439c3956dfbd4683e63e53604164

        Show
        nirmal Nirmal Fernando added a comment - Fix committed in 3d3db936afd9439c3956dfbd4683e63e53604164

          People

          • Assignee:
            nirmal Nirmal Fernando
            Reporter:
            nirmal Nirmal Fernando
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development