Change output of GetCapabilitiesAction

Bug #1607423 reported by Jeff Peeler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo-common
Fix Released
Undecided
Unassigned

Bug Description

Was told the GUI needs additional structure to the output. Will update with a specific desired format before starting.

Revision history for this message
Jeff Peeler (jpeeler-z) wrote :

Well actually, already started this here:

https://paste.fedoraproject.org/396605/65843114/

(Should follow up with a specific format here since the above paste will probably expire.)

Revision history for this message
Jiri Tomasek (jtomasek) wrote :

This is the expected topics format that GUI currently expects: http://paste.openstack.org/show/543303/

so I think it matches what you specify on line 54 in the paste ^^^

Revision history for this message
Jeff Peeler (jpeeler-z) wrote :
Download full text (9.0 KiB)

Paste 543303:

{
  "Basic Configuration": {
    "description": null,
    "environment_groups": [
      {
        "description": "Enable basic configuration required for OpenStack Deployment",
        "environments": [
          {
            "description": null,
            "enabled": true,
            "file": "overcloud-resource-registry-puppet.yaml",
            "title": "Default Configuration"
          }
        ],
        "title": null
      }
    ],
    "title": "Basic Configuration"
  },
  "Deployment options": {
    "description": null,
    "environment_groups": [
      {
        "description": "Enables configuration of an Overcloud controller with Pacemaker",
        "environments": [
          {
            "description": "Enable configuration of an Overcloud controller with Pacemaker",
            "enabled": false,
            "file": "environments/puppet-pacemaker.yaml",
            "requires": [
              "overcloud-resource-registry-puppet.yaml"
            ],
            "title": "Pacemaker"
          }
        ],
        "title": "High Availability"
      },
      {
        "description": "Docker container with heat agents for containerized compute node\n",
        "environments": [
          {
            "description": null,
            "enabled": false,
            "file": "environments/docker.yaml",
            "requires": [
              "overcloud-resource-registry-puppet.yaml"
            ],
            "title": "Docker RDO"
          }
        ],
        "title": "Docker RDO"
      }
    ],
    "title": "Deployment options"
  },
  "Overlay network Configuration": {
    "description": null,
    "environment_groups": [
      {
        "description": "Enable the creation of Neutron networks for isolated Overcloud traffic and configure each role to assign ports (related to that role) on these networks.\n",
        "environments": [
          {
            "description": "Enable Network Isolation",
            "enabled": false,
            "file": "environments/network-isolation.yaml",
            "requires": [
              "overcloud-resource-registry-puppet.yaml"
            ],
            "title": "Network Isolation"
          }
        ],
        "title": "Network Isolation"
      },
      {
        "description": "Configure roles to use pair of bonded nics or to use Vlans on a single nic. This option assumes use of Network Isolation.\n",
        "environments": [
          {
            "description": "Configure each role to use a pair of bonded nics (nic2 and nic3) and configures an IP address on each relevant isolated network for each role. This option assumes use of Network Isolation.\n",
            "enabled": false,
            "file": "environments/net-bond-with-vlans.yaml",
            "requires": [
              "environments/network-isolation.yaml",
              "overcloud-resource-registry-puppet.yaml"
            ],
            "title": "Bond with Vlans"
          },
          {
            "description": "Configure each role to use Vlans on a single nic for each isolated network. This option assumes use of Network Isolation.\n",
            "enabled": false,
            "file": "environments/net-singl...

Read more...

Revision history for this message
Jeff Peeler (jpeeler-z) wrote :
Changed in tripleo-common:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/348537
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=07435ec26195421ee58365dd279b49b03707ac60
Submitter: Jenkins
Branch: master

commit 07435ec26195421ee58365dd279b49b03707ac60
Author: Jeff Peeler <email address hidden>
Date: Fri Jul 29 12:30:59 2016 -0400

    Change output for GetCapabilitiesAction

    The desired format was not correct, so this changes it to be JSON with
    structure very similar to the capabilities map.

    Change-Id: I090791d381e228fb61a0c632865463357f5986e8
    Closes-bug: #1607423

Changed in tripleo-common:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 5.0.0

This issue was fixed in the openstack/tripleo-common 5.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.