From 5e01331ccbb45ac95002c371af580e0e504fc71f Mon Sep 17 00:00:00 2001 From: Divakar Date: Fri, 29 Jul 2016 21:58:17 +0530 Subject: [PATCH] Retrieve provider properties while reading VN When neutron port is created in an SRIOV VN, if port type is direct, the VN needs to have provider information. While retrieving the VN from Casandra, the provider properties are not retrieved. This is reslting in error while creating neutron port. Change-Id: I54b44ed69f28adb075dfd65e84aa3fb44c57e972 closes-bug: #1606370 --- src/config/api-server/vnc_cfg_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/api-server/vnc_cfg_types.py b/src/config/api-server/vnc_cfg_types.py index 351dd482825..bf992a8a0dd 100644 --- a/src/config/api-server/vnc_cfg_types.py +++ b/src/config/api-server/vnc_cfg_types.py @@ -691,7 +691,7 @@ def pre_dbe_create(cls, tenant_name, obj_dict, db_conn): vn_uuid = db_conn.fq_name_to_uuid('virtual_network', vn_fq_name) ok, result = cls.dbe_read(db_conn, 'virtual_network', vn_uuid, - obj_fields=['parent_uuid']) + obj_fields=['parent_uuid', 'provider_properties']) if not ok: return ok, result