Generated code has property values swapped

Bug #1603539 reported by Ranjeet R
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Ranjeet R

Bug Description

In the generated code, the property fields values are swapped.

For example,
'operations' has description and 'required' field has CRUD as value.

For example,
QosConfig object has

'qos_config_type': {'operations': 'Specifies if qos-config is for vhost, fabric or for project.', 'restrictions': [u'vhost', u'fabric', u'project'], 'description': [], 'simple_type': u'QosConfigType', 'required': 'CRUD', 'xsd_type': u'string', 'is_complex': False},

Notice operations, required and description field swapped in values.

Tags: config
Ranjeet R (rranjeet-n)
Changed in juniperopenstack:
assignee: Praneet Bachheti (praneetb) → Ranjeet R (rranjeet-n)
Jeba Paulaiyan (jebap)
Changed in juniperopenstack:
milestone: r3.1.0.0-fcs → none
Revision history for this message
Ashish Ranjan (aranjan-n) wrote :

This affects documentation only. We can skip for 3.1.0. --Sachin

no longer affects: juniperopenstack/r3.1
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/25137
Submitter: Ranjeet R (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/25137
Committed: http://github.org/Juniper/contrail-controller/commit/91202ba2d70eb703546a9012f24c6bddc8eadfcb
Submitter: Zuul
Branch: master

commit 91202ba2d70eb703546a9012f24c6bddc8eadfcb
Author: Ranjeet R <email address hidden>
Date: Fri Oct 21 08:37:35 2016 -0700

Fixes: Generated code has property values swapped

The format for ifmap metadata in the xsd file does not have
the "required/optional" field populated for two objects.

Change-Id: Ib8e56157b8f995c4c40c66f694b90018d1a35c4c
Closes-Bug: 1603539

Jeba Paulaiyan (jebap)
no longer affects: juniperopenstack/r3.2
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.