From b5a195ecc4964f2fc3213c919d3b818542a18dd9 Mon Sep 17 00:00:00 2001
From: Gary Kotton <gkotton@vmware.com>
Date: Mon, 12 Mar 2018 16:26:46 +0200
Subject: [PATCH] NSX|V3: ensure that description is not None

Commit a96d83ece64d1ab662be8ee62eca15c3e3ab4c19 set the internal
security group description to be None. This should be a string.

Change-Id: Ia4b1e0cea3f4e1493e41bf1e97bcf3016e389bf9
---
 vmware_nsx/plugins/nsx_v3/plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vmware_nsx/plugins/nsx_v3/plugin.py b/vmware_nsx/plugins/nsx_v3/plugin.py
index f4f0eda608..f15fd80eec 100644
--- a/vmware_nsx/plugins/nsx_v3/plugin.py
+++ b/vmware_nsx/plugins/nsx_v3/plugin.py
@@ -338,7 +338,7 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
                          {'id': NSX_V3_OS_DFW_UUID,
                           'tenant_id': nsx_constants.INTERNAL_V3_TENANT_ID,
                           'name': 'NSX Internal',
-                          'description': None}}
+                          'description': ''}}
             try:
                 # ensure that the global default is created
                 super(NsxV3Plugin, self).create_security_group(