Create loadbalancer does not include vip_address and provider in the request parameter table.(LBaaS V2)

Bug #1501536 reported by Banashankar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Undecided
Atsushi SAKAI

Bug Description

vip_address and provider, optional parameters are missed from the request parameter table. Documentation only mentions about name, description , vip_subnet_id and tenant_id.

Input:
{
    "loadbalancer": {
        "name": "loadbalancer1",
        "description": "simple lb",
        "tenant_id": "7b6d21ded3df49828c4b64fb05b6a162",
        "vip_address": "10.0.0.14",
        "admin_state_up": true,
        "provider" : "octavia",
        "vip_subnet_id":"ae7d5ed2-732d-483d-94e8-40fbb5bb8ea0"
    }
}

Output:
{
    "loadbalancer": {
        "description": "simple lb",
        "admin_state_up": true,
        "tenant_id": "7b6d21ded3df49828c4b64fb05b6a162",
        "provisioning_status": "PENDING_CREATE",
        "listeners": [],
        "vip_address": "10.0.0.13",
        "vip_port_id": "01fc3b8c-6eb3-43d2-82ba-e55aa82f6ff8",
        "provider": "octavia",
        "vip_subnet_id": "ae7d5ed2-732d-483d-94e8-40fbb5bb8ea0",
        "id": "26a08f90-6028-4c68-a9c6-678f3bd30c1a",
        "operating_status": "OFFLINE",
        "name": "loadbalancer1"
    }
}

Please note provider in all of the output.

Tags: neutron
Banashankar (bkalebe)
tags: added: neutron
Banashankar (bkalebe)
description: updated
summary: - Create loadbalancer does not include vip_address in the request
- parameter table
+ Create loadbalancer does not include vip_address and provider in the
+ request parameter table
Banashankar (bkalebe)
description: updated
Revision history for this message
Atsushi SAKAI (sakaia) wrote : Re: Create loadbalancer does not include vip_address and provider in the request parameter table

Thank you for your report.
Would you point the documentation URL?

Revision history for this message
Banashankar (bkalebe) wrote :
description: updated
Banashankar (bkalebe)
summary: Create loadbalancer does not include vip_address and provider in the
- request parameter table
+ request parameter table.(LBaaS V2)
Revision history for this message
Atsushi SAKAI (sakaia) wrote :

Thank you. It is better to point more specific.
The left side chain in API description has following link.
http://developer.openstack.org/api-ref-networking-v2-ext.html#createLoadBalancer

Changed in openstack-api-site:
status: New → Confirmed
Atsushi SAKAI (sakaia)
Changed in openstack-api-site:
assignee: nobody → Atsushi SAKAI (sakaia)
Revision history for this message
Atsushi SAKAI (sakaia) wrote :
Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/230420
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=8f4ddc58d07793aafc7784dff7c15013a6c1d2e5
Submitter: Jenkins
Branch: master

commit 8f4ddc58d07793aafc7784dff7c15013a6c1d2e5
Author: Atsushi SAKAI <email address hidden>
Date: Fri Oct 2 21:16:33 2015 +0900

    Fix LBaaSv2 create parameter description

      Change attribute:vip_subnet_id is forced (not optional)
      Add attribute: vip_address/provider
      Fix/Add listiener supported protocol
         add TERMINATED_HTTPS remove UDP
      Fix listener parameter
         loadbalancer_id is required
         default_tls_container_ref and sni_container_refs
            are required for TERMINATED_HTTPS only
            and both are optional (keep nothing changed).

    (df) Minor edits for clarity.

    Change-Id: I630345dd950f17ab256029e1a4beb4ac37a813e1
    Closes-Bug: #1501448
    Closes-Bug: #1501536
    Closes-Bug: #1501542
    Closes-Bug: #1501548

Changed in openstack-api-site:
status: In Progress → Fix Released
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.