Merge "fix API inconsistency in ext VLs"
authormaopeng zhang <zhang.maopeng1@zte.com.cn>
Fri, 9 Feb 2018 14:31:22 +0000 (14:31 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 9 Feb 2018 14:31:22 +0000 (14:31 +0000)
lcm/swagger/vfc.vnfdriver.swagger.json

index 52f94c5..fc35adb 100644 (file)
     "extVirtualLinkInfo":{
         "type": "object",
         "properties": {
+          "resourceSubnetId": {
+            "type": "string",
+            "description": "The provider id of the subnet"
+          },
           "vlInstanceId": {
-            "type": "string"
+            "type": "string",
+            "description" : "The identifier of the virtual link"
           },
-          "networkId": {
-            "type": "string"
+          "resourceId": {
+            "type": "string",
+            "description": "The provider id of the network"
           },
           "cpdId": {
-            "type": "string"
+            "type": "string",
+            "description": "The identifier of the connection point descriptor"
           },
           "vim": {
-            "$ref": "#/definitions/vimInfo"
+            "type": "object",
+            "properties": {
+               "vimid": {
+                  "type": "string",
+                  "description": "The identifier of the VIM"
+               }
+            }
           }
         }
     },