Fix dvs_driver.py and network_utils.py

Bug #1487846 reported by Romil Gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-vsphere
Fix Committed
Undecided
Romil Gupta

Bug Description

There is typo error in log.info statement :

it should be:

- LOG.info(_("Fetching VLAN id for port group with key %(pg)s."), pg_id)
+ LOG.info(_("Fetching VLAN id for port group with key %s."), pg_id)

Also, VMware mob object doesn't have 'vlan_id' we should use 'vlan' to get the port group vlan id.

- vlan_id = pconfig["vlan_id"]["vlanId"]
+ vlan_id = pconfig["vlan"]["vlanId"]

Romil Gupta (romilg)
Changed in networking-vsphere:
assignee: nobody → Romil Gupta (romilg)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (master)

Reviewed: https://review.openstack.org/216019
Committed: https://git.openstack.org/cgit/openstack/networking-vsphere/commit/?id=2809fd03301b5a6ffa8dc566e13e3a6709e3f807
Submitter: Jenkins
Branch: master

commit 2809fd03301b5a6ffa8dc566e13e3a6709e3f807
Author: Romil Gupta <email address hidden>
Date: Sun Aug 23 03:47:42 2015 -0700

    Fix dvs_driver.py and network_util.py

    Change-Id: Id51b506168669623a5cade3f38d531a526a73a55
    Closes-Bug: 1487846

Changed in networking-vsphere:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-vsphere (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/216989

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (stable/kilo)

Reviewed: https://review.openstack.org/216989
Committed: https://git.openstack.org/cgit/openstack/networking-vsphere/commit/?id=9c07cc22d07406a65fc74134842e51fde29d372c
Submitter: Jenkins
Branch: stable/kilo

commit 9c07cc22d07406a65fc74134842e51fde29d372c
Author: Romil Gupta <email address hidden>
Date: Sun Aug 23 03:47:42 2015 -0700

    Fix dvs_driver.py and network_util.py

    (cherry picked from commit 2809fd03301b5a6ffa8dc566e13e3a6709e3f807)

    Change-Id: Id51b506168669623a5cade3f38d531a526a73a55
    Closes-Bug: 1487846

tags: added: in-stable-kilo
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.