fix bug for failure in creating ns vl to aai
[vfc/nfvo/lcm.git] / lcm / ns_vls / biz / create_vls.py
index c886854..c087892 100644 (file)
@@ -214,14 +214,14 @@ class CreateVls(object):
                 "is-provider-network": True,
                 "is-shared-network": True,
                 "is-external-network": True,
-                "subnets": {
-                    "subnet": [
-                        {
-                            "subnet-id": self.related_subnetwork_id,
-                            "dhcp-enabled": False
-                        }
-                    ]
-                },
+                "subnets": {
+                    "subnet": [
+                        {
+                            "subnet-id": self.related_subnetwork_id,
+                            "dhcp-enabled": False
+                        }
+                    ]
+                },
                 "relationship-list": {
                     "relationship": [
                         {