fix bug for failure in creating ns vl to aai 24/93024/1
authorhongyuzhao <zhao.hongyu@zte.com.cn>
Thu, 8 Aug 2019 08:57:20 +0000 (16:57 +0800)
committerhongyuzhao <zhao.hongyu@zte.com.cn>
Thu, 8 Aug 2019 09:00:31 +0000 (17:00 +0800)
Change-Id: Ie9c10bc6c194aff6ae3f83ca8d2291fa2fb93fc4
Issue-ID: VFC-1482
Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
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": [
                         {